?
Solved

How can I prevent a user from using browser back buttons or using a right click menu?

Posted on 2004-09-07
5
Medium Priority
?
159 Views
Last Modified: 2010-04-23
I have set up an online exam and my biggest obstacle is the browser and right click menus. What if the user tries to go back and re-submit his/her exam form? How can I control this?

You help would be greatly appreciated.

I use VB.NET

Kind Regards

PG
0
Comment
Question by:pgilfeather
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 18

Accepted Solution

by:
armoghan earned 1000 total points
ID: 11996625
If you are using IE control in your VB application
this might help
http://support.microsoft.com/default.aspx?scid=kb;EN-US;316516
0
 
LVL 18

Expert Comment

by:armoghan
ID: 11996690
If it is Web based using ASP.NET you can remove the top navigation bar using JavaScript and disable menu using Java Script as well.
0
 
LVL 18

Assisted Solution

by:DotNetLover_Baan
DotNetLover_Baan earned 1000 total points
ID: 11997077
Hi there,
another approach would be using sessions.
-> Use Session variable (Say, Status),
-> Assign a value to it on starting the exam
                 Session("Status") = "Started"
-> Check it on every page
             If Session("Status")="Started") Then
                     'Continue with the test
             Else
                     'Redirects to some other page
                     'There you can display message "oops!!! Already submitted"
             End If
-> Change its value on submit.
             Session("Status") = "Finished"

-Baan
0

Featured Post

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question