![](/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.