Session length

General discussion about netjukebox
Post Reply
nils
User
Posts: 4
Joined: Thu Jun 22, 2006 3:59 pm

Session length

Post by nils »

Hello,
is it possible to restrict the session length in NJB? - Means: According to my experience, "my" NJB users tend to forget to log OUT of the system. Is there a possibility to "kick" them "out" after a certain time of inactivity?
Thanks,
Nils
User avatar
wbartels
netjukebox developer
Posts: 881
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Post by wbartels »

Yes you can set the $cfg['authenticate_expire'] time in the config.inc.php file.
For example set the session length for one hour:

Code: Select all

$cfg['authenticate_expire'] = 3600;
Don't set the $cfg['authenticate_expire'] time to short, because streaming will also expire after that time.

Here is a related discussion: http://forum.lan/viewtopic.php?p=875#875
Post Reply