12-18-04 12:46 PM
Gazing into my crystal ball I observed "F C" <corebridge@wanadoo.nospam.fr>
writing in news:esBlFm44EHA.1400@TK2MSFTNGP11.phx.gbl:
> Hello,
>
> I would like to find the virtual directory name from within
> Application_onStart in global.asa.
> I am in ASP, not ASPX. I have no server.AppPath.
>
> Thanks for your help.
>
<% For Each strKey In Request.ServerVariables %>
<%= strKey %> = <%= Request.ServerVariables(strKey) %><br />
<% next %>
will give you all the server variables, and the one you want, IIRC, is
APPL_PHYSICAL_PATH
--
Adrienne Boswell
Please respond to the Group so others can share
[ Post a follow-up to this message ]
|