Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting page object reference at the Global.asax level
Message
From
20/05/2006 23:49:38
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Getting page object reference at the Global.asax level
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01123781
Message ID:
01123781
Views:
81
Is there a way to get a page object reference at teh Global.asax level? Presently, I have this in the Application_BeginRequest():
    Sub Application_BeginRequest(ByVal sender As Object, ByVal e As EventArgs)
        LXFramework.oRequest = Request
        LXFramework.oResponse = Response
        LXFramework.oServer = Server
        LXFramework.BeginRequest()
    End Sub
LXFramework contains a property oPage for the page object. So far, I was passing this object from the code behind of the page. I would like to avoid doing that in all pages. Is there a way to get a reference to the page object at this level?
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
Next
Reply
Map
View

Click here to load this message in the networking platform