src/bundles/Session/Manager.php
public function regenerate() 
	{
		do 
		{
			$id = \CCStr::random( 32 );
		}
		while ( $this->_driver->has( $id ) );
		
		$this->fingerprint = sha1( $id );
		return $this->id = $id;
	}
public function regenerate() 
	{
		do 
		{
			$id = \CCStr::random( 32 );
		}
		while ( $this->_driver->has( $id ) );
		
		$this->fingerprint = sha1( $id );
		return $this->id = $id;
	}
public function regenerate ( ) { do { $ id = \ CCStr :: random ( 32 ) ; } while ( $ this -> _driver -> has ( $ id ) ) ; $ this -> fingerprint = sha1 ( $ id ) ; return $ this -> id = $ id ; }
Generate a new session id and checks the dirver for dublicates.

@return string	The new generated session id.
Generate a new session id and checks the dirver for dublicates .