Thank you for asking questions
In global.asa outside all the Subs, I define and initiate a variable to
hold a path to a file to which I write something on Application_OnEnd and
read from on Application_OnStart. I use MapPath and do it outside Subs
because MapPath for some reason does not work well inside Application
On_End.
My question is: what is the lifetime of that variable? Does it get lost as
soon the global.asa is executed? Or it is stored somewhere?
From my 2 year experience with nt4/iis it seems that it is either stored
like an Application scope variable or (more likely) this out-of-subs code
gets executed OnEnd as well. This is proven that file in question has been
consistently found and records were read from it OnStart and added to it
OnEnd.
The reason I am asking this question is that I moved to w2k server and there
the impression is that the OnEnd event is not fired at all. The log is
registering the times the application starts, but no traces of application
stops
<aa> wrote in message news:u2**************@tk2msftngp13.phx.gbl...
In global.asa I have some code outside all the Subs.
I have some confirmation that it is being executed OnStart.
Yet I can's see if it is executed OnEnd.
The literature I have says that OnEnd the Sub Application_OnEnd is
executed, but is does not say that anything else is executed
Actually I even can't understand if global.asa is permited to have any
code outside the Subs
Could someone comment on this?