Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multi level Global.asax inheritance
Message
 
 
To
24/10/2008 02:22:14
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01356799
Message ID:
01356836
Views:
28
>Hi,
>I was thinking since Application_Start() is event, therefore the code in BaseGlobal should be executed as well. Doesn't it?
>
>Please advice. Thank you

No, you have to call it explicitly.

public class BaseGlobal : HttpApplication
{
void Application_Start(object sender, EventAgrs e)
{
// Set breakpoint string abc = "";
}
}

public class MyGlobal : BaseGlobal
{
void Application_Start(object sender, EventAgrs e)
{
// Set breakpoint string dddd = "";
BaseGlobal.Application_Start()
}
}
Previous
Reply
Map
View

Click here to load this message in the networking platform