What can cause forms authentication to forget you are logged in?

Posted by metanaito on Stack Overflow See other posts from Stack Overflow or by metanaito
Published on 2010-05-30T01:12:19Z Indexed on 2010/05/30 1:22 UTC
Read the original article Hit count: 215

Filed under:

I have an asp.net web site that uses forms authentication. When users check the "remember me" it will remember the user if they close the browser and come back. I have the timeout set for a day or so.

Recently I've noticed that I can be browsing the site and suddenly it forgets I'm logged in. It does not happen after 20 minutes as I can be actively browsing.

My question is, what can cause this to happen? If the server recycles the app or app pool will the login be lost? On my local I can restart my machine and when I come back I'm still logged in.

© Stack Overflow or respective owner

Related posts about asp.net-membership