In Chrome whenever i try to refresh a page with button click i'm losing all the posted data on that page.
For e.g.
I navigate from Page 1 to Page 2 and pass some data to Page 2 from Page 1. Now when i refresh Page 2 with any of the following lines of the codes:
history.go(0);
OR
window.location.reload();
OR
window.location = window.location.href
After Page 2 is refreshed i loose all the data that i got from Page 1.
This is only happening in chrome. In Firefox and IE 8 after refreshing Page 2 it still has the data which i transferred from Page 1.
Can anyone please guide me on how can i refresh the page without losing the data. Thanks