|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
To Refresh page on BROWSER's BACK Button
Hello ,
My web pages have a search page in which user need to fill the form and then next ASP page finds the required data and display it in the form of a table. Now when I get back to previous page by BROWSER's BACK button on left-top I will not get the fresh form and it shows the all radio buttons selected.This is not required. Can it be possible for me to refresh this page when one goes to it by BROWSER's BACK button ? Thanks |
|
#2
|
|||
|
|||
|
Yes and no.
And that's not the answer you hoped for, I'm sure ![]() Yes: You can put the following tag in the header of your page(s) meta http-equiv="pragma" content="no-cache" This will tell the browser not to cache the page content and forces it to get the page from the given url. No: Not all browsers comply to this option. The browser back/forward/reload buttons all use the localy cached content if it is able to (good for speed and lessens traffic on the net). The no-cache option is html 4.01 legal (probably before 4 too) and created for those situations that the browser should not use it's local cache. All browsers should comply, but as I stated before, some don't. I know this isn't the sollution you are looking for, but as far as I know you cannot tackle this problem with 100% guarantee. |
|
#3
|
|||
|
|||
|
Druuna,
Thanks a lot for your efforts This way also I can solve my problem . My page has 6 radio buttons in the group of two. Now I want to keep only one ticked in each group. This I did on window_onload() function. But it doesn't work when I browse back from the next page.Can it be possible to make a constraint on each group which keep only one radio button selected all the time even if page is displayed after browseing back ? Thanks Sachin |
|
#4
|
|||
|
|||
|
Like I said before, the client (browser) decides how it is done. There is no solution that will work for all browsers.
|
![]() |
| Viewing: Dev Shed Forums > Web Site Management > Scripts > To Refresh page on BROWSER's BACK Button |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|