Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Global.asax and redirect
Message
De
10/07/2006 09:40:56
 
 
À
10/07/2006 06:08:46
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:
01134944
Vues:
18
>Response.Redirect() normally triggers a BeginRequest() - try it in the Page_Load() of Default.aspx as a test. Maybe something in the framework affecting it?

You are right. After verification, BeginRequest() is fired at every hit. What is not fired is the PreRequestHandlerExecute() event and this is where it causes me a problem. In the PreRequestHandlerExecute() event, I have this:
        Dim loPage As System.Web.UI.Page = Context.Handler
        LXFramework.oPage = loPage
It is very important that this is executed at every hit. On a redirect it is not thus my framework has not initialization to the redirected page and worst, it has the oPage reference to the page that did the redirect which can produce unexpected result in the framework logic.
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