In our login/logout javascript, which works in a modal box, I'd like to reload the current page after a user logs in our out, but only if the current page was not loaded as a POST--I don't want to try to double post data to the server.
Is there any way to tell whether window.location.reload() will be sent as a GET or a POST, so that I can redirect POSTs to our front page instead?