M
Mark Horrocks
Hi,
Whilst trying to solve another problem (see my post yesterday please!)
I have come across something strange.
I created an ASP version and an ASPX version of the same code, and ran
it in the same folder, ie:
http://x.y.z/code/test.asp and http://x.y.z/code/test.aspx
I use code in front as i can't get code behind working on my server
(see previous post please!)
The script simply uses server.mappath to output paths:
server.mappath(".")
server.mappath("..")
server.mappath("/")
the aspx version gives :
current path \\share\folder\code (code is in a virtual defined on a
share)
parent path c:\inetpub\wwwroot
root path c:\inetpub\wwwroot\
the asp version gives
current \\filespace2\intranet\system\code
parent \\filespace2\intranet\system
root c:\inetpub\wwwroot
Note that the path returned for the parent differs significantly.
Is this known behaviour?
Thanks
Mark
Whilst trying to solve another problem (see my post yesterday please!)
I have come across something strange.
I created an ASP version and an ASPX version of the same code, and ran
it in the same folder, ie:
http://x.y.z/code/test.asp and http://x.y.z/code/test.aspx
I use code in front as i can't get code behind working on my server
(see previous post please!)
The script simply uses server.mappath to output paths:
server.mappath(".")
server.mappath("..")
server.mappath("/")
the aspx version gives :
current path \\share\folder\code (code is in a virtual defined on a
share)
parent path c:\inetpub\wwwroot
root path c:\inetpub\wwwroot\
the asp version gives
current \\filespace2\intranet\system\code
parent \\filespace2\intranet\system
root c:\inetpub\wwwroot
Note that the path returned for the parent differs significantly.
Is this known behaviour?
Thanks
Mark