Ticket #5044 (closed bug: duplicate)
Problem with js redirect when using getJSON
|Reported by:||mihaigrigori||Owned by:|
|Keywords:||getJson redirect back button||Cc:|
The problem I'm facing is as follows. I'm using a JSON call to check some data before doing a JS redirect to a different page. The redirect works but it's impossible to get back to the initial page using the browser's back button. The initial location is not being stored in the browser's history.
This is the script simplified. If placed on http://site1.example.com/ when it's executed it redirects to http://site2.example.com/ but there's no way to go back to http://site1.example.com/ using the browser's back button.