php - Laravel 5 session expire after refresh -
i use laravel auth. login website works great. when try refresh or go other page(still use auth middleware) session expired , must login again. check on ftp, using other browsers. try change variables in config/session.php. have no idea how fix it.
this session.php file
<?php return [ 'driver' => 'file', 'lifetime' => 120, 'expire_on_close' => true, 'encrypt' => false, 'files' => storage_path().'/framework/sessions', 'connection' => null, 'table' => 'sessions', 'lottery' => [2, 100], 'cookie' => 'laravel_session', 'path' => '/', 'domain' => null, 'secure' => false, ];
Comments
Post a Comment