Response.End() behavior change in ASP.NET 2.0
Posted by: Rick Strahls WebLog,
on 04 Nov 2005 |
View original | NEW Bookmarked: 0 time(s)
Here’s a cool new behavior in ASP.NET 2.0: Response.End() no longer kills post Application events! In 1.1 if you called Response.End() ASP.NET effectively bypassed the rest of the event pipeline which would cause problems for any content modifying modules or Application level event hooks. In 2.0 post Handler events continue to fire.
I think this is the way it should work, but some people may find this change will break their existing applications if they relied on Response.End()...