jmaccs64 Posted September 24, 2006 Share Posted September 24, 2006 How can I make sure that a user does not hit reload after a script processes the information passed to it? So the script does not get executed again?Thanks.... Link to comment https://forums.phpfreaks.com/topic/21839-user-screw-ups/ Share on other sites More sharing options...
.josh Posted September 24, 2006 Share Posted September 24, 2006 as in, never ever again, or just within a certain amount of time? Link to comment https://forums.phpfreaks.com/topic/21839-user-screw-ups/#findComment-97506 Share on other sites More sharing options...
jmaccs64 Posted September 24, 2006 Author Share Posted September 24, 2006 As in a certain amount of time..... Link to comment https://forums.phpfreaks.com/topic/21839-user-screw-ups/#findComment-97508 Share on other sites More sharing options...
.josh Posted September 24, 2006 Share Posted September 24, 2006 is the user somehow logged in or can i randomly surf to this page and keep hitting reload? Link to comment https://forums.phpfreaks.com/topic/21839-user-screw-ups/#findComment-97509 Share on other sites More sharing options...
jmaccs64 Posted September 24, 2006 Author Share Posted September 24, 2006 the user is logged in.... Link to comment https://forums.phpfreaks.com/topic/21839-user-screw-ups/#findComment-97510 Share on other sites More sharing options...
.josh Posted September 24, 2006 Share Posted September 24, 2006 okay so add a timestamp field to your table, associated with the user, and then have your script check the timestamp. if it is not old enough, then give the user an error message instead of executing the normal script. Link to comment https://forums.phpfreaks.com/topic/21839-user-screw-ups/#findComment-97512 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.