you might look up the pragma meta tags that tell the browser not to cache the page, or also consider a hard reload of the back page by doing maybe document.location = "lastpage.php?optionOn=1" or something like that.
Main Topics
Browse All TopicsHey,
I am having a problem using javascript's history.back. The problem I have is like this. I have a selection criteria page which has two radio buttons one of which is selected by default. Based on the selection of radio buttons, a set of selection criteria is presented to the user. The user then submits the form which will take his to another page and display all the results. In this second page, I have an image which when clicked takes the user back to previous page using history.back().
The problem is that, if I first choose say radio button 2, make selections and then display report. next go to radio button 1, make selection, see report..and at this point if I click on the image it takes me to the page where button2 had been selected instead of the actual previous page where button 1 had been selected. I am not sure how this happens. Can you please help me with this...
Thanks in advance
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: sankarbhaPosted on 2005-10-13 at 08:24:46ID: 15077921
Yes I did faced this issue. The browser caches the page as it was retrieved from the server, all modifications/changes made in client side are not updated in the cache.
So, whenever you pass through history all client manipulations will be lost.
I used to create a function in javascript in such pages, to maintain the client state. Like toggling display of controls based on some other controls in the page.