Search code examples
phplaravellaravel-5php-5.5

How to get session driver Laravel 5


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

Session::getId();

but driver can't


Solution

  • Hello you can get next

    Session::getDefaultDriver();
    

    For more info about methods visit Laravel API