Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting page object reference at the Global.asax level
Message
De
11/07/2006 23:09:38
 
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:
01123781
Message ID:
01135567
Vues:
26
>Sure it will. A redirected page is another HTTP request. The event will fire both for the original page that Response.Redirect() is called on and then again in the page that is redirected to.
>
>It won't fire if you use Server.Transfer() to go to another page because that stays in the same request context.

Thanks, I discovered this morning that it was going in fact in there (in both events) also in a redirect. There was something in my framework I had to adjust. But, during the last week, I was able to learn more about the factory design and how it can be better to use than the global.asax, based on specific designs. So, if I have ever a need to make that approach evolve more, I will be sure to consider the factory for such needs.
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