Skip to content

Commit

Permalink
[HttpFoundation] changed the default name of the session to _SESS as …
Browse files Browse the repository at this point in the history
…using _SESSION does not seem to work with PHP 5.3.3 (the session starts for each request)
  • Loading branch information
fabpot committed Dec 31, 2010
1 parent b428845 commit 49a3e52
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -26,7 +26,7 @@ class NativeSessionStorage implements SessionStorageInterface
/**
* Available options:
*
* * name: The cookie name (_SESSION by default)
* * name: The cookie name (_SESS by default)
* * id: The session id (null by default)
* * lifetime: Cookie lifetime
* * path: Cookie path
Expand All @@ -43,7 +43,7 @@ public function __construct(array $options = array())
$cookieDefaults = session_get_cookie_params();

$this->options = array_merge(array(
'name' => '_SESSION',
'name' => '_SESS',
'lifetime' => $cookieDefaults['lifetime'],
'path' => $cookieDefaults['path'],
'domain' => $cookieDefaults['domain'],
Expand Down

0 comments on commit 49a3e52

Please sign in to comment.