I have the same problem. I am running an active session and a form to add items to a list.
The items are in a form and when the items are added, the form submission button name is passed and picked up to add the item to the list. When you refresh, the "retry or cancel" box pops up and if you click retry - it will add another to the list.
The command:
header('Refresh :0; url='.$_SERVER['PHP_SELF']);
Doesn't work for me. I can only refresh with the following command:
echo "<meta http-equiv=\"Refresh\" content=\"1;URL=index.php\">";
I also get headers already sent issues when I use this.