I have several relative paths in my ASP Classic application. I'd like to get a reference to the root directory of my particular application (since the root of the server is something different) for the purpose of setting paths.
Is there a way to do this?
Have you tried
<%= Server.MapPath("/") %>
Use Request.ServerVariables("APPL_MD_PATH")
or Request.ServerVariables("APPL_PHYSICAL_PATH")
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With