I have the following code in my global.asax.vb: Sub Application_OnAcquireRequestState(ByVal sender As Object, ByVal Details As EventArgs) If Session("CompanyID") Is Nothing Then If Request.IsAuthenticated = True Then 'Signout FormsAuthentication.SignOut() '
Tries to Reload the page and then redirects to the Login page 'Server.Transfer("default.aspx", True) Response.Redirect("expired.aspx", True) End If End If End Sub I am having an occasional, but not constant problem with the application repeatedly redirecting
to my expired.aspx page. I have checked the server logs, and about once a day this redirect runs several thousand times and hangs the server. Most of the time things run fine. Can anyone see a problem with what I have done? Any help is appreciated.
rich freeman
Participant
798 Points
159 Posts
FormsAuthentication.Signout Loop
May 07, 2004 08:00 PM|LINK