Laravel 8 has config file config\session.php
this file has 2 parameters to store
'driver' => env('SESSION_DRIVER', 'file'),
and
'store' => env('SESSION_STORE', null)
Both can be "apc"
, "dynamodb"
, "memcached"
, "redis"
The only difference I see is that 'driver' can also be "file"
, "cookie"
, "database"
, "array"
Please tell me what is the difference and why do we have 2 parameters there?