コード例 #1
0
ファイル: Redis.php プロジェクト: pradeep-wagento/magento2
 /**
  * {@inheritdoc}
  */
 public function read($sessionId)
 {
     try {
         return parent::read($sessionId);
     } catch (ConcurrentConnectionsExceededException $e) {
         require $this->filesystem->getDirectoryRead(DirectoryList::PUB)->getAbsolutePath('errors/503.php');
     }
 }
コード例 #2
0
ファイル: Session.php プロジェクト: joanhe/Cm_RedisSession
 /**
  * Fetch session data
  *
  * @param string $sessionId
  * @return string
  */
 public function read($sessionId)
 {
     return $this->sessionHandler->read($sessionId);
 }