code/table/session.php
public function update($updateNulls = false)
	{
		$this->time = time();
		$ret = $this->_db->updateObject($this->_tbl, $this, 'session_id', $updateNulls);

		if (!$ret)
		{
			$this->setError(JText::sprintf('JLIB_DATABASE_ERROR_STORE_FAILED', strtolower(get_class($this)), $this->_db->stderr()));

			return false;
		}
		else
		{
			return true;
		}
	}
public function update($updateNulls = false)
	{
		$this->time = time();
		$ret = $this->_db->updateObject($this->_tbl, $this, 'session_id', $updateNulls);

		if (!$ret)
		{
			$this->setError(JText::sprintf('JLIB_DATABASE_ERROR_STORE_FAILED', strtolower(get_class($this)), $this->_db->stderr()));

			return false;
		}
		else
		{
			return true;
		}
	}
public function update ( $ updateNulls = false ) { $ this -> time = time ( ) ; $ ret = $ this -> _db -> updateObject ( $ this -> _tbl , $ this , 'session_id' , $ updateNulls ) ; if ( ! $ ret ) { $ this -> setError ( JText :: sprintf ( 'JLIB_DATABASE_ERROR_STORE_FAILED' , strtolower ( get_class ( $ this ) ) , $ this -> _db -> stderr ( ) ) ) ; return false ; } else { return true ; } }
Updates the session

@param   boolean  $updateNulls  True to update fields even if they are null.

@return  boolean  True on success.

@since   11.1
@deprecated  13.3  Use SQL queries to interact with the session table.
Updates the session