Asp.Net Static Variable Question
Posted on 2011-09-06
We are currently in a situation where our server is crashing during high load on the server, and we have just noticed that our web developer is storing state for each client connection in static variables on each page of the website. We are under the impression that this could be a very bad idea, do all clients who connect to our website share those variables since their static? This is really bad because if thats the case, we might get mixed information and it could be crashing our server, but we are not experts at this.
To give an example, we have a master page file that has a static variable stating what the current web page is loaded is etc. Is this an issue with asp.net?