[imp] Can I set any timeout in IMP?

Eric Rostetter eric.rostetter at physics.utexas.edu
Thu Dec 12 12:59:23 PST 2002


Quoting Paolo Cavicchini <p.cavicchini@ifinet.it>:

> Hello,
> for security reasons, I would like to disconnect an IMP user after a defined
> time of inactivity.
> Where's possible to set a timeout in IMP?

There is an idle timeout, but no absolute timeout.  For idle timeout, edit
php.ini to set session.gc_maxlifetime to the number of seconds for the timeout,
set session.gc_probability to 100, and make sure that someone is accessing
your horde installation at all times.  If needed, you can create a cron job
to hit your site every 5 minutes or something, to force the garbage collection.

Then, to strictly enforce this, you will need to disabled the preferences 
for automatically refreshing the screens (otherwise the automatic refreshing
will not allow for idle time).

In CVS HEAD there is an option to prevent idle timeouts when in compose,
which would need to be disabled if you wanted strict enforcement and are
running HEAD, and don't mind your users loosing their mail compositions :)

-- 
Eric Rostetter
The Department of Physics
The University of Texas at Austin

Why get even? Get odd!


More information about the imp mailing list