english/libraries/joomla/database/table/session.php
/**
	 * Purge old sessions
	 *
	 * @param   integer  $maxLifetime  Session age in seconds
	 *
	 * @return  mixed    Resource on success, null on fail
	 *
	 * @since   11.1
	*/
Purge old sessions
@param   integer  $maxLifetime  Session age in seconds

@return  mixed    Resource on success, null on fail


Purge old sessions @param integer $maxLifetime Session age in seconds @return mixed Resource on success null on fail
function purge($maxLifetime = 1440)
	{
		$past = time() - $maxLifetime;
		$query = 'DELETE FROM '. $this->_tbl .' WHERE (time < \''. (int) $past .'\')'; 
		$this->_db->setQuery($query);
		return $this->_db->query();
	}
function purge ( $ maxLifetime = 1440 ) { $ past = time ( ) - $ maxLifetime ; $ query = 'DELETE FROM ' . $ this -> _tbl . ' WHERE (time < \'' . ( int ) $ past . '\')' ; $ this -> _db -> setQuery ( $ query ) ; return $ this -> _db -> query ( ) ; }
Purge old sessions
 @param   integer  $maxLifetime  Session age in seconds
Purge old sessions @param integer $maxLifetime Session age in seconds
// Index on 'VARCHAR'