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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can i reload an asp page with the original data?

Status
Not open for further replies.

SunStorm

IS-IT--Management
Feb 6, 2001
25
ES
I want to reload a page that has a form with the original data when i push the browser back button.
But if i use the reload method of the window object in the onLoad event, the browser ask if i want to reload the form always and ask it even and even.
Thanks. Thanks.
SunStorm
 
Make ASP do a little JavaScript.

Have ASP write this out to the browser window:

<SCRIPT LANGUAGE=&quot;JavaScript&quot;>
history.back()
</SCRIPT>

Note that on the ASP page you can set session values. The JavaScript will in essence, click the back button for you.
Harold Blackorby
hblackorby@scoreinteractive.com
St. Louis, MO
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top