Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Global.asax and redirect
Message
From
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:
01135047
Views:
15
>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.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform