Static variables are valid for the entire AppDomain. When you close the browser, you do not close the application because it continues to run on the web server. Oh, and forgot to mention: try to avoid using static variables in multi-threaded applications without the right locking mechanisms or you may run into race conditions.
Darin Dimitrov
source share