kjtocool Posted December 14, 2007 Share Posted December 14, 2007 I have the following code, but telling it to re-validate apparently doesn't work, because it's re-submitting every time someone hits the back button. Any ideas? <?php header("Cache-Control: must-revalidate"); session_start(); Link to comment https://forums.phpfreaks.com/topic/81715-solved-stopping-form-re-submission-via-the-back-button-wphp/ Share on other sites More sharing options...
kjtocool Posted December 14, 2007 Author Share Posted December 14, 2007 Blah, apparently my problem was the header statement needs to come AFTER the my session statement? Working now. Link to comment https://forums.phpfreaks.com/topic/81715-solved-stopping-form-re-submission-via-the-back-button-wphp/#findComment-415071 Share on other sites More sharing options...
nafetski Posted December 14, 2007 Share Posted December 14, 2007 I think most of us have solved our own problems shortly after posting them Link to comment https://forums.phpfreaks.com/topic/81715-solved-stopping-form-re-submission-via-the-back-button-wphp/#findComment-415075 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.