Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting page object reference at the Global.asax level
Message
From
11/07/2006 23:09:38
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01123781
Message ID:
01135567
Views:
24
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform