I am only using the https sessions for uploads/downloads.
How do get an idle timeout if people don't logout?
I have tried using the keep-alive to 3600 seconds but it never logs the person out automatically.
Thanks
connection limit
-
- Site Admin
- Posts: 2090
- Joined: Tue Sep 29, 2009 6:09 am
Re: connection limit
Yes, Web Client will keep alive automatically, if you really want to disable the auto-keep-alive feature, you may modify the file "webclient/main.html", remove the following line:
_TIMER_KEEPLIVE = setInterval("keeplive()",1000*300);
_TIMER_KEEPLIVE = setInterval("keeplive()",1000*300);
-
- Posts: 8
- Joined: Thu Jun 08, 2017 4:45 pm
Re: connection limit
Yes, but when I tried that it logs out the web user after 10 minutes. I wanted an idle time of 60 minutes.
My question is - what does the TLS session timeout mean? If I have it set at 3600 seconds, I would have thought that the hour mark the user who has not logged out would be automatically. That's not what I'm seeing though.
Thanks
My question is - what does the TLS session timeout mean? If I have it set at 3600 seconds, I would have thought that the hour mark the user who has not logged out would be automatically. That's not what I'm seeing though.
Thanks
-
- Site Admin
- Posts: 2090
- Joined: Tue Sep 29, 2009 6:09 am
Re: connection limit
OK, TLS session timeout doesn't mean HTTP session timeout, if you want to modify the HTTP session timeout, maybe you can edit the file "lua/SessionModule.lua" at line 17.
-
- Posts: 8
- Joined: Thu Jun 08, 2017 4:45 pm
Re: connection limit
In the /lua/SessionModule.lua" at line 17 is already set for local timeout = 600, that looks like it would be for 10 minutes. I changed it to the value of 6000, which should mean 100 minutes. I then unchecked the keep-alive value. I will test this out.
-
- Posts: 8
- Joined: Thu Jun 08, 2017 4:45 pm
Re: connection limit
Ok, that didn't work. It kicked my session out after 10 minutes.