public function restart()
	{
		$this->destroy();

		if ($this->_state !==  self::STATE_DESTROYED) {
			throw new LibSessionsException("Session is not destroyed!\n");
		}

		$this->_storage->register();

		$this->_state = self::STATE_RESTART;

		$id	= $this->_createToken(strlen($this->getId()));

		session_id($id);

		$this->_start();

		$this->_state = self::STATE_ACTIVE;

		$this->_setCounter();

		return true;
	}
public function restart()
	{
		$this->destroy();

		if ($this->_state !==  self::STATE_DESTROYED) {
			throw new LibSessionsException("Session is not destroyed!\n");
		}

		$this->_storage->register();

		$this->_state = self::STATE_RESTART;

		$id	= $this->_createToken(strlen($this->getId()));

		session_id($id);

		$this->_start();

		$this->_state = self::STATE_ACTIVE;

		$this->_setCounter();

		return true;
	}
public function restart ( ) { $ this -> destroy ( ) ; if ( $ this -> _state !== self :: STATE_DESTROYED ) { throw new LibSessionsException ( "Session is not destroyed!\n" ) ; } $ this -> _storage -> register ( ) ; $ this -> _state = self :: STATE_RESTART ; $ id = $ this -> _createToken ( strlen ( $ this -> getId ( ) ) ) ; session_id ( $ id ) ; $ this -> _start ( ) ; $ this -> _state = self :: STATE_ACTIVE ; $ this -> _setCounter ( ) ; return true ; }
restart an expired or locked session

@access public
@return boolean $result true on success
restart an expired or locked session