M
Mark Hoagland
I've got a scenario with a web application where I must
access the virtual directory being accessed from within
the Application_OnStart event handler. Specifically, I
have a series of IIS virtual directories which all point
to the same set of ASP pages. However, since each virtual
directory is a separate 'application', each has its own
set data which must be cached. To detect which data must
be cached for each virtual directory, I need to detect the
name of the virtual directoy being invoked from within the
Application_OnStart event.
The problem is that the Request.ServerVariables collection
is not avaiable within the Application_OnStart event
handler. Is there a workaround for this?
Thanks,
Mark
access the virtual directory being accessed from within
the Application_OnStart event handler. Specifically, I
have a series of IIS virtual directories which all point
to the same set of ASP pages. However, since each virtual
directory is a separate 'application', each has its own
set data which must be cached. To detect which data must
be cached for each virtual directory, I need to detect the
name of the virtual directoy being invoked from within the
Application_OnStart event.
The problem is that the Request.ServerVariables collection
is not avaiable within the Application_OnStart event
handler. Is there a workaround for this?
Thanks,
Mark