Page 1 of 1

Changing session expire time

PostPosted:Tue May 27, 2008 2:28 pm
by zxlllk
Is there any way that I can change the amount of time it takes for a session to automatically expire? I keep closing my internet explorer (out of habbit) instead of quitting the correct way. After I do this I have to either restart OpenKM or wait 30 minutes before I can log in again. It would be great if I could configure OpenKM sessions to expire after a shorter amount of time.

Re:Changing session expire time

PostPosted:Tue May 27, 2008 5:32 pm
by pavila
You can access as \"system\" user and force a session expiration. Anyway, if you want to change this amount os time (not recommended), you have to edit the file Config.java.

Re:Changing session expire time

PostPosted:Wed May 28, 2008 11:43 am
by zxlllk
Thanks a lot for your help. I think I will manage by just logging in as the admin and logging myself out manually.

Re:Changing session expire time

PostPosted:Wed Jun 04, 2008 12:35 pm
by Xupiter57
I took a look at the Config.java file, and the pertinent config value is, I think, SESSION_EXPIRATION, correct? I see this value being initialized, but I do not see it being used elsewhere within the file. Would you be able to point me in the direction of the file in which this value is used? Thank you very much in advance.

Re:Changing session expire time

PostPosted:Wed Jun 04, 2008 5:54 pm
by pavila
Easy: search for \"SESSION_EXPIRATION\" in the sources :)