Save time as a session variable... and if current time minute time is greater than x seconds, then destroy the session and start over.
-----Original Message----- From: Jefferson Cowart [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 27, 2002 2:13 PM To: [EMAIL PROTECTED] Subject: [PHP] PHP Session Idle Time I'm writing a web application in which I would like the session to expire after a certain amount of idle time. I tried using the session_set_cookie_params function but that is time from session start. How would I go about doing idle time? ---------------- Thanks Jefferson Cowart [EMAIL PROTECTED] Support Open Instant Messaging Protocols http://www.petitiononline.com/openIM/petition.html -- 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