Tuesday, November 25, 2008

ASP.NET: Response.Redirect throws an exception

Problem

Response.Redirect throws an exception when trying redirect to the another page

Solution

Use Response.Redirect(url, false) instead of Response.Redirect(url)