Re: Server.Transfer error
From: Ray at <%=sLocation%> [MVP] (%=sLocation%)
Date: 05/25/04
- Next message: Michael D. Kersey: "Re: Add controls in asp page"
- Previous message: Ray at <%=sLocation%> [MVP]: "Re: Convert text to image"
- In reply to: Eugene: "Server.Transfer error"
- Next in thread: Aaron Bertrand [MVP]: "Re: Server.Transfer error"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 24 May 2004 20:27:17 -0400
In NT, you had to be doing a Response.Redirect, not a server.Transfer, since
that didn't exist in IIS 4. You cannot do a server.transfer with a
querystring. When you server.transfer, the querystring in the original
request will be available in the target page, however. So, if you
server.transfer from yourpage.asp?x=1 to secondpage.asp, you can still
access Request.Querystring("x").
Ray at home
"Eugene" <anonymous@discussions.microsoft.com> wrote in message
news:5240F5E1-C4D2-4524-A818-D0A7CBDC9543@microsoft.com...
> Hi,
>
> I user Server.Transfer "MyTest.asp" to redirect the ASP page and it went
through successfully.
> If I used Server.Transfer "MyTest.asp?R=22"
> The system return "An invalid character was specifiied in the Path
parameter for the MapPath method." error.
> (It seems that system treat parameter string as body of path)
>
> This ASP works fine in Windows NT server, but it does not work on Windows
2003 server.
>
> Where I am doing wrong?
>
>
> Thanks
- Next message: Michael D. Kersey: "Re: Add controls in asp page"
- Previous message: Ray at <%=sLocation%> [MVP]: "Re: Convert text to image"
- In reply to: Eugene: "Server.Transfer error"
- Next in thread: Aaron Bertrand [MVP]: "Re: Server.Transfer error"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|