예제 #1
0
 public function setSessionId($id = null)
 {
     if (!empty($this->_sid)) {
         $id = $this->_sid;
     }
     return parent::setSessionId($id);
 }
예제 #2
0
 public function testGetEncryptedSessionId()
 {
     $sessionId = $this->_model->getEncryptedSessionId();
     $this->_model->setSessionId('new-id');
     $this->assertEquals($sessionId, $this->_model->getEncryptedSessionId());
 }