Posted by Peter van Schie on 10/20/05 17:08
dean wrote:
> hi
> I have a login system using sessions. Some clients like to stay logged
> in all day, however if there is no activity for a while the user
> sessions is lost and they are logged out if they click on any links, is
> there anyway of extending the life of a session??
> many thanks
> dean
>
Hi Dean,
Check out session.gc_maxlifetime in php.ini.
The value is in seconds.
Peter.
--
http://www.phpforums.nl
Navigation:
[Reply to this message]
|