> 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?

you will have to expire the session manually.

keep track of the last time they access the site in a session
variable.  Check that variable every request they make.  If it is
longer than a minute, expire the session.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to