english/libraries/joomla/session/session.php
/**
	 * Start a session.
	 *
	 * Creates a session (or resumes the current one based on the state of the session)
	 *
	 * @return  boolean  true on success
	 *
	 * @since   11.1
	 */
Start a session.
Creates a session (or resumes the current one based on the state of the session)

@return  boolean  true on success


Start a session . Creates a session ( or resumes the current one based on the state of the session ) @return boolean true on success
protected function _start()
	{
		if ($this->_state == 'restart') {
			session_id($this->_createId());
		} else {
			$session_name = session_name();
			if (!JRequest::getVar($session_name, false, 'COOKIE')) {
				if (JRequest::getVar($session_name)) {
					session_id(JRequest::getVar($session_name));
					setcookie($session_name, '', time() - 3600);
				}
			}
		}
		session_cache_limiter('none');
		session_start();
		return true;
	}
protected function _start ( ) { if ( $ this -> _state == 'restart' ) { session_id ( $ this -> _createId ( ) ) ; } else { $ session_name = session_name ( ) ; if ( ! JRequest :: getVar ( $ session_name , false , 'COOKIE' ) ) { if ( JRequest :: getVar ( $ session_name ) ) { session_id ( JRequest :: getVar ( $ session_name ) ) ; setcookie ( $ session_name , '' , time ( ) - 3600 ) ; } } } session_cache_limiter ( 'none' ) ; session_start ( ) ; return true ; }
Start a session.
Start a session .
// Start session if not started