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"
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"
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!
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.
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 RelatedI 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?
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.
Are there ways to let browser forget about the previous submitted form data?
Or prevent user from pressing F5 to submit the same form again
Or prevent user from presising back on the browser?
what is the diference between these two cache control header.no-cache and no-store.I have read the w3.org explanation.So lets say I am using only no-cache ....my understanding is thatnothing is cached and nothing is writen to disk.but what happens when we use no-store....i think..nothing is written to disk but it could be cached.
Now my question where is this cache located...is it only in memory ?....if it is written to disk how log is it there and when does it gets cleaned.Is no-cache more secure than no-store ..why?
My website is on a server that places Cache-Control: private in the
Header of the pages that are served. I see these pages are not cached
by Google (the Google Toolbar Cached Snapshop of Page function).
Is this directive from my server preventing Google from caching the
pages that have it or do I need to look into some other problem?
Thanks in advance for your input/feedback.
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?
I have multiple Calendar controls on my page and I want the user to select
various dates, then press a Submit button. Is there a way to disable the
interrupts from the Calendar controls?
I've got an asp page that populates a listbox with info from a db.
The list box ends up being pretty big, so I want to be able to search
it effectively. I like the method wherein the user types the letters
of the word they are looking for from within the listbox and the
control automatically scrolls to the item matching the chars they have
typed thus far.
Example:
If the listbox were to contain states Alabama, Alaska, and Louisiana,
when the user clicked in the listbox and typed "Ala" the box would
scroll to Alabama, and when they typed an additional 's', so the typed
string was "Alas", the box would scroll to Alaska.
Problem:
I've got javascript that does this very well, but the listbox control
default search behavior overrides my javascript. So, the javascript
will correctly index to Alaska when "Alas" is typed, but when the
javascript function is done running, the list moves down to Louisiana,
because the asp control thinks that by typing 'l' the user wants to
move to the first item in the box beginning with an 'l'.
Question:
Can I disable the default search behavior in the control? If so, how?
If not, does anyone have any thoughts on how else I might get around
this problem?
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 Relateddisable button if no conditions are met. how to do it in asp?
View Replies View RelatedI 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 Relatedhere 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?
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 RelatedMy 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.
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 RelatedAnyone 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..
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 RelatedIs 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?
please any body give me the code for disable the close button using asp
View Replies View Relatedi 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 Relatedi 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?
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?
I want to put a back button on my page, but to back 3x pages is it possible?
View Replies View RelatedI 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.
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.
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 RelatedIS 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.
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:
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.