Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Global.asax and redirect
Message
De
10/07/2006 14:00:04
 
 
À
10/07/2006 12:59:05
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01134557
Message ID:
01135047
Vues:
16
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform