Re: Session Expire...

From: Date: Wed, 04 Aug 2004 19:25:28 +0000
Subject: Re: Session Expire...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-192740@lists.php.net to get a copy of this message
I think I'm looking at it the wrong way. Both of them are not related to the 1 hour session timeout that I set up with.... I think there is no such feature and that I would have to write a custom PHP script to manage that. Am I right?? FletchSOD "Scott Fletcher" <scott@abcoa.com> wrote in message news:20040804185120.19560.qmail@pb1.pair.com... > Run that again about php.ini configuration on the session expiration. I > looked up at http://www.php.net/manual/en/ref.session.php and > it said > > --snip-- > session.cache_limiter specifies cache control method to use for session > pages (none/nocache/private/private_no_expire/public). Defaults to nocache. > See also session_cache_limiter(). > > session.cache_expire specifies time-to-live for cached session pages in > minutes, this has no effect for nocache limiter. Defaults to 180. See also > session_cache_expire(). > --snip-- > > So, how do I get the session.cache_expire to work if the > session.cache_limiter is set to no cache. Would it work if I leave the > session.cache_limiter as blank and use the HTTP header to instruct the web > browser not to cache the webpage?? All I only want is the webpage not be > cached and a session timeout if the user is idle for like a hour or > something.... > > Thanks, > FletchSOD

« previous php.general (#192740) next »