Monday, March 28, 2011

Re: Length of session_id()

On Mar 28, 2011, at 01:30, Simon Males wrote:

> I'm wondering what the maximum length of session_id() can be.
>
> The maximum length in my DB is 32 characters, and thus I feel a
> VARCHAR column of 255 is overkill.
>
> http://au2.php.net/session_id
> http://api.cakephp.org/view_source/cake-session/#l-251

The length would vary depending on what you set for session.hash_function and session.hash_bits_per_character in php.ini.


--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: