ASP .Net - Simple program help.?

:-)

New member
I'm pretty new to ASP.Net programming.
In my application I want the Server to work 24/7.
However when I close a web browser client it seems that the server stop working...

To Be more clear Here an example program that I don't know how to do:
Once the Server on air. every minute it increases a counter. So if I open the browser after 60 minutes the counter would be 60. than I close the browser for 10 minutes, open again and the counter should be 70.

When I tried to do it, the counter increased only when the the browser was open.i.e I open the browser and the counter increased to 10 , than I close the browser and open again after 5 minutes , and I see the counter is still in 10...(and not 15).

Thanks in Advance.
Gardner, Thank you. However my counter is static member so even when I close the browser It's value stayes. So The sever is not dead after you close a browser , that what led me to think That the server may continue running without a browser.
 
ASP.NET applications only run when they are in a web browser. You close the browser, you stop the program and lose any data you have not saved somewhere.
 
Back
Top