Why would you want to do that? What are trying to achieve? I'm sure there is a better way. But if you must, pass a value in the url, e.g.
- http://www.yoursite.com/url.php?times=once
. Then use Javascript in the onload event handler to check this query string. If it's set, then reload the page again using:
- location.href='http://www.yoursite.com/url.php?times=twice'
Now when you check in the onload function, it's not set to 'once' so the page is not reloaded.
I still think you shouldn't be doing this, but anyway... there you have it.