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


ADVERTISEMENT

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 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 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 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

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

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

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

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

Web Address Bar And Back Button.

I would like away to make my users of my ASP application have to use the buttons on my web developed web pages to go from one screen to next.

Not allow them to use the back button or go to another web page of my application by using their browser's address bar. I would not want to disable the browser's address bar and back button in case they get knocked off my application for some reason.

Just want my application to ignore the clicking of the back button and new entry into address bar that has to do with any of my pages in my ASP application. They all have to same beginning //CEOSH_Web/applications/myaspapp/... Code:

View Replies View Related

Back Button And Aunthentication

I used the Macromedia Dreamweaver Login Authentication forms to gain access to my page. The user logs in and logs out just fine. But if they log out, and then click the "BACK" button, then they can return to a secure page that they should have been restricted from.

Does this have to do with Session variables? I'm just confused why they would get access. Do I need to clear something that isn't being cleared?I can upload my code, but I'm not sure what to upload, its all standard MMX stuff.

View Replies View Related

Clicking Back Button

After logout, if the user clicks the back button, the session should expire. how to do this

View Replies View Related

Understanding Back Button

How can we understand that the user presses BACK button of browser?

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

The Browsers' Back Button

I use the following code which simulates the browsers' back button. window.history.back(), but whenever i use this , i get a "404 page not found error . is this related to browser settings?

View Replies View Related

Problem With The Back Button

On one or two pages if I click on the back button, I get the Page Not Found error messagepage. How can I get it to go back to the previous page?

View Replies View Related







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