checkSubmitOnce

Check whether a form has been submitted twice. Registers a sequence number for a form. Checks whether a submitted sequence number is registered in the current session. Depending on the value of is_fatal shows an error or returns true or false. Frees a sequence number from the stack after it's been checked. Frees a sequence number without checking if action == 'free'.
Parameters Summary
string $action
bool $is_fatal = true