Form Authentication Oddness

Discussion in 'ASP.NET / ASP.NET Core' started by pjoyce, Aug 26, 2004.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Recently my web site was moved to IIS 6.0. I like it, it's fast and works well. But one problem has come up with forms authentication. I have a "Remember Me" check box. When that is checked off, it sets a persistent cookie and the user doesn't have to log back in again.

    But with IIs 6.0, it's as if the persistent cookie isn't even there -- the user gts logged out after 20 minutes and when he/she visits the site again, he/she has to log in again. Has anybody else experienced this? Any idea how to fix it?
     
  2. It might have something to do with your settings in your web.config file. I had the same problem here.
     
  3. quote:Originally posted by steurm

    It might have something to do with your settings in your web.config file. I had the same problem here.
     
  4. Just be carefull setting protection=none. Your cookies will not be encrypted and sensitive information (e.g. passwords) can be seen.
     
  5. Thanks from me as well. Looking at this problem for a while.


    Also when I look at the cookie in notepad it does seem encrypted to some degree.
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page