Re: doubt - session file size
| From: | Jochem Maas | Date: | Thu, 20 Jul 2006 15:58:06 +0000 |
| Subject: | Re: doubt - session file size | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-239634@lists.php.net to get a copy of this message | ||
Chris wrote:
> Robert Cummings wrote:
>> On Thu, 2006-07-20 at 01:03, suresh kumar wrote:
>>> Hi,
>>> I am having one doubt,i am using session variable for storing details.
>>> but i am afraid if there is around 10000 users,wherether session will
>>> be able to store all the datas of 10000 users,as i know abt session
>>> is that a temporary file will be created in /tmp directory with
>>> session id name,i dont know how much data that the session file will
>>> handle.
>>
>> See your php.ini for setting the path to where you want session files
>> stored. I don't believe there's a limit to the size of your session
>> files, that said, there IS a limit as to how much memory PHP is allowed
>> to consume, and this obviously places an implicit limit on the size of
>> the session files.
>
> There could also be a limit on the number of files you can have per
> directory..
maybe there could be a limit to the number of emails the OP is allowed
to send without ever replying to anyone who offers a possible answer to
his question. :-)
>
> Maybe it's better to use your own custom session handler and store
> everything in a database.
>