Support the ongoing development of Laravel.io →
posted 8 years ago
Session
Last updated 7 months ago.
0

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

Last updated 7 months ago.
0

Sign in to participate in this thread!

LoadForge

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.