Session - when they expirate ?
| From: | Martin Zvarík | Date: | Mon, 01 May 2006 11:36:54 +0000 |
| Subject: | Session - when they expirate ? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-235185@lists.php.net to get a copy of this message | ||
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