Keep ASP .NET page from logging out
I have a strange problem where the users of my application complain about the app timing out on them when there is now activity for awhile.
I try to reproduce this same problem and the application won't time out on me. I can keep it up on my machine for over an hour, go back to开发者_C百科 it and still works.
Any suggestions on whats going on?
Assuming David's link isn't able to help - it might be worth considering if the user could be knowingly (or unknowingly) clearing their cookies. Also, I'd consider if there could be any time changes taking place on the client.
Check into the Session.Timeout, and if you're using Forms Authentication, you need to worry about the Forms Authentication timeout.
Based on your description, it could be either or.
Here's a good article for dealing with session timeouts.
http://justgeeks.blogspot.com/2008/07/aspnet-session-timeouts.html
精彩评论