Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Refresh page when back button is clicked

Explorer ,
Dec 04, 2006 Dec 04, 2006
Can i refresh the page, when user click on back button and go back to first page?.

I got a search page, user pick search parameter and click search.

From search result page, user may click back button and go back to search form page.
If user does, all drop down won't load. So i want force page to referesh, when user click back button. How to do this?.
2.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Dec 04, 2006 Dec 04, 2006
I would suggest there's something wrong with your code to populate your select boxes on the first page......post the code for your first page so we can take a peek.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Dec 05, 2006 Dec 05, 2006
Thanks Mr.Bonk.

I got threeselectsrelated in my page. All three selects are preloaded with default values.

User can select value from first or second or third select independetly
OR
User can select one value from first select, second select shows related values.
User can select one value from second, third select shows related values.

i wrote this page based on <CF_ThreeSelectsRelated> custom tag of nate wesis.
My code is complicated. Did anybody do this before?.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Mentor ,
Dec 05, 2006 Dec 05, 2006
<!---expires page and forces reload--->
<cfoutput>
<cfheader name="expires" value="#now()#">
<cfheader name="pragma" value="no-cache">
<cfheader name="cache-control" value="no-cache, no-store, must-revalidate">
</cfoutput>

Phil
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Dec 05, 2006 Dec 05, 2006
LATEST
This will do....
<cfheader name="Expires" value="Mon, 06 Jan 1990 00:00:01 GMT">
<cfheader name="Pragma" value="no-cache">
<cfheader name="cache-control" value="no-cache">


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources