Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Fix sessid by parameter behaviour (update global $_COOKIE)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Jun 21, 2016
1 parent 15bfe29 commit c5471db
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -40,6 +40,7 @@ public static function handleRequest(\Psr\Http\Message\ServerRequestInterface $r
$cookies = $requestInterface->getCookieParams();
if (!isSet($cookies[$sessionName])) {
$cookies[$sessionName] = $getParams[PYDIO_SESSION_QUERY_PARAM];
$_COOKIE[$sessionName] = $getParams[PYDIO_SESSION_QUERY_PARAM];
$requestInterface = $requestInterface->withCookieParams($cookies);
}
}
Expand Down

0 comments on commit c5471db

Please sign in to comment.