[imp] auto logoff

Erik Slooff erik@slooff.com
Thu, 22 Aug 2002 09:08:33 +0200


Hi Nas,

Quoting Nas Rad <srcbie@msn.com>:

> What is the way to configure a client to auto logoff from IMP. I mean:
> after x minutes of inactivity (i.e. an user didn't manually logout from his 
> IE session and then he go away from his computer leaving it in a
> security risk), well... i want the session expire.
> I am using IMP 3.1 with apacheserver 1.3.26, php on RedHat Linux 7.3.
> 
> Nas

You need to configure the following option in your php.ini file:
session.gc_maxlifetime (which defaults to "1440" seconds) to the value you want 
(e.g. "900" for 15 mins). 

Also see
http://www.php.net/manual/en/ref.session.php
for more details.

Bye,

Erik