I need to have this functionality, please do not respond with suggestions on
restructuring the system.
TIA
Dan
Jeroen Ritmejer
www.xs4all.nl/~jarit/asp/
Dan Branca wrote in message ...
Dan Branca a écrit dans le message ...
iPos = InStr(2,Request.Servervariables("URL"),"/")
strVirDir = Left(Request.Servervariables("URL"),iPos)
If the URL is http://www.server.com/MyApp/MyPage.asp then after
executing this code, strVirDir will contain
"http://www.server.com/MyApp"
I'm not sure off the top of my head how to get the physical directory.
Hope this helps,
GW