Skip to content

Commit

Permalink
Check for session.use_trans_sid and session ID in URL in case cookies…
Browse files Browse the repository at this point in the history
… are disabled
  • Loading branch information
Clemens Weiß committed Jun 26, 2017
1 parent a9eb221 commit f209ef9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Network/Session.php
Expand Up @@ -538,7 +538,8 @@ protected function _hasSession()
{
return !ini_get('session.use_cookies')
|| isset($_COOKIE[session_name()])
|| $this->_isCLI;
|| $this->_isCLI
|| (ini_get('session.use_trans_sid') && isset($_GET[session_name()]));
}

/**
Expand Down

0 comments on commit f209ef9

Please sign in to comment.