A few updates and clarifications:
- - The issue isn't intermittent - it's quite repeatable now.
- - It seems to start when the PHP session expires. Then after that, gets itself in a strange cycle of SecurityToken mismatches (for some reason - I can't see any sense in it - only happens when submitting the form from Safari.)
- - When I debug & step through the code, I see that a new SecurityToken is created when the form page is created. And when the form is submitted and the submission handler is called, the form object is recreated, and another SecurityToken is generated which then obviously mismatches the one that was embedded in the form.
Posted to: CSRF error on form submission: "There seems to have been a technical problem. Please click the back button refresh your browser, and try again." | Show Thread | Post Reply