server.transfer doesn't work - why

  • Thread starter Thread starter Karl
  • Start date Start date
K

Karl

It should work, are you calling Server.ClearError() before doing your
transfer? If not, make sure you do.
 
I'm using server.transfer in my global.asax error handler, but i don't get
the page i'm trying to transfer to.
any suggestions why should it not work?

TIA, z.
 
The Transfer method has some limitations. It can not transfer from
one server to another and it can not transfer from a dynamic page
such as an .aspx to an .html page. If you need either of those
circumstances you'll have to use Response.Redirect and suffer
the two trips to the server.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top