I just got pinged on another post because my application does not allow the user to log in after iisreset.
How to solve the AntiForgeryToken exception that occurs after iisreset in my ASP.Net MVC application?
I have to say that I agree with the commentator that this is an artificial limitation.
From what I read about forms authentication, it seems that the information recorded during the session is stored in memory, and when the server is rebooted, you lose this information.
What I would like to do is simply be able to store this information somewhere, ideally, in a database so that I can continue my sessions. I can't seem to find a way to expand it to do this. Am I missing something? I misunderstood how this works?
I understand that this is a βfreeβ kit that they give us, but I would prefer not to minimize it myself, because there are many, and I have the potential to ruin my own decision.
Edit: Note that this has nothing to do with session state. As far as I know, I do not use session state at all if something underneath within it uses inside.
I understand that cookies are used by authentication, but they have not expired. However, I still return to the login page after iisreset.
source share