Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Automatic log out #780


User avatar
0
elmogallen created

I've noticed that if I leave an asp.net zero page open for awhile, then come back to it, the page won't work. Anything that tries to access data fails. I get errors like "Input null" and so on. Refreshing the page makes everything work again.

How can I either:

  1. Prevent this from happening? (What exactly is timing out?)
  2. Automatically log the user out after x minutes of inactivity.

Thank you, Dave


1 Answer(s)
  • User Avatar
    0
    hikalkan created
    Support Team

    Hi,

    1. This is probably due of ASP.NET's standard session timeout. You can create a 'keep session on' mechanism to prevent it or make session longer.
    2. This is a general purpose concept. You can make it in the client side by some javascript code (and setTimeout). There are some solutions on the web when you search it.

    Have a nice day.