Help on Application event ???

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Dear all,

I am just learning the ASP.NET and I try to understand how application and
session event are handle..

I can simulate well the session event which increment at each instance of
the web server adress by placing

Application("SessionCnt")=Application("SessionCnt")+1 in Session_Start event

and calling http://localhost/myweb from different explorer instance

Then I have place Application("AppCount")=Application("AppCount")+1 under
the Application_ Start event

How can I verify the incrementation of Application("AppCount") ?
Does my web application have to be installed in 2 different places for that ?

regards
serge
 
Even if your web application is running in 5 places, the data you
store in the Application object is scoped (available) to only a single
instance.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top