E
Edward
I'm trying to understand how application_onend event in
the global.asax works. I've hear a lot of explanations
that this event fires when the HttpApplication shuts down
after the last user's session has expired, how this event
only runs when the IIS server has stopped, or that it's
the CLR's garbage collector that triggers this event. I
tried to write a code to test if these theories work by
having the application_onend write a text file and writing
the time when this event fired. I haven't seen any
results. Can anyone explain how this event fires? Better
yet, can anyone suggest a test senario I could setup to
test this event?
Thanks for the help!
the global.asax works. I've hear a lot of explanations
that this event fires when the HttpApplication shuts down
after the last user's session has expired, how this event
only runs when the IIS server has stopped, or that it's
the CLR's garbage collector that triggers this event. I
tried to write a code to test if these theories work by
having the application_onend write a text file and writing
the time when this event fired. I haven't seen any
results. Can anyone explain how this event fires? Better
yet, can anyone suggest a test senario I could setup to
test this event?
Thanks for the help!