I am taking over some code and am having trouble understanding it. In the Page_Load, there is a Response.Redirect that Visual Studio says is being executed.
But then the remainder of the statements in Page_Load execute and THEN the Page_Load of the second page.
I thought Response.Redirect was immediate. Here's the code:
If Request.IsAuthenticated = True Then
' Session has been abandoned and FormsAuthentication has been signed out.
If IsNothing(Request.Cookies("UserInfo")) = False Then
Can anyone explain how this works? Am I witnessing the impossible?
If I execute the Response.Redirect, how can I get to the 'if' a few lines later?