public void expireSessions(List<HTTPSession> sessions) {
		long now = System.currentTimeMillis();
		long maxOld = now - (config.getWebSessionExpire() * 1000);

		for(int index=sessions.size() - 1; index >= 0; index--) {
			if (sessions.get(index).getLastUpdate() < maxOld) {
				CoffeeSaint.log.add("Session with " + sessions.get(index).getHost() + " expired.");
				sessions.remove(index);
			}
		}
	}