Commit dd1b01c1 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

sessions are now stored in redis-sentinel

parent e48595c7
......@@ -14,7 +14,7 @@ return [
| Supported: "file", "cookie", "database", "apc",
| "memcached", "redis", "array"
|
*/
*/
'driver' => env('SESSION_DRIVER', 'file'),
......@@ -27,7 +27,7 @@ return [
| to be allowed to remain idle before it expires. If you want them
| to immediately expire on the browser closing, set that option.
|
*/
*/
'lifetime' => 120,
......@@ -42,9 +42,9 @@ return [
| should be encrypted before it is stored. All encryption will be run
| automatically by Laravel and you can use the Session like normal.
|
*/
*/
'encrypt' => false,
'encrypt' => true,
/*
|--------------------------------------------------------------------------
......@@ -55,7 +55,7 @@ return [
| files may be stored. A default has been set for you but a different
| location may be specified. This is only needed for file sessions.
|
*/
*/
'files' => storage_path('framework/sessions'),
......@@ -68,7 +68,7 @@ return [
| connection that should be used to manage these sessions. This should
| correspond to a connection in your database configuration options.
|
*/
*/
'connection' => null,
......@@ -81,7 +81,7 @@ return [
| should use to manage the sessions. Of course, a sensible default is
| provided for you; however, you are free to change this as needed.
|
*/
*/
'table' => 'sessions',
......@@ -94,7 +94,7 @@ return [
| cache store that should be used for these sessions. This value must
| correspond with one of the application's configured cache stores.
|
*/
*/
'store' => null,
......@@ -107,7 +107,7 @@ return [
| rid of old sessions from storage. Here are the chances that it will
| happen on a given request. By default, the odds are 2 out of 100.
|
*/
*/
'lottery' => [2, 100],
......@@ -120,9 +120,9 @@ return [
| instance by ID. The name specified here will get used every time a
| new session cookie is created by the framework for every driver.
|
*/
*/
'cookie' => 'laravel_session',
'cookie' => 'mg_session',
/*
|--------------------------------------------------------------------------
......@@ -133,7 +133,7 @@ return [
| be regarded as available. Typically, this will be the root path of
| your application but you are free to change this when necessary.
|
*/
*/
'path' => '/',
......@@ -146,7 +146,7 @@ return [
| in your application. This will determine which domains the cookie is
| available to in your application. A sensible default has been set.
|
*/
*/
'domain' => env('SESSION_DOMAIN', null),
......@@ -159,7 +159,7 @@ return [
| to the server if the browser has a HTTPS connection. This will keep
| the cookie from being sent to you if it can not be done securely.
|
*/
*/
'secure' => env('SESSION_SECURE_COOKIE', false),
......@@ -172,7 +172,7 @@ return [
| value of the cookie and the cookie will only be accessible through
| the HTTP protocol. You are free to modify this option if needed.
|
*/
*/
'http_only' => true,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment