Jump to content

UniTimer & SessionTimeout


Volk65

Recommended Posts

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.

Link to comment
Share on other sites

  • 2 years later...
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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...