+ 1

Refreshing Webpage

I want an HTML meta or PHP or some JavaScript code so that every time history.go(-1) takes me to previous page, the page refreshes itself. Because only the loaded content is shown while going back to a page through history. Thanks in advance :)

1st Jun 2017, 8:46 AM
Arish Shah
Arish Shah - avatar
3 Answers
+ 2
html <meta http-equiv="refresh" content="30"> js location.reload()
1st Jun 2017, 9:20 AM
M0H4MM4D
M0H4MM4D - avatar
+ 2
use of js
1st Jun 2017, 3:15 PM
M0H4MM4D
M0H4MM4D - avatar
0
but this will update it every 30s if I'm not wrong. I need it only once
1st Jun 2017, 11:55 AM
Arish Shah
Arish Shah - avatar