Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Global.asax and redirect
Message
From
10/07/2006 09:40:56
 
 
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:
01134944
Views:
17
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform