后退按钮:最佳处理方式 [英] Back Button: Best way to deal with

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

问题描述

经过大量的Google研究,似乎没有一个简单的解决方案

用于检测或阻止asp.net应用程序的用户使用

backbutton。


有什么方法可以解决这个问题吗?


-

问候,

Gary Blakely

After a lot of Google research, there doesn''t appear to be a easy solution
for detecting or preventing a user of an asp.net application from using the
backbutton.

Is there any way to deal with this problem?

--
Regards,
Gary Blakely

推荐答案

" GaryDean" < Ga ****** @ newsgroups.nospamwrote in message

news:eJ ************* @ TK2MSFTNGP05.phx.gbl ...
"GaryDean" <Ga******@newsgroups.nospamwrote in message
news:eJ*************@TK2MSFTNGP05.phx.gbl...

经过大量的Google研究,似乎没有一个简单的解决方案

来检测或阻止asp的用户。使用

后台按钮的净申请。
After a lot of Google research, there doesn''t appear to be a easy solution
for detecting or preventing a user of an asp.net application from using
the backbutton.



那是对的。

That''s right.


有什么方法可以解决这个问题吗?
Is there any way to deal with this problem?



No.

No.


Google javascript和后退按钮。我不知道asp.net框架中用于处理此问题的任何特定功能




您可以稍微阻止后退按钮javascript,但你不能完全把你的访客带入流沙。这不是很好,无论如何,



" GaryDean" < Ga ****** @ newsgroups.nospamwrote in message

news:eJ ************* @ TK2MSFTNGP05.phx.gbl ...
Google javascript and back button. I''m not aware of any specific features
in the asp.net framework for handling this, though.

You can somewhat block the back button with javascript, but you can''t
completely throw your visitors into quicksand forever. It''s not very nice,
anyway.
"GaryDean" <Ga******@newsgroups.nospamwrote in message
news:eJ*************@TK2MSFTNGP05.phx.gbl...

经过大量的Google研究,似乎没有一个简单的解决方案

来检测或阻止asp的用户。 net应用程序使用

后退按钮。


有什么方法可以解决这个问题吗?


- -

问候,

Gary Blakely

After a lot of Google research, there doesn''t appear to be a easy solution
for detecting or preventing a user of an asp.net application from using
the backbutton.

Is there any way to deal with this problem?

--
Regards,
Gary Blakely



试试以下


< html>

< head>

< script language =" javascript">

history.forward();

< / script>

< / head>


HTH

Ken

" GaryDean" < Ga ****** @ newsgroups.nospamwrote in message

news:eJ ************* @ TK2MSFTNGP05.phx.gbl ...
try the following

<html>
<head>
<script language="javascript">
history.forward();
</script>
</head>

HTH
Ken
"GaryDean" <Ga******@newsgroups.nospamwrote in message
news:eJ*************@TK2MSFTNGP05.phx.gbl...

经过大量的Google研究,似乎没有一个简单的解决方案

来检测或阻止asp的用户。 net应用程序使用

后退按钮。


有什么方法可以解决这个问题吗?


- -

问候,

Gary Blakely

After a lot of Google research, there doesn''t appear to be a easy solution
for detecting or preventing a user of an asp.net application from using
the backbutton.

Is there any way to deal with this problem?

--
Regards,
Gary Blakely


这篇关于后退按钮:最佳处理方式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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