Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • native session driver in laravel

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 377
    Comment on it

    The native session drivers not require any additional setup. It does not use cookies to store data. Native session drivers use native php mechanism for store session. It use 'NativeSessionStorage.php' for store data.
    By using Native session driver we do not required additional setup. Laravel is using laravelApp/vendor/symfony/http-foundation\Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php for this We can set session drivers in 'app/config/session.php'

    return [
    
                'driver' => env('SESSION_DRIVER', 'file'),
                'lifetime' => 120,
                'expire_on_close' => false,
                'encrypt' => false,
                'files' => storage_path('framework/sessions'),
    

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: