![](/img/trans.png)
[英]The page has expired due to inactivity. Please refresh and try again. Laravel 5.5 Production
[英]The page has expired due to inactivity. Please refresh and try again. "in my production hosting cpanel after i login" laravel 5.5
使用用户名和密码登录时出现以下错误:
我试过了:
cache:clear
route:clear
view:clear
config:clear
但它不起作用
php artisan optimize
当您清除缓存时,您还必须对其进行配置。 Optimize
命令将为您完成此操作(同时清除您的路由、文件等),或清除后php artisan config:cache
但这个问题可能来自您的表单本身。 确保在您的表单中包含此字段:
<form method="POST" action="/myPage">
@csrf
// html goes here.
</form
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.