I\'m trying to refresh a page without sending POST from the previous time.
I\'ve tried
window.open(\"postme.php?r=t\", \"_self\");
Redirect the user to the same page after you're finished using their POST data.
$URI = $_SERVER['REQUEST_URI']; if(!empty($_POST)){ //magic header("location:$URI"); }
Now when you refresh, it won't have POST data to resubmit.