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:
- Prevent this from happening? (What exactly is timing out?)
- Automatically log the user out after x minutes of inactivity.
Thank you, Dave
1 Answer(s)
-
0
Hi,
- 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.
- 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.