Page 1 of 1

User remains logged in after exiting the browser without proper logout process

PostPosted:Wed Jun 22, 2022 5:19 pm
by eduslepetys
Hi guys,

I am running OKM CE 6.3.11 on Ubuntu 22.04 LTS, apache Tomcat 8.5.34. It is just a sandbox installation to check the concept and after validated I will install it on the test server.
Probably the users helping me with the tests are not logging out correctly (possibly just closing the browser). In the administration area of active users (logged users) I see the user id repeated several times. It seems OKM treats this as a new connection and keeps the old ones (even being the same user on the same ip). Is there any parameter to avoid this? Is there any way for OKM to verify that the same user is connecting on the same ip, and thus cancel the previous one?

Re: User remains logged in after exiting the browser without proper logout process

PostPosted:Tue Jun 28, 2022 7:56 am
by jllort
This is the regular behaviour, the session is keep in the browser and that's why when closing the browser tab and openning again the session is still alive. From the server side the session is killed after 30 minutes of inactivity.

Re: User remains logged in after exiting the browser without proper logout process

PostPosted:Wed Jun 14, 2023 11:00 am
by albertogomez38
We have the same problem. If users close the browser without closing the session, it stays alive on the server for days.

We have OpenKM 6.3.11 CE with Debian 10 Tomcat 8.5.34
Code: Select all
keep.session.alive.interval = 5
schedule.session.keepalive =15
schedule.dashboard.refresh = 30
File web.xml
Code: Select all
    <session-config>
        <session-timeout>30</session-timeout>
    </session-config>

Re: User remains logged in after exiting the browser without proper logout process

PostPosted:Fri Jun 16, 2023 7:46 am
by jllort
The <session-timeout>30</session-timeout> should kill automatically the tomcat session

About the shared screenshot is not readable

Re: User remains logged in after exiting the browser without proper logout process

PostPosted:Mon Jun 19, 2023 10:21 am
by albertogomez38
Update screenshot (captura.zip)

Re: User remains logged in after exiting the browser without proper logout process

PostPosted:Fri Jun 23, 2023 4:23 pm
by jllort
I'm not able to download the zip file. Sure you have attached in the post?

Re: User remains logged in after exiting the browser without proper logout process

PostPosted:Wed Jun 28, 2023 1:46 pm
by albertogomez38
Upload again... captura.zip

Re: User remains logged in after exiting the browser without proper logout process

PostPosted:Fri Jun 30, 2023 2:26 pm
by jllort
There's a cron process named WatchDog -> do you have this process running?

Re: User remains logged in after exiting the browser without proper logout process

PostPosted:Mon Jul 03, 2023 11:39 am
by albertogomez38
I can see in list crontab openk (look picture)

But cant in crontab linux command

Re: User remains logged in after exiting the browser without proper logout process

PostPosted:Mon Jul 03, 2023 11:46 am
by albertogomez38
I can see in list crontab openk (look picture)

But cant in crontab linux command

Re: User remains logged in after exiting the browser without proper logout process

PostPosted:Mon Jul 17, 2023 1:01 pm
by albertogomez38
I have tested with your development environment and the same thing happens.