Login or Register

RSS IconRecent posts in this topic

avatar
gbreen on Feb 9. 2007. 3:27 pm
Hi,

I was wondering if there is a way to make it so that when you close the window or navigate away from the activeCollab page you will have to relogin.

I have deleted all the cookies and not checked remember me but if I close the browser and then open and come back to activeCollab I just go right in with out login.


Thanks Very much such a great program.

Greg
avatar Staff
Ilija Studen on Feb 9. 2007. 9:32 pm
activeCollab uses fixed value for session lifetime - 1 hour. Even if you close all activeCollab tabs in your browser if you come back within one hour you will still be logged in.

This behavior cannot be changes, but you can change session lifetime. In /init.php there is this code block:

define('SESSION_LIFETIME', 3600);


It defines session length in seconds (3600 -> one hour). You can set it to any value (only positive ones make sense).
activeCollab Team Member | Experiment: activeCollab on Twitter
avatar
Ryan Cross on Feb 9. 2007. 10:54 pm
Is the session renewed during each page get? For example, if the session lifetime is set for 1 minute, does that mean that the user would have to login every minute? or only if he doesn't have any activity with the site for 1 min? (1 min is probably too short to be useful, but it is just for the point)
avatar Staff
Ilija Studen on Feb 9. 2007. 11:09 pm
Session is renewed on every request. If use is inactive for more than session lifetime session is considered expired and user needs to login again.
activeCollab Team Member | Experiment: activeCollab on Twitter
Topic is locked. If you have something important to say about issues discussed on this page please write at hi@a51dev.com.

RSS IconRecent posts in this topic