Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Global.asax and redirect
Message
 
À
10/07/2006 14:00:04
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:
01135270
Vues:
17
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform