468,554 Members | 1,413 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,554 developers. It's quick & easy.

HttpContext.Server.Transfer Problem

Thanks in advance for any help on this problem, but i have an
HttpHandler that looks at the requested url and and tranfers context
to a particular file. The problem is the transfer will only work if
the file is located in the root directory, if I try to transfer
context to a file in a subdirectory the Server.Transfer method returns
an error, any thoughts on this?

Thank you

Jan 11 '08 #1
1 1638
What "error"? Can you copy and paste it? Usually errors are selfexplanatory.

PS: I do not think you should be using Server.Transfer from HttpHandler.
Use HttpContext.Current.RewritePath

George.

<mm*********@gmail.comwrote in message
news:7b**********************************@y5g2000h sf.googlegroups.com...
Thanks in advance for any help on this problem, but i have an
HttpHandler that looks at the requested url and and tranfers context
to a particular file. The problem is the transfer will only work if
the file is located in the root directory, if I try to transfer
context to a file in a subdirectory the Server.Transfer method returns
an error, any thoughts on this?

Thank you

Jan 11 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by MarkMurphy | last post: by
9 posts views Thread by Mark | last post: by
5 posts views Thread by Guadala Harry | last post: by
11 posts views Thread by Alexander Bosch | last post: by
7 posts views Thread by Keith Patrick | last post: by
15 posts views Thread by James Higgs | last post: by
3 posts views Thread by asanford | last post: by
2 posts views Thread by =?Utf-8?B?YWxiZXJ0b3Nvcmlh?= | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.