Re: session_cache_expire()

From: Date: Fri, 17 Mar 2006 08:55:40 +0000
Subject: Re: session_cache_expire()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-232096@lists.php.net to get a copy of this message
suresh kumar wrote:
I searched php.net/session and weberdev website and implemented session_cache_limiter() and session_cache_expire() function.but i am not getting the output what i want.i spend whole day on searching.any one give the solution for my problem in windows,if user idle for 1 minute,his desktop screen is changed to screen saver.i like to implement the same logic in my project if user is idle for 3 minutes its session will have to automatically destroy.i am waiting for or response. __________________________________________________________ Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com You have to set the session timeout to 3 minutes.
Or set a javascript that automatically routes to a site that kills the session when the user is idle for 3 minutes. you could set a <META> html tag for that also. Note: session_cache_expire() and session_cache_limiter() has to be set before session_start() Greets Barry -- Smileys rule (cX.x)C --o(^_^o) Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o)

« previous php.general (#232096) next »