Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Global.asax and redirect
Message
 
To
10/07/2006 14:00:04
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01134557
Message ID:
01135270
Views:
16
Michel,

Just a shot in the dark, but thought it might be worth mentioning. Does it make a difference if you pass the second parameter to the Redirect as True to end the page processing of the first page?

HTH,
Chad


>>Hmm. Both fire for me. BeginRequest() first followed by PreRequestHandlerExecute() ....
>
>So, you're saying that if you are calling a page such as Test.aspx, that BeginRequest() would be fired followed by PreRequestHandlerExecute(), applicable even in a Redirect? Basically, the following scenario would be applicable based on what you say:
>
>http://www.domain.com/Test.aspx
>
>1. would trigger BeginRequest()
>2. would trigger PreRequestHandlerExecute()
>
>In Test.aspx, in code beind, a line such as:
>
>Response.Redirect("http://www.domain.com/Test2.aspx")
>
>would then fire again:
>
>3. BeginRequest()
>4. PreRequestHandlerExecute()
>
>Is that correct?
>
>In my experience, 1, 2 and 3 are fired but not 4.
_________________________________
There are 2 types of people in the world:
    Those who need closure
Previous
Reply
Map
View

Click here to load this message in the networking platform