sepoto Posted August 2, 2011 Share Posted August 2, 2011 I want to change the method from POST to GET whenever a user uses the refresh button in the browser. Can this be done? Link to comment Share on other sites More sharing options...
JamesB Posted August 2, 2011 Share Posted August 2, 2011 well you have to remember that there is no fixed method of get/post for a page, a page can contain several get forms and several post forms.i take it the real issue here is you have a form which you submit, then refresh, and the form gets sent again.if thats the problem, you can solve it by redirecting the client in php after the form has been successfully processed: header('Location: fileNameHere.php'); Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.