[Mono-aspnet-list] Accessing asp.net app through SSH spins up a new app pool. Why?
jernej.goricki at gmail.com
Mon Nov 12 12:25:01 UTC 2012
this is how I store time of the application start event in Global.asax.cs
/ public static string AppStartTime;
protected void Application_Start(object sender, EventArgs e)
AppStartTime = DateTime.Now.ToString();
This are the parameters for plink.exe used for remote port forwarding to
remote Apache server:
/ -L :7787:localhost:80/
If I use plink 3 times with 3 different ports, 3 different time values are
displayed when I visit the same web application through different url.
/ http://localhost:7787/ => value of AppStartTime = time1
http://localhost:7788/ => value of AppStartTime = time2
http://localhost:7789/ => value of AppStartTime = time3/
That means that for each port a new application is started with it's own
global variables. How can I prevent this?
View this message in context: http://mono.1490590.n4.nabble.com/Accessing-asp-net-app-through-SSH-spins-up-a-new-app-pool-Why-tp4657335.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.
More information about the Mono-aspnet-list