F
F
freeeeez2021-04-26 10:15:06
PHP
freeeeez, 2021-04-26 10:15:06

How to refresh the page when going back in the browser?

How do I refresh the page when I go back on the site so that it contains up-to-date data? Suppose, when moving from ad to ad, the previous one could already become inactive, but when the user presses back in the browser, he sees outdated information that the ad is active.
Tags installed

<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="0">

But it doesn't help

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
bqio, 2021-04-26
@bqio

Why would you want to go back? Do a redirect after the signout.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question