[PHP] how many data can a session hold?

2001-10-25 Thread Christian Dechery

I want to know how many data can a session (treated as cookie) can hold...

The number of bytes... and if possible the max size of an - let's say - 
array of ints. I need this to know how many IDs I can hold in the session...

_
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://www.webstyle.com.br
. . http://www.tanamesa.com.br


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] how many data can a session hold?

2001-10-25 Thread Duncan Hill

On Thu, 25 Oct 2001, Christian Dechery wrote:

 I want to know how many data can a session (treated as cookie) can
 hold...

If you're using cookies, the limit is the cookie spec.  I /think/ 4096
bytes for a cookie.  Go find the spec to be sure.

-- 

Sapere aude
My mind not only wanders, it sometimes leaves completely.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] how many data can a session hold?

2001-10-25 Thread Christian Reiniger

On Thursday 25 October 2001 13:25, Christian Dechery wrote:
 I want to know how many data can a session (treated as cookie) can
 hold...

 The number of bytes... and if possible the max size of an - let's say -
 array of ints. I need this to know how many IDs I can hold in the
 session...

Note: You should only store the session ID in the cookie and use this as 
a reference to the real data located e.g. in a database.

-- 
Christian Reiniger
LGDC Webmaster (http://lgdc.sunsite.dk/)

...to paraphrase Churchill, while representative  democracy may be
terrible, it's still the best system that large corporations can buy.

- David Weinberger JOHO January 25, 2000

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] how many data can a session hold?

2001-10-23 Thread Christian Dechery

I want to know how many data can a session hold?

The number of bytes... and if possible the max size of an - let's say - 
array of ints. I need this to know how many IDs I can hold in the session...

_
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://www.webstyle.com.br
. . http://www.tanamesa.com.br


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]