Menu
I’m racking my brain on this one and it’s such a common problem I have to think someone has an answer.
I am using a JavaScript redirect to direct users to a page. The problem is when they press the back button they do that stupid loop thing.
What I would like to do is set a cookie on the page that’s redirecting the user. This cookie will let the browser know if the users been there before. If they have then the user will be redirected back on page in their history. Meaning, the back button would work properly.
There has to be code that does this already existing. All the code I’ve tried to write has failed.
Thanks