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

Submit with no history

Status
Not open for further replies.

giordan0

Programmer
Jul 18, 2001
40
SI
Let's talk about standard data editing.
I have a read-only form with data from a database.
When I click the Edit button it opens a new form with the same data but read/write.
Then I click the Save button and it executes an asp to save the data. Here I must use submit().
Then I redirect the page to the first read-only form.
I'd like to avoid that user can use the Back button for any of this 3 asp pages.
I know there is a location.replace() javascript function, but I miss the submited data from the submit() function.
Is there a way to submit data to a new page and avoid the page to be saved in the history object?
 
i've never used it, but i seem to remember someone saying to put

<script>
history.go(1);
</script>

at the top of every page



=========================================================
try { succeed(); } catch(E) { tryAgain(); }
-jeff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top