hello all,
I have an asp page which allows new records to be added to a database. When
they have been added I need to redirect the browser 2 stages back in the
history object (to return them to their original page which could be one of
4), and also have the page refreshed to show the new record item.
I have tried the following but none produce the desired result:
window.history.go(-2) - returns to the correct page but it is not refreshed
Response.ExpiresAbsolute = 0 on the referral pages stops then being stored
in the history (therefore refreshed), but I would prefer them to be kept
Is there any technique such as the following in JavaScript (or VB script)?
var myUrl = window.history.location(-2)
window.location.replace(myURL)