[PHP] How to set the time for session??

2001-09-19 Thread Balaji Ankem
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

RE: [PHP] How to set the time for session??

2001-09-19 Thread Johnson, Kirk
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

Re: [PHP] How to set the time for session??

2001-09-19 Thread speedboy
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