Browse Source

Added new options to session config.

Taylor Otwell 11 years ago
parent
commit
216bc07733
1 changed files with 26 additions and 0 deletions
  1. 26 0
      app/config/session.php

+ 26 - 0
app/config/session.php

@@ -96,4 +96,30 @@ return array(
 
 	'cookie' => 'laravel_session',
 
+	/*
+	|--------------------------------------------------------------------------
+	| Session Cookie Path
+	|--------------------------------------------------------------------------
+	|
+	| The session cookie path determines the path for which the cookie will
+	| be regarded as available. Typically, this will be the root path of
+	| your application but you are free to change this when necessary.
+	|
+	*/
+
+	'path' => '/',
+
+	/*
+	|--------------------------------------------------------------------------
+	| Session Cookie Domain
+	|--------------------------------------------------------------------------
+	|
+	| Here you may change the domain of the cookie used to identify a session
+	| in your application. This will determine which domains the cookie is
+	| available to in your application. A sensible default has been set.
+	|
+	*/
+
+	'domain' => null,
+
 );