How to handle Token Mismatch Exception
问题 I opened a Laravel form and left it as it is for long time (5-6 hours) or hibernated my computer. After long time or after resuming from hibernate when I submit the form it shows a TokenMismatchException . I don't have any _token field by my own. But a _token field is added by Laravel in every form. It looks like this: <input name="_token" type="hidden" value="YLyMGdfLKZESo51SYUHLKAzC6MNRLOQc9D9e2RFq"> I understand there is some token expiry issue, but it is bad to show a client an error