开发者

Responce.redirect error

In the login check of my personal webpage开发者_高级运维 i am using

Response.Redirect("~/ClientCenter/Default.aspx")

and get the Property evaluation failed error

I guess i should set the overloaded option endResponce = False

...but for what reason?


The solution for your problem is here


You might want to consider checking that URL of yours. The tilde might not be acceptable.


see Response.redirect call the Response.End which internally call Applicaiton_End Event n this result your current thread get aborted forcefully.... To avoid this v use overloaded Response.redirect with false parameter which says no to Response.End.

I hope u got some clue..

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜