Click here to Skip to main content
15,889,909 members
Articles / Web Development / ASP.NET

ASP.NET Response.Redirect without ThreadAbortException

Rate me:
Please Sign up or sign in to vote.
4.50/5 (2 votes)
13 Mar 2013CPOL1 min read 43.8K   9  
Response.Redirect(string url) calls Response.End() which then throws a ThreadAbortException. Here's a simple way to solve it.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer
United States United States
Just a crazy developer with crazy ideas of grandure.

What's that? Anal probe? NO, I said "Anal CODE!" Get that thing away, and get back to EditPlus.

Comments and Discussions