Re: Session

From: Date: Tue, 19 Oct 2004 20:13:03 +0000
Subject: Re: Session
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-199823@lists.php.net to get a copy of this message
Deleo We had an interesting conversation on this last just last week regarding the length of sessions. The title of the thread is "[PHP]Sessions not destroyed". Try searching the archives with that text. I believe Marek's and my own messages may have the information you're looking for - basically, PHP doesn't provide a mechanism to *guarantee* expiry of sessions - only to deal with garbage-collecting defunkt ones. Any explicit session-expiry will have to be implemented by the end-user; i.e. you. Hope this helps Cheers Chris Deleo Paulo Ribeiro Junior wrote:
Hello! I am trying to make my pages last for only 1 minute but I am not been successfull. I have already changed session.cache_expire = 1 in php.ini (USING RedHat) but nothing happens. I would like the pages to last only for 1 minute, this means that if the user do not use the site within 1 minute all the session variables will be lost and he will have to log on again (I am using session variables to store name and password). Can anyone help me? Thank you Deleo


« previous php.general (#199823) next »