开发者

My browser's back button should not work after logged out? [duplicate]

This question already has answers here: 开发者_如何转开发 Closed 12 years ago.

Possible Duplicate:

Disabling Back button on the browser

How to do this in asp.net friends?


If I'm a (prospective) customer of your company and you try to take away functionality of my browser, I will get angry at you and your company. You don't want that to happen.

If your user's logged out and uses the back button to go to a stale URL, detect this (it's simple enough!) and show him a page telling him there's nothing to see there. Better yet, take him to your app's home page or something.


You cannot disable the back button in a browser without using javascript, and even then javascript could be turned off on clients machine

http://forums.asp.net/t/989339.aspx

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜