Date index for Nov 2003
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [achievo] Session Timeout
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
Jeroen van Wissen wrote:
> I got the question if it would be possible to alter the session
timeout time.
> My superiors think it's timingout too fast :P
> They have Achievo open all day...
> I couldn't find ani session time related things, so I'm hoping someone
could direct me tot the right direction.
This is not directly configurable in Achievo, session management is
handled by PHP. In the php.ini file on the server, you can find a
setting named session.gc_maxlifetime. This setting controls how long
sessions are valid.
On our server, we have this set to 28800, which is 8 hours. This is
enough to be able to open Achievo in the morning and keep it logged in
for the entire day.
Small disadvantage is that session files on the server can get bigger,
but on servers with plenty of disk space, this won't be such an issue.
(on our server, running Achievo and a lot more applications, and about
20 users, the session dir total size is about 3Mb, so that's quite
acceptable.)
By the way, there's also a nice undocumented setting which you can add
to the config.inc.php of Achievo to make the session expiry less annoying:
$config_authentication_cookie = true;
If you add this, the login is remembered in a cookie and you don't have
to login each time you open Achievo. The drawback is ofcourse security;
anyone using your pc can browse Achievo with your account.
Greetings,
Ivo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/vjHN95NUnGFZm9cRAmLVAJ9SeZSl2tea8MqT/0kCRYJKtT4CDgCeIuHe
ezLWVfRwB5y14E8ofFTm+5Q=
=EGxP
-----END PGP SIGNATURE-----