Forms authentication problems on application restart

P

pmanno

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?
 

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. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top