404 page response.redirect vs server.transfer

Posted by Amier on Stack Overflow See other posts from Stack Overflow or by Amier
Published on 2009-08-14T17:24:07Z Indexed on 2010/05/31 5:22 UTC
Read the original article Hit count: 161

Filed under:

when handling 404 errors in ASP.NET is it ok to set 404 errors to redirect to a page that sends the 404 response code to the browser or should server.transfer be used so the 404 header can be sent to the browser while the url remains the same?

© Stack Overflow or respective owner

Related posts about ASP.NET