Skip to content

Commit 216bc07

Browse files
committed
Added new options to session config.
1 parent 5fac0f7 commit 216bc07

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

app/config/session.php

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,4 +96,30 @@
9696

9797
'cookie' => 'laravel_session',
9898

99+
/*
100+
|--------------------------------------------------------------------------
101+
| Session Cookie Path
102+
|--------------------------------------------------------------------------
103+
|
104+
| The session cookie path determines the path for which the cookie will
105+
| be regarded as available. Typically, this will be the root path of
106+
| your application but you are free to change this when necessary.
107+
|
108+
*/
109+
110+
'path' => '/',
111+
112+
/*
113+
|--------------------------------------------------------------------------
114+
| Session Cookie Domain
115+
|--------------------------------------------------------------------------
116+
|
117+
| Here you may change the domain of the cookie used to identify a session
118+
| in your application. This will determine which domains the cookie is
119+
| available to in your application. A sensible default has been set.
120+
|
121+
*/
122+
123+
'domain' => null,
124+
99125
);

0 commit comments

Comments
 (0)