Exemple #1
0
 /**
  * Open the session store
  *
  * @return bool
  */
 public function open()
 {
     // Make sure storage container exists
     if ($this->_storageType == self::STORAGE_TYPE_TABLE) {
         $this->_storage->createTableIfNotExists($this->_sessionContainer);
     } elseif ($this->_storageType == self::STORAGE_TYPE_BLOB) {
         $this->_storage->createContainerIfNotExists($this->_sessionContainer);
     }
     // Ok!
     return true;
 }