This might sound like an odd question, but is there any way to change the url that a page refreshes to? This is my situation:
[FONT=”Courier New”]page.php[/FONT] can be loaded as either [FONT=”Courier New”]page.php[/FONT] or with one GET variable, [FONT=”Courier New”]page.php?foo=bar[/FONT]. When it is loaded with the variable, certain one-time actions are performed (nothing to do with altering anything server-side ? ). The problem is, if the user refreshes with the query string (which might happen often based on the content of the page), various problems occur.
My question is simple: Is there a way to make it so [FONT=”Courier New”]page.php[/FONT] will ALWAYS refresh/reload to [FONT=”Courier New”]page.php[/FONT], without any query string? Is there some sort of onrefresh or onreload event hander? Thanks in advance.
[COLOR=”White”].