Re: Session - when they expirate ?
| From: | tedd | Date: | Mon, 01 May 2006 15:52:03 +0000 |
| Subject: | Re: Session - when they expirate ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-235202@lists.php.net to get a copy of this message | ||
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, MartinMartin: 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