Session Expiration?

From: Date: Fri, 10 Jan 2003 03:09:07 +0000
Subject: Session Expiration?
Groups: php.general 
Request: Send a blank email to php-general+get-131027@lists.php.net to get a copy of this message
I have gone through the past posts and can't find an answer to my problem I'm using a URL based session management schema, and I was wondering how to set the session duration time. I know there is the session.gc_probability and session.gc_maxlifetime but that's only for garbage collection. Just for testing I set the probability to 100 and the maxlifetime to 60 just to see if my session would automatically expire, as my luck would have it didn't. I use session_start() in my test scripts so that should run with a 100% probability any garbage clean up of any sessions that are 1 minute old. I have the session.use_cookies set to 0 and, the session.cookie_lifetime only applies to cookies. So I don't know why my sessions are not expiring. Does anybody have any Idea? Should I just be manually checking for the duration of the session(?) and then delete it if it has expired? Best, Matt Matt Silva ---------------------------------------------------------------------------- ----------------------------------------- Empower Software Technologies matt@storagecommander.com PH 909.672.6257 FX 909.672.6258

« previous php.general (#131027) next »