Re: A quickie - field size of php session id
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: A quickie - field size of php session id

From: Mladen Gogala <gogala@sbcglobal.net>
Date: Sat Sep 03 2005 - 04:59:34 CEST

On Fri, 02 Sep 2005 22:22:27 +0000, toedipper wrote:

> Hello,
>
> What field size should I use to record a session id in a db?
>
> I use session_id() to generate it but I've noticed ones of different
> sizes (character lengths) when testing.
>
> Is there is min / max size?
>
> Thanks,
>
> td.
>
> www.pocketpcheaven.com

I use PHPSESSID VARCHAR2(2048). I never had any problems.

-- 
http://www.mgogala.com
Received on Tue Oct 18 02:18:06 2005