Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

refresh on back button or goBack(-1)

Status
Not open for further replies.

gwrman

IS-IT--Management
Dec 20, 2005
94
0
0
CA
Anyone know of a way to produce Something like the "onclick=history.go(-1)" command, except it would grab a fresh version of the page from the server and not just pull the old page out of the users cache.
 
Just set the page to specify no caching using the:
Code:
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
tag.

[sub]Never be afraid to share your dreams with the world.
There's nothing the world loves more than the taste of really sweet dreams.
[/sub]

Enable Apps
 
well- more details on the situation...

teh page i want refreshed is actually an iframed page that generates a captcha image.

<iframe id="captcha" height="23px" width="86px" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" src="../inc_captcha.asp"></iframe>


when the user hits back from the error page to reenter some details on the main page, i want that iframe to refresh, but not teh rest of teh page.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top