english/libraries/joomla/session/session.php
/**
	 * Check whether this session is currently created
	 *
	 * @return  boolean  True on success.
	 *
	 * @since   11.1
	 */
Check whether this session is currently created
@return  boolean  True on success.


Check whether this session is currently created @return boolean True on success .
public function isNew()
	{
		$counter = $this->get('session.counter');
		if ($counter === 1) {
			return true;
		}
		return false;
	}
public function isNew ( ) { $ counter = $ this -> get ( 'session.counter' ) ; if ( $ counter === 1 ) { return true ; } return false ; }
Check whether this session is currently created
 @return  boolean  True on success.
Check whether this session is currently created @return boolean True on success .