RE: [PHP] Session filesize limit
| From: | Hardik Doshi | Date: | Wed, 18 Jun 2003 13:58:53 +0000 |
| Subject: | RE: [PHP] Session filesize limit | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-151982@lists.php.net to get a copy of this message | ||
Hi Jay,
Thanks for your quick reply. I am storing the session
file on the server.
Once user logs into the system, i am storing username
and his/her roles (status) in the session files and on
each page request i am retrieving the information from
the session files. Now i need to add some more
functionality in the system and for that i need to add
some more information in the session files. So i was
just worrying about the size of these files.
Anyway let me know if i am wrong or if you have any
suggestions.
Thanks again.
Hardik Doshi
--- Jay Blanchard
<jay.blanchard@niicommunications.com> wrote:
> [snip]
> Does anyone know about the ideal session filesize
> limit? I am using the
> common functionality in the
> entire application. So i am thinking to store data
> into the session file
> once user logs into the system
> rather retrieving the information from database on
> each user request.
> But i dont know what should be the
> filesize limit. I am just trying to save database
> calls on each request.
> If anyone has other suggestions
> then please let me know.
> [/snip]
>
> If you are storing session information on your
> system then you have to
> determine what the limit is for the filesize. If
> you're storing session
> information on the user's system the filesize limit
> is 4k...and it is
> called a cookie.
>
> HTH!
>
> Jay
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com