[PHP] how much data can a session store?

2001-04-09 Thread Tobias Talltorp

Just a quick question...

How much data can a session store?
The reason I´m asking is that I have developed a news system and want a
"preview"-thingy and for this I want to store the data in a session. The
main-content can be very large.

Thanks,
// Tobias



-- 
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 much data can a session store?

2001-04-09 Thread Yasuo Ohgaki
It depends how you are going to store session data what you have.

Assuming  you have large enough H/W.

If you are using 'file', you probably could store up to file size max on your
OS.
If you are using 'mm', relatively small amount of data will be able to stored.
It's depends on how much shared memory can allocate. It's OS dependent.
If you are using 'user', depends on your custom session handler and underlying
storage.

If you have large session data, it would slows things down even with relatively
small number of active users unless you do something. (Session data is read and
written whenever user access pages)

Regards,
--
Yasuo Ohgaki


""Tobias Talltorp"" [EMAIL PROTECTED] wrote in message
9as098$lup$[EMAIL PROTECTED]">news:9as098$lup$[EMAIL PROTECTED]...
 Just a quick question...

 How much data can a session store?
 The reason I$B%((Bm asking is that I have developed a news system and want a
 "preview"-thingy and for this I want to store the data in a session. The
 main-content can be very large.

 Thanks,
 // Tobias



 --
 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 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]