Silly question, but what's the best way to avoind re-submitting data when a page is refreshed?
You could use a session variable. Set it to something when you've processed the form. Then check if the session variable is set prior to dealing with the POST data.