锁定“后退”按键 [英] lock-out "Back" button

查看:76
本文介绍了锁定“后退”按键的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

asp.net 1.1

即6

如何锁定用户点击浏览器返回按钮?

asp.net 1.1
ie 6

how to lock-out the user from clicking the browser "Back" button ?

推荐答案

不可能。


" John A Grandy" < johnagrandy-AT-雅虎网络泡沫>在消息中写道

news:%2 **************** @ TK2MSFTNGP12.phx.gbl ...
Not possible.

"John A Grandy" <johnagrandy-at-yahoo-dot-com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
asp。 net 1.1

如何锁定用户点击浏览器返回按钮?
asp.net 1.1
ie 6

how to lock-out the user from clicking the browser "Back" button ?



Scott M.< No****@NoSpam.com >写道:
Scott M. < No****@NoSpam.com > wrote:
不可能。
John A Grandy < johnagrandy-AT-雅虎网络泡沫>在消息中写道
新闻:%2 **************** @ TK2MSFTNGP12.phx.gbl ...
Not possible.
"John A Grandy" <johnagrandy-at-yahoo-dot-com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
asp.net 1.1
即6
如何锁定用户点击浏览器返回按钮?
asp.net 1.1
ie 6
how to lock-out the user from clicking the browser "Back" button ?




有可能,使用javascript,但你不能依赖它工作(用户

可以禁用js,可能没有,等等)。谷歌禁用后退javascript



It is possible, with javascript, but you cannot depend on it working (user
can disable js, may not have it, etc.). Google "disable back javascript"


ASP.NET不可能(正如你所指出的)它在

中不可靠客户端代码。


" Jeff Evans" < jwevans1@you_eye_you_see.edu>在消息中写道

news:或************** @ tk2msftngp13.phx.gbl ...
It is NOT possible with ASP.NET and (as you point out) it is not reliable in
client-side code either.

"Jeff Evans" <jwevans1@you_eye_you_see.edu> wrote in message
news:Or**************@tk2msftngp13.phx.gbl...
Scott M.< No****@NoSpam.com >写道:
Scott M. < No****@NoSpam.com > wrote:
不可能。
John A Grandy < johnagrandy-AT-雅虎网络泡沫>在消息中写道
新闻:%2 **************** @ TK2MSFTNGP12.phx.gbl ...
Not possible.
"John A Grandy" <johnagrandy-at-yahoo-dot-com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
asp.net 1.1
即6
如何锁定用户点击浏览器返回按钮?
asp.net 1.1
ie 6
how to lock-out the user from clicking the browser "Back" button ?



有可能,使用javascript,但你不能依赖它工作(用户
可以禁用js,可能没有它,等等) 。谷歌禁用后退javascript



It is possible, with javascript, but you cannot depend on it working (user
can disable js, may not have it, etc.). Google "disable back javascript"



这篇关于锁定“后退”按键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆