Z
Zalek Bloom
I want to display how many times my Web application was used. I want
to add a counter to HttpApplicationState:
HttpApplicationState a = new HttpApplicationState();
a.Add("Counter", 1);
My question - I did not see a constructor for HttpApplicationState.
And if I put the above code in the method Application_Start() in
Global.asax.cs - will object "a" will be visible in all my classes?
Thanks,
Zalek
to add a counter to HttpApplicationState:
HttpApplicationState a = new HttpApplicationState();
a.Add("Counter", 1);
My question - I did not see a constructor for HttpApplicationState.
And if I put the above code in the method Application_Start() in
Global.asax.cs - will object "a" will be visible in all my classes?
Thanks,
Zalek