english/libraries/joomla/session/session.php
/**
	 * Restart an expired or locked session.
	 *
	 * @return  boolean  True on success
	 *
	 * @see     destroy
	 * @since   11.1
	 */
Restart an expired or locked session.
@return  boolean  True on success


Restart an expired or locked session . @return boolean True on success
public function restart()
	{
		$this->destroy();
		if ($this->_state !==  'destroyed') {
			return false;
		}
		$this->_store->register();
		$this->_state	=	'restart';
		$id	=	$this->_createId(strlen($this->getId()));
		session_id($id);
		$this->_start();
		$this->_state	=	'active';
		$this->_validate();
		$this->_setCounter();
		return true;
	}
public function restart ( ) { $ this -> destroy ( ) ; if ( $ this -> _state !== 'destroyed' ) { return false ; } $ this -> _store -> register ( ) ; $ this -> _state = 'restart' ; $ id = $ this -> _createId ( strlen ( $ this -> getId ( ) ) ) ; session_id ( $ id ) ; $ this -> _start ( ) ; $ this -> _state = 'active' ; $ this -> _validate ( ) ; $ this -> _setCounter ( ) ; return true ; }
Restart an expired or locked session.
Restart an expired or locked session .
// @TODO :: generated error here // Re-register the session handler after a session has been destroyed, to avoid PHP bug //regenerate session id