persisting login cookies

Discussion in 'ASP.NET / ASP.NET Core' started by rotsey, Jul 15, 2005.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Hi

    I wonder if you can help with this problem.

    I am developing my ASP.NET web site with Visual Studio 2003.

    When run the test site on my PC and login into it with the following code

    FormsAuthentication.RedirectFromLoginPage(acc.UserEmail, True)

    the test system works fine. The login persists between sessions.

    But when I upload it to the Live system the login is persisting for the current session. In other words when the session times out the system does not log you on as it should as I am calling the function above with "true".

    Is this something you have heard happening?

    Can you provide me with some way of deciphering the problem?

    Thanks in advance
    Malcolm
     
  2. Bruce

    Bruce DiscountASP.NET Staff

  3. Thanks bruce that fixed it.


    Does this mean that discountasp.net version of IIS is 6.0? i guess it does.


    Also why does this setting need to set is this something the server has been set to.?????


    Do you know what the setting is mainly for??


    Malcolm
     
  4. Bruce

    Bruce DiscountASP.NET Staff

    i forgot exactly why but i think it was to do with the encryption key is stored in memory and after the process is recycled, it no longer can decrypt the session info.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
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