So if you are using database driver, Laravel uses Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler as it SessionHandlerInterface. So you can easily extend that class. And the garbage collection happens on gc method, so use the original plus your own interaction.
Then follow this http://laravel.com/docs/extending#session
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community