Configuration Guide Configuring Web Authentication
var script=document.createElement("script");
script.src="getofflineinfo"+location.search;
_timeused.appendChild(script);
}
function init() {
requestUserInfo();
}
</script>
<body onload="init()">
……
</body>
The HTML source code of the offline page is as follows:
<html>
<head>
<title>Web authentication offline page</title>
</head>
<script language="javascript">
//Obtain the used time information.
function requestOfflineInfo() {
var _timeused=document.getElementById("timeused");
var script=document.createElement("script");
script.src="getofflineinfo"+location.search;
_timeused.appendChild(script);
}
function init() {
requestOfflineInfo();
}