framework/web/CDbHttpSession.php
public function openSession($savePath,$sessionName)
	{
		if($this->autoCreateSessionTable)
		{
			$db=$this->getDbConnection();
			$db->setActive(true);
			try
			{
				$db->createCommand()->delete($this->sessionTableName,'expire<:expire',array(':expire'=>time()));
			}
			catch(Exception $e)
			{
				$this->createSessionTable($db,$this->sessionTableName);
			}
		}
		return true;
	}
public function openSession($savePath,$sessionName)
	{
		if($this->autoCreateSessionTable)
		{
			$db=$this->getDbConnection();
			$db->setActive(true);
			try
			{
				$db->createCommand()->delete($this->sessionTableName,'expire<:expire',array(':expire'=>time()));
			}
			catch(Exception $e)
			{
				$this->createSessionTable($db,$this->sessionTableName);
			}
		}
		return true;
	}
public function openSession ( $ savePath , $ sessionName ) { if ( $ this -> autoCreateSessionTable ) { $ db = $ this -> getDbConnection ( ) ; $ db -> setActive ( true ) ; try { $ db -> createCommand ( ) -> delete ( $ this -> sessionTableName , 'expire<:expire' , array ( ':expire' => time ( ) ) ) ; } catch ( Exception $ e ) { $ this -> createSessionTable ( $ db , $ this -> sessionTableName ) ; } } return true ; }
Session open handler.
Do not call this method directly.
@param string $savePath session save path
@param string $sessionName session name
@return boolean whether session is opened successfully
Session open handler . Do not call this method directly .