#include <infodrom.style>
#include <debian.style>

<page title="Debian Tips">

<h1 align=center>phpMyAdmin: Spurious Logout</h1>

<p>Some people may have noticed that they are logged out automatically
from phpmyadmin after a while of inactivity.  This is a security
feature.  When you leave your desktop but keep your browser open and
an intruder suddenly appears at your mouse and keyboard, they can not
alter the database.</p>

<p>This is, however, a bit annoying when you're in your own office and
working with the database, then doing something else, and coming back
to the database only to log in again.  This behaviour can be
configured, though.  It also only seems to be present if you have
turned on JavaScript in your client.</p>

<p>The default behaviour is to be logged out after 30 minutes (1800
seconds) of inactivity.  This can be altered in the file
<code>config.inc.php</code> in <code>/etc/phpmyadmin/</code>.</p>

<p><pre>
   // Default: 1800 seconds = 30 minutes
   $cfg['LoginCookieValidity'] = 1800;
</pre></p>

</page>

# Local variables:
# mode: indented-text
# end:
