public static function valid() {
		if (static::start() && static::read('Config')) {
			if (static::_validAgentAndTime() && static::$error === false) {
				static::$valid = true;
			} else {
				throw new InternalErrorException('Session Highjacking Attempted !!!');
			}
		}
		return static::$valid;
	}
public static function valid() {
		if (static::start() && static::read('Config')) {
			if (static::_validAgentAndTime() && static::$error === false) {
				static::$valid = true;
			} else {
				throw new InternalErrorException('Session Highjacking Attempted !!!');
			}
		}
		return static::$valid;
	}
public static function valid ( ) { if ( static :: start ( ) && static :: read ( 'Config' ) ) { if ( static :: _validAgentAndTime ( ) && static :: $ error === false ) { static :: $ valid = true ; } else { throw new InternalErrorException ( 'Session Highjacking Attempted !!!' ) ; } } return static :: $ valid ; }
Returns true if session is valid.

@return bool Success
Returns true if session is valid .