Hello everyone,
can somebody help with how to back to the previous page and refresh ?
currently I used window.history.back(1);
window.history.go(0);
but it doesn't work.
please note, I can't use document.location.href because the previous page is a dynamic url.
I can't set the previous asp page to be noCache because in some situation I need to cache the previous page. i.e, the scenario is a payment, when succussfully paid, the "back" button will do "back + refresh" so the client can see a refreshed account balance (That is what I am asking help for). if the payment is not successful, the "back" button will be a pure back button and keep all the existing user input. (that is why I need the cache)
Thanks
Yuli
can somebody help with how to back to the previous page and refresh ?
currently I used window.history.back(1);
window.history.go(0);
but it doesn't work.
please note, I can't use document.location.href because the previous page is a dynamic url.
I can't set the previous asp page to be noCache because in some situation I need to cache the previous page. i.e, the scenario is a payment, when succussfully paid, the "back" button will do "back + refresh" so the client can see a refreshed account balance (That is what I am asking help for). if the payment is not successful, the "back" button will be a pure back button and keep all the existing user input. (that is why I need the cache)
Thanks
Yuli