如何在asp.net中处理一些安全数据时禁用浏览器中的后退按钮 [英] how to disable back button in browser while handling some security data in asp.net

查看:83
本文介绍了如何在asp.net中处理一些安全数据时禁用浏览器中的后退按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





在处理应用程序中的安全数据时,如何禁用浏览器后退按钮。

并显示错误消息,如



此网页需要您之前输入的数据才能正确显示。您可以再次发送此数据,但通过这样做,您将重复此页面之前执行的任何操作。

重新加载此网页

按重新加载按钮重新提交所需的数据加载页面。



我使用.NET 4.0使用C#。



提前感谢

Hi,

How should I disable browser back button while handling security data in application.
and display Error message like

This webpage requires data that you entered earlier in order to be properly displayed. You can send this data again, but by doing so you will repeat any action this page previously performed.
Reload this webpage
Press the reload button to resubmit the data needed to load the page.

Iam using .NET 4.0 using C#.

thanks in advance

推荐答案

这篇文章 [ ^ ]


这篇关于如何在asp.net中处理一些安全数据时禁用浏览器中的后退按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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