| 
	
 | 
 Posted by Peter van Schie on 06/16/21 11:34 
jj wrote: 
 
> I have a very simple login script that checks user ID and password in which 
> I set the session variables for those inputs. People are complaining that 
> the app times out too early. I know that I can extend the life of the 
> session using the php.ini varialbles but im wondering if there are other 
> vaiable solutions out there for this problem. 
 
 
Hi jj, 
 
Set session.gc_maxlifetime using ini_set. For instance: 
 
ini_set('session.gc_maxlifetime', 3600); 
 
to set it to an hour. 
 
HTH. 
Peter. 
--  
http://www.phpforums.nl
 
  
Navigation:
[Reply to this message] 
 |