private URL isRedirectpage(HTMLPage page) {
		
		// check for META tag with Refresh
		for (HTMLComponent c : page.getChildren()) {
			if (c instanceof HTMLMeta) {
				HTMLMeta meta = (HTMLMeta)c;
				final String message = String.format("WebSession.isRedirectURLPage(%s) found META tag %s", page, meta);
				logger.info(message);
				if (!"refresh".equalsIgnoreCase(meta.getMetaEquiv())) {
					continue;
				}
				String content = meta.getMetaContent();
				HtmlRedirect redir = HtmlRedirect.parse(content, variables);
				if (redir.url != null) {
					return redir.url;
				}
				// Some sites like mrtg use just a number, to refresh the page
				// periodically forever; a number only will leave the URL null so we get here.
				// Don't return in case of the off chance there might be a 2nd meta redir tag.
			}
		}
		// We did not find any meta refresh tags, so return null.
		logger.info(String.format("isRedirectpage(%s) returning null.", page));
		return null;
	}