Re: Session

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux