Hi everyone, 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. <code> $(document).ready(function(){ $('#click').click(function(){ $.getJSON('index.php?jsoncallback=?', function(msg){ location.href='http://site2.example.com/'; }); }); }) </code> Any help is appreciated.