Who has used the form token verification function of ThinkPHP? if you have any questions, ask ThinkPHP to support the form token verification function, which can effectively prevent repeated submission of forms and other security protection measures. After submitting a ticket, I used descrithis->display(xxx.html) to display a new template to show that the submission was successful. If I do not enable the form token verification function, press F5 on this page to submit the form again. However, I have enabled the form token verification function. after pressing F5, the page will jump back to the page. who used the form token verification function of ThinkPHP? if you have any questions, please refer
ThinkPHP supports form token verification, which effectively prevents repeated submission of forms and other security protection measures.
After my form is submitted, I use $ this-> display(xxx.html) to display a new template to show that the submission was successful.
If I do not enable the form token verification function, press F5 on this page to submit the form again.
However, after I enable the form token verification function and press F5, the page jumps back to the form input page.
How can I make the form stay on the page showing the successful submission?
Thank you for your advice.
------ Solution ----------------------
Understand, just fine!