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?


Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo