When Should I Use Response.Redirect(url, true)?

前端 未结 5 1486
夕颜
夕颜 2020-12-03 09:32

I\'m redirecting to an Error page with a prettified error message in my Application_Error, in Global.asax.

At the moment it says:

Respon         


        
5条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-03 10:12

    Here it is best to use true, because you want all the other threads to abort; there has been an error and the application cannot continue.

提交回复
热议问题