sparwani Posted February 2, 2007 Share Posted February 2, 2007 I want users on my site to be able to submit a form and then if they decide to choose back not to get a warning that says "if you click ok then the form data will be resubmitted". basically i want the page to either be reloaded from cache or fresh from the website but i dont want the form data to be resubmitted. how do i get this to work? Link to comment https://forums.phpfreaks.com/topic/36746-preventing-the-do-you-want-to-resubmit-data-button-when-you-hit-back/ Share on other sites More sharing options...
HuggieBear Posted February 2, 2007 Share Posted February 2, 2007 This isn't possible when using the POST method. This is a browser 'feature' so there's nothing you can do about it. If you use the GET method you won't have this problem. Regards Huggie Link to comment https://forums.phpfreaks.com/topic/36746-preventing-the-do-you-want-to-resubmit-data-button-when-you-hit-back/#findComment-175262 Share on other sites More sharing options...
suzzane2020 Posted February 2, 2007 Share Posted February 2, 2007 yes,,and mabe if u just want to go back to the form page u cud place a link to go back Link to comment https://forums.phpfreaks.com/topic/36746-preventing-the-do-you-want-to-resubmit-data-button-when-you-hit-back/#findComment-175263 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.