Volk65 Posted September 11, 2018 Share Posted September 11, 2018 Hello dears! Session has the SessionTimeout property:=3600000 (60min) In my main window there is a timer (UniTimer (2 min)). The timer requests a value from the database and, depending on this, displays the desired icon. The session timeout never comes!!!! I understand because the timer is running. Tell me how to do it right? I need 60 minutes from the last user activity to close the session. But this periodically triggered a timer. Quote Link to comment Share on other sites More sharing options...
Freeman35 Posted September 11, 2018 Share Posted September 11, 2018 Do you mean UniTimer reset SessionTimeout ? Quote Link to comment Share on other sites More sharing options...
Volk65 Posted September 11, 2018 Author Share Posted September 11, 2018 Yes, because when I turn off the TUniTimer then the SessionTimeout works correctly. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted September 11, 2018 Administrators Share Posted September 11, 2018 Each time timer sends a request the timeout duration is reset. Currently, there is no way to distinguish between user-generated actions and timer events. Probably we can resolve it in the future. Quote Link to comment Share on other sites More sharing options...
Haklin0816 Posted May 7, 2021 Share Posted May 7, 2021 Bump... "Probably we can resolve it in the future." - Done? Quote Link to comment Share on other sites More sharing options...
irigsoft Posted May 8, 2021 Share Posted May 8, 2021 On 9/11/2018 at 4:09 PM, Volk65 said: Hello dears! Session has the SessionTimeout property:=3600000 (60min) In my main window there is a timer (UniTimer (2 min)). The timer requests a value from the database and, depending on this, displays the desired icon. The session timeout never comes!!!! I understand because the timer is running. Tell me how to do it right? I need 60 minutes from the last user activity to close the session. But this periodically triggered a timer. Hello, I added an internal function to check user activity. I ask the question "Are you there?" every 60 minutes and if there is no answer, I close the session. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.