If it's just a subdirectory, you can use a slash "/"
to signify the root directory of an application.
i.e., / refers to the root directory
If it's an ASP.NET application, you can't make a reference
to the root directory of another application, except by name
in a fully-qualified URL.
i.e., From
http://yourserver.com/oneapp
you could refer to
http://yourserver.com/anotherapp
but you can't refer to /anotherapp from /oneapp,
unless you use a fully-qualified URL
Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================
"John Dalberg" <jo*****@hotmail.com> wrote in message
news:19*****************************@40tude.net...
I have an asp.net app that is in a folder which is two levels under the
website root folder. The website has a login.aspx which is in the root
folder.
How do I get the relative path to the web site root folder (not the curent
app folder)? A generic one that works no matter how deep the folder is in
the folder heirarchy
--
John Dalberg