you don't redirect to another page... you redirect to the same page =) the submitted data get lost then... and if you click refresh, it just loads the page again.
an example:
<?php
if( isset($_POST['mydata']) )
{
saveData($_POST['mydata']);
header( "location: {$_SERVER['PHP_SELF']}" );
exit();
}
?>
<html>
<body>
<form action="<?=$_SERVER['PHP_SELF']?>" method="post">
<input type="text" name="mydata"> <input type="submit">
</form>
</body>
</html>