I found that is a difference between using window.open (or window.location.replace) with setTimeout and a simple click on an <a href...>: if I use
I will not be redirected on the correct page. Instead if I use a simple link to http://www.example.net/code?param1=1¶m3=3 when the user clicks it goes to the correct page. How can this be avoided? I imagine that the difference is made on server side but I don't know what is it. What do you know about this?