I have a page that runs a query, then redirects (meta redirect) to another page, but I don't want the user to be able to 'go back' by clicking the BACK button on the browser.
A crude was to stop it is to redirect them to three pages (as backing backing backing.... with those pages redirecting forward), but it's a pain.
Can you just switch off the back button on the page itself? I was going to use this:
But the redirect cannot use this code - can it ?? If I can use this in a redirect:<a href="next.html" onclick="location.replace(this.href);return false;">TEST</a>
then I will - but how please?echo "<meta http-equiv='Refresh' content='0 ;URL=index.php?page=vouchercomplete&email=$email&vc=$code'>";