I have created the HTML page for example page1.html with some setting onclick invoke page2.html
On Click Back button the page1 is getting loaded will all previous data. I want plete reload of page and donot want to remeber any setting.
Regards, Dev
I have created the HTML page for example page1.html with some setting onclick invoke page2.html
On Click Back button the page1 is getting loaded will all previous data. I want plete reload of page and donot want to remeber any setting.
Regards, Dev
Share Improve this question asked May 4, 2010 at 12:45 DevDev 311 silver badge2 bronze badges 02 Answers
Reset to default 2Set the following headers:
Pragma: no-cache
Cache-control: no-cache
expires: 0
Simplest is to expire page1 - for example
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
in the head of that page
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745411630a4626559.html
评论列表(0条)