Search the Community
Showing results for tags 'window.location.replace'.
Hi Larry, Can you please give me your thoughts on two window relocation techniques that I use as to which one, if any, is better. $url and header (in PHP) or JS window.location.replace(url) with the urls set appropriately. window.location.replace seems to be better if you are using sessions to avoid the 'headers already sent' issue but I'd appreciate your advice. Best wishes from Oz