Local Response.Redirect - NT4 vs W2K
Hi,
I have a site that consists of several asp pages. The sequence of pages depends on the user input or data returned by queries.
I'm using an NT4 server for development. The final scripts reside on a Win2K server.
The main menu of the page has href's to the directory/script that the user selects. e.g. \CloseCalls\CallEntry.asp, \DefInStock\DefInStk.asp. etc.
The above works on the Win2K. On the NT4 I have to drop the first slash to get them to work.
Also, on the NT4, once I'm in the directory I can redirect to the various asp pages with simply its name. e.g.
Code:
If Request.Form("btn")="Report Parts Used" then
Response.Redirect("Parts.asp")
Else
Response.Redirect("RepairText.asp")
End If
On the Win2K I have to qualify the path. e.g.
Code:
If Request.Form("btn")="Report Parts Used" then
Response.Redirect("\CloseCalls\Parts.asp")
Else
Response.Redirect("\CloseCalls\RepairText.asp")
End If
Question:
Is this just the nature of the beast or is there something in the IIS configuration that causes this?
Thanks,
Al.