mike1313 Posted April 7, 2007 Share Posted April 7, 2007 Is there any way to stop a user from hitting refresh and sending a form over again after they have done it once? I've tried $_SERVER['HTTP_REFERER']; but nothing any help is appreciated. Link to comment https://forums.phpfreaks.com/topic/45991-form-help/ Share on other sites More sharing options...
neel_basu Posted April 7, 2007 Share Posted April 7, 2007 Place A Cookie or Session. I preffer Session on users PC. And Increament It on each Page load. and Carry on if and only if the value of that session/cookie variable is 0. So when user refreshes the page it increases. and the process would not continue as its value is not 0. Link to comment https://forums.phpfreaks.com/topic/45991-form-help/#findComment-223481 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.