Hi,
i want to expire the session if user sits 15 minutes idle without doing
anything.
Then how can i set the time for session??
Thanks in advance
Regards
-Balaji
Then how can i set the time for session??
See the php.ini file, for session.gc_maxlifetime setting:
session.gc_maxlifetime= 1440; after this number of seconds, stored
; data will be seen as 'garbage' and
; cleaned
i want to expire the session if user sits 15 minutes idle without doing
anything.
On each page view, you could write a variable to the session file, so the
last modified time is updated. Then run the session deletion script from:
http://database.sourceforge.net/scripts/session.sh
every
3 matches
Mail list logo