Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with ASP server.mappath()

Status
Not open for further replies.

RoKKos

Programmer
Feb 3, 2003
50
SE
Hi...

Am trying to find out for a friend why the ASP function server.mappath() is not working on his webserver. AspEnableParentPaths is turned on.

Has anyone else had this problem??
 
I've used Mappath for years no problems. I'll takes some stabs in the dark and see if that helps out.

function server.mappath() looks like javascript, while I use this less frequently (I use mostly PerlScript) it works much the same.

As far as I have ever used the function could only ever possibly work on the server side. If the JavaScript is run client side it woulfd either return nothing or fail (I've never tried).

Next - I have ALWAYS passed a minimum parameter of "/" to the routine. It may be assumed but I do it anyway.



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top