[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
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
?
163 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
  • 2
3 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses
Course of the Month19 days, 13 hours left to enroll

872 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