I had a similar question few days ago on one other forum and get  an
answer that session expiration is defined by session.gc_maxlifetime and
1440 is number of secunds. (24 minutes - you were right tedd ;))

-afan



> At 1:36 PM +0200 5/1/06, Martin ZvarĂ­k wrote:
>>Hi,
>>    I was looking all over the internet and I
>>don't understand when and how does the PHP
>>session expirate.
>>I suppose that it happens when the user is inactive.
>>
>>On my website I don't use cookies for session
>>and it has standard php.ini configuration:
>>session.gc_maxlifetime = 1440
>>session.gc_divisor = 100
>>session.gc_probability = 1
>>session.cache_expire = 180
>>
>>So, does this mean, that if the visitor is 180
>>minutes inactive it automatically deletes the
>>session ??
>>
>>Thanks,
>>Martin
>
>
> Martin:
>
> I'm not sure as to what "session.cache_expire "
> means and I know it has a default value of 180
> minutes. However, I've read that a session
> typically has a life span of 20 minutes.
>
> tedd
> --
> --------------------------------------------------------------------------------
> http://sperling.com
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to