Sessions in Laravel 5.0 keep piling up -
i have set sessions stored in database. 1 user logged in , after couple of minutes 700+ sessions stored. system uses lot of ajax calls, shouldn't causing this.
this how session.php looks like:
return [ 'driver' => env('session_driver', 'database'), 'lifetime' => 1200, '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, ];
anybody have clue?