[Mono-aspnet-list] Global.asax isn't working
eSPiYa
vdolosa at gmail.com
Mon Feb 8 04:41:20 EST 2010
I'm building a web service project with static variables but it seems
Application_Start doesn't fire if I run my test project on XSP2 using Mono
2.6.1 on MS WinXP.
Here is my sample code:
public class Global : System.Web.HttpApplication
{
public static Random rand;
protected virtual void Application_Start (Object sender, EventArgs e)
{
rand = new Random();
}
protected virtual void Session_Start (Object sender, EventArgs e)
{
rand = null;
}
}
This sample works fine with IIS and .NET2.0.
--
View this message in context: http://old.nabble.com/Global.asax-isn%27t-working-tp27496727p27496727.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.
More information about the Mono-aspnet-list
mailing list