Disable Browser Back Button

I know you can not disable the browser back button but I have a script that grades online tests and when they click the, Grade test button, it works great. But if you click the back button, you can go back to the page and change the answers to the questions. So like this, if one failed the test they could simply click the back browser button and redo the test.

What I need is away to not disable the back button but maybe if they click the back button to take them back to the registration page to register for the test again. I have tried a few lines of code with "no-cache" and it would show expired but I prefer a redirection to the registration page if posible. how this could be done when clicking on the browser back button?

View Replies


ADVERTISEMENT

Disable Back Button Of Browser.

How can I disable back button of a browser in other words not allow the user to go back to the page from where they have come to this page when they click back button.

View Replies View Related

Disable Back Button

This isnt really a problem more like extra secutiry.
I am creating a wesite for a user who isnt completely computer literate and i want to either disable him from having access to the IE Back button as if he goes back on one of the pages and then re-clicks on the button on that page it will re-submit data that he shouldnt be!

View Replies View Related

Disable Back Button

I'm having a problem disabling a back button. Normally what I would do is just throw a history.forward() javascript on the preceding page and be done with it. My problem is that the preceding page can either lead to an error or a confirmation page. If the user produces an error and are taken to the error page, they'll need to be able to click back to correct their mistake. If everything is correct and are taken to the confirmation page, then they shouldn't be allowed to get back.

Has anyone come across this? I've tried setting a session variable when everything is correct but clicking on Back makes the value of the session variable what it was when you originally got to the page.

View Replies View Related

Is It Possible To Disable The Back-button, From The Server Side??

I was wondering, is it possible to disable the back button in internet explorer.

Our Website is hosting a Siebel website, and the problem is that Siebel has problems with the use of the back button in internet explorer. I can't make a customized internet explorer because the site must be accesible anywere.

View Replies View Related

Using Browser Back Button

On a current website, when I submit a search from a form, the page with results are shown. If I then click page 2 of the results I get page 2 no problems. The PROBLEM then is a user clicking the browser back button. When this is pressed IE shows this error which makes sense but sites like play.com dont have this problem. Quote:

Warning: Page has Expired The page you requested was created using information you submitted in a form. This page is no longer available. As a security precaution, Internet Explorer does not automatically resubmit your information for you. To resubmit your information and view this Web page, click the Refresh button.

View Replies View Related

Click On Browser's Back Button

when my asp page displayed in browser..and suppose i click on back button of browser then it should not go to back page. in this case the same page should be always display.
how can we do this?

View Replies View Related

Disable Back Button Response.Cache-Control = "no-store"

I'm trying to disable the back button on an asp page I've tried the code below but it does not work. Code:

Response.Cache-Control = "no-store"

View Replies View Related

Request.Servervariables("HTTP_REFERER") Versus BACK Button On Browser

When my webserver does not process a user's change because of an invalid password, I inform the user and I want to present them a button for a retry:

<TR id=continuebuttonrow>
<td width="05%">&nbsp;</td>
<TD width="90%" align=center valign=middle colspan=2>
<BUTTON TYPE=BUTTON
ONCLICK="location.href='<% =Request.ServerVariables("HTTP_REFERER") %>';"
class=btnParms name=btnContinue ID="Button3">Try Again (Back)</BUTTON>
</td>

Yet if this button is clicked, they go back to the server and the page is refreshed with original values.

If I click the browser's BACK button (rather than my button above), I go back to the page (from cache I guess) I want (because it contains the user changes). Here I can correct the password without having to rekey the changes.

So, what is the Request.Servervariable needed for the equivalent of the BACK button?

View Replies View Related

Back Button : : How To Fill Values Back

I have a form that submits values to an asp page. If their is an error on the asp page that is called and you go back to the first page with the form. The values are not in the form.

How can I set the value back into form without the user having to retype them in? If I use hidden fields on the first asp page and I go back to that page wouldn't the values for the hidden fields be empty as well?

View Replies View Related

Expire Page Or Disable Back

For security purposes I would like to know how to disable. The back button in the browser and/or expire the page.

View Replies View Related

Disable Browser F5, Refresh Buttons

Any suggestions re how I can disable IE Browser's F5 and Refresh buttons?

View Replies View Related

Disable Header And Footer Of Browser When Printing From ASP

As my subject line says, I need to remove the header (Page 1 of x) and the footer (the url of the page) from the printed page. Can I do that through the code? I am using ASP.

View Replies View Related

How To Disable Button

disable button if no conditions are met. how to do it in asp?

View Replies View Related

Disable Button

I have a page that updates/deletes user records. I made the mistake of thinking that because admin's use it, that I didn't have to make it stupid proof.How do i enable/disable submit buttons based on a radio button selection? or what would be the best way of prompting a "are you really sure you want to delete this record?"I'm not finding much info with being able to do this in vbscript.

View Replies View Related

Disable Radio Button

here is the script

<input <%If (CStr((Recordset1.Fields.Item("co1").Value)) = CStr("Mercedes")) Then Response.Write("checked=""checked""") : Response.Write("")%> name="radio1" type="radio" id="bbd" value="Mercedes">

I need the radio button disabled if the value in the string matches "Mercedes" and not checked. How do I change it?

View Replies View Related

Disable Download Pop -up Box Button

I have a ASP Page that allow the users to Download a File @ the Click of the button the File Download Dialog Box will pop up on the Screan ,on the download dialog Box are 4 buttons namely Open ,Save,Cancel and More Info ,How do I disable any Button on the Dialog box let say the Save button?

View Replies View Related

Disable Selectall Button

My asp application has 2 lisboxes. The 1st lists lists school department and 2 buttons (teschers button and students button to select either teachers or students from selected school depatment, which populates the 2nd listbox.

The slectall button under 2nd lisbox is used to select all items listed. how do I disable selectall button if teachers buttons is clicked, and enabled if students button is clicked.

View Replies View Related

Disable Submit Button

i have a text area on a form that users fill in. is it possible to prevent the user from submitting the form when there is no data entered in the text area. as soon as the user enters data in the text area then the form should be able to submit.

View Replies View Related

Disable Button After First Click

Anyone knows the method/codes to disable the clicked button after first click by using .aspx-- to prevent people to click many time when waiting for the server response.

I tried to do this by adding a java script for the button. But, useless..

View Replies View Related

Disable Save Button

Using IIS and IE how can I prevent someone from downloading an exe? I want it to be opened and executed without giving the user the option to Save it.

View Replies View Related

Disable The PrintScreen Button From Web Application

Is it possible disable the Print Screen Button when you access to a WEB
application and enable it when you leave it? How could I do it?

View Replies View Related

How To Disable The Close Button Of Any Window Using Asp Or Vb

please any body give me the code for disable the close button using asp

View Replies View Related

How Can I Disable The Refresh Button In Internet Explorer Using Vb Or Java Script

i developing one online test engine module. i need to know how to disable the refresh button in internet explorer using vb or java script.

View Replies View Related

Sending Message Back To Browser

I have a form (on server #1) that is filled out by the user and it sends the info from the form to another server (server #2), adding it into an Access table. How do I direct a response back to the user from that asp page on server #2?

View Replies View Related

Browser Refresh/Back/Forward Webpage...

I have never done the ASP programming yet but I want to hear the logic of the programming and see the sample code so I can have a better idea of how it work...

I have noticed that on one of hte ASP website, it was able to detect whether I did the back/forward button and blocked it.

View Replies View Related

IE Back Button

i have this prob. example,

i have created 2 .asp pages which,
1. Index page
2. Adding asp function

User will start to add contents in index.asp, then clicked on the "Add" button. the form will post to addContent.asp to add the contents to the database, then prompt the user for Adding contents complete and lastly display the added content to the Index page.

However, when i clicked on the "back" Button at the IE Standard Bar, it display the addContent.asp page and prompt user for the last msg -> "Adding contents Successfully". how can i redirect the page to the previous page before the adding page when the user clicked on the "Back" button at the IE Bar?

View Replies View Related

Log Out And Not Be Able To Use The Back Button

I am devloping a site with a log in function and it works fine, but what I want to make sure that when the user logs out, he/she can not use the back butten and then automatically enter the protected site again, and this is where I am at the moment.

I have tried several no-cache solutions, but they don't work as intended. Users should still be able to go back and forth between pages within the restricted area, and this does not work with no-cache, at least I am not able to make it work.

How do I make sure that using the back button will produce either a expired warning page, or redirect the user to the log in page?

How would this code look? and what page should the code be in?

View Replies View Related

Back Button X3

I want to put a back button on my page, but to back 3x pages is it possible?

View Replies View Related

Javascript Back Button

I am trying to implement a javascript back button on my page. I had everything working on my test server, however, whenever I migrated over to the secure server, it throws an error saying that the page cannot be displayed. I am using javascript.back

I have searched these forums, and couldnt find anything to help me, so I figured I would post to see if anyone may know of a solution.

View Replies View Related

User Back Button

I've created a asp form that the user submits, the information is wriiten to a database and the user is redirected to a thankyou page

The problem is, if the user presses their browsers back button the form the just submitted is still filled and allows them to resubmit the form.

How can I clear the form session once the user clicks the submit button? I've read about this before, but can't seem to find the darn webpage that explains this.

View Replies View Related

Deactivate The Back Button

i want to deactivate the back button on left top corner to the browser window, is it possible to do it in ASP. if yes please help me friends

View Replies View Related

BrowserHawk Back Button

IS anyone having trouble with BrowserHawk's GetExtPropertiesEx changing the behavior of the back button?

The manual says this is only an issue in IE 3. But FireFox and IE 6 are mouse trapping with a GetExtPropertiesEx 0 type call.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved