Deprecated: Function get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead. in /var/www/html/wp-includes/functions.php on line 5383

Reply To: Header Menu & One Page Setup Issues

New Front EN Support Forums Kanso Theme Support Header Menu & One Page Setup Issues Reply To: Header Menu & One Page Setup Issues

#2455
mmsatori
Keymaster

Hey KF,

the form is being resubmitted because browsers work that way :) you can notice on other websites that if you fill in a form, submit it, and then try to refresh the same page, the browser will ask you whether you’d like to resubmit the form. The only way to circumvent this that I could think of right now is to create a cookie each time a form is being submitted, telling it not to try to resubmit on page reload; however, the catch would be that the cookie is minimally valid for the duration of the session, i.e. until you close your browser and open it again, you won’t be able to send the form once more.

Sincerely,
Andrii / Satori Studio