Support the ongoing development of Laravel.io →
posted 10 years ago
Session
Last updated 2 years 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 2 years ago.
0

Sign in to participate in this thread!

Eventy

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.

© 2024 Laravel.io - All rights reserved.