468,103 Members | 1,255 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,103 developers. It's quick & easy.

Help on Application event ???

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

Nov 19 '05 #1
1 906
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.

--
Scott
http://www.OdeToCode.com/blogs/scott/
On Thu, 8 Sep 2005 05:31:14 -0700, serge calderara
<se************@discussions.microsoft.com> wrote:
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


Nov 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Wayne Wengert | last post: by
22 posts views Thread by Jeff Louie | last post: by
12 posts views Thread by D. Shane Fowlkes | last post: by
reply views Thread by Tiraman | last post: by
4 posts views Thread by teejayem | last post: by
1 post views Thread by Solo | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.