RE: [PHP] session variables
| From: | John W. Holmes | Date: | Thu, 13 Mar 2003 10:21:53 +0000 |
| Subject: | RE: [PHP] session variables | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-139476@lists.php.net to get a copy of this message | ||
> Is it wise or wrong to put long strings into a session variable ? Is
it
> better to keep the values short ?
The more data you put into your session, the more data that has to be
read and written to a file on your server each time someone accesses a
page. More data is going to slow things down.
If it's your only option, then use it.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/