• Disable multiple logins of same user

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #7943  by jap_td03
 
i've just setup OKM 5.0.
Can you show me how to disable multiple logins of same user please?

Thanks
 #7953  by jllort
 
it's not possible.That was a feature demanded from version 4.x and older by users and and we've included multi login at 5.x That can not be disabled and is needed for example if you want to use OpenKM UI web and some adding ( office / openoffice ) at same time ( might be two users at same time connected to OpenKM).

Why you want it ? Wich is the problem ? We can find some simply solution to solve it kiling older user session using cron. But first explain me the problem, why you need ?
 #7961  by jap_td03
 
jllort wrote:it's not possible.That was a feature demanded from version 4.x and older by users and and we've included multi login at 5.x That can not be disabled and is needed for example if you want to use OpenKM UI web and some adding ( office / openoffice ) at same time ( might be two users at same time connected to OpenKM).

Why you want it ? Wich is the problem ? We can find some simply solution to solve it kiling older user session using cron. But first explain me the problem, why you need ?
for example, i go to a public internet service (or access data from another computer (not mine)) and forget to log out. That means someone else can access the data via my account. when i login at the second time, i want to log out from any other logins before for safety.

of course, multiple logins have advantages

thanks for your help
 #7983  by jllort
 
In this case I suggest the same. Create a minimal crontab tab for doing it. The login is too simply user logged in your intranet ( can identify by ip mask ) don't need logout, in case is accessing outside then if there's two logins on same user you can kill it.

Althought it, don't worry, if you've closed the browser the session is lost in that computer althought you start the browser again you need authenticate ... it's a zombie session on the session that will be killed after 30 minutes. You might not be worried for it.
 #7995  by jllort
 
Yes, must be modified for it web.xml with something like it ( by default timeout is setting at 30 minutes :
Code: Select all
<session-config> <session-timeout>30</session-timeout> </session-config>
If you make it more lower, must decreate keep alive ( UI each 15 minutes if I'm right, makes a call to server to continue being loged althought user don't make any operation ), refer to proper configuration param in OpenKM.cfg at http://wiki.openkm.com/index.php/Applic ... schedulers

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.