How to get Laravel 5 session driver

How can I get the current session driver used for a session in Laravel 5? I want to know where my session is written. I can get the session id using

Session::getId();

      

but the driver cannot

+3
php laravel php-5.5 laravel-5


source to share


1 answer


Hello you can get the next

Session::getDefaultDriver();

      



For more information on methods visit the Laravel API

+4


source to share







All Articles
Loading...
X
Show
Funny
Dev
Pics