防止在asp.net中使用后退按钮进行在线测试 [英] Preventing the use of backbutton for online test in asp.net

查看:87
本文介绍了防止在asp.net中使用后退按钮进行在线测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hai ....
在我的在线考试网站上,我使用下一步"按钮一个接一个地显示所有问题.我需要防止使用后退按钮和刷新按钮.怎么可能在同一页面上?
谢谢...

Hai....
In my online test website I am displaying all the questions in the same page one after another using the next button. I need to prevent the use of the back button and refresh button. How can it be possible on the same page?
Thanks...

推荐答案


此链接将为您提供帮助.禁用后退按钮
谢谢
坎南
www.steadfastglobal.com
Hi,
This link will help you.Disable Back button
Thanks
Kannan
www.steadfastglobal.com


朋友您好,请参阅此

注销后浏览器后退按钮问题 [如何阻止用户返回.. [ ^ ]

这将帮助您...
Hello friend see this

Browser back button issue after logout[^]

How to block user to go back..?[^]

this will help you...


为防止用户访问其上次访问的页面,请禁用浏览器后退按钮

To prevents user to visit their last visited page disable browser back button

<script type="text/javascript">
window.history.forward(1);
//On clicking browser back button  allows user to stay on same page.



要禁用浏览器的刷新按钮
请参考

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


可能会帮助



To Disable refresh button of browser
please refer

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


may help


这篇关于防止在asp.net中使用后退按钮进行在线测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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