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.
 
Back
Top