本文介绍了的Response.Redirect(“Default.asp的...的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Can any one practically guide me as what is the difference of Response.Redirect - True / False, I mean
Response.Redirect('Default.aspx",True) V/s Response.Redirect('Default.aspx",False)
推荐答案
Response.Redirect(Default.aspx,True) V/s Response.Redirect(Default.aspx,False)></b>
If you are processing page "A" an then you issue a redirect
Response.Redirect('Default.aspx",True)
The client will be sent the redirect for the new page and Page "A" will immediately stop processing as a thread abort will occur. This is the default behavior of a redirect.
If you issued the redirect as
Response.Redirect('Default.aspx",False)
Then the client will be sent the redirect for the new page, but Page "A" will be allowed to continue processing. Perhaps page "A" has cleanup work to do or something. The client will never see the results from page "A" as they were redirected.</pre>
这篇关于的Response.Redirect(“Default.asp的...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!