ErrorPage From ErrHandler

I'm designing a 3-tier web application in .NET. In the middle tier I have an error handler. I use Try-Catch where I feel it's necessary. If I get a critical error I
would like to redirect to a "Critical Error page" directly from the error handler without going up to the UI tier. Is that possible and in that case how does the
code look?

View Replies


ADVERTISEMENT

"Intelligent" Re-direct Errorpage

I changed domains on a site - I would like a re-direct errorpage script that re-directs from:

www.originaldomain.com/page.asp?a=26

To new:

www.newdomain.com/page.asp?a=26

Is this possible? (all page ids are the same in the old and new). As it is now, I just have a simple re-direct that goes to the mainpage no matter which page people are coming from.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved