Forms authentication problems on application restart

Discussion in 'ASP .Net' started by pmanno, May 6, 2005.

  1. pmanno

    pmanno Guest

    If a user has logged in via Forms Authentication and is currently
    viewing a page that is in a protected directory, then a change is made
    to Web.config (which causes the application to restart) if that user
    then attempts to follow a link embedded in the protected page to
    another protected page, an application error occurs instead of the user
    being redirected to the login page. During the debug process it seems
    that an Application_End event does not destroy the AuthTicket which the
    user holds. Even if FormsAuthentication.SignOut() is called on
    Application_End in Global.asax.cs the result is the same.

    Has anyone else experienced this problem and if so is there a
    work-around?
     
    pmanno, May 6, 2005
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.