EasyManua.ls Logo

Ruijie RG-WLAN Series

Ruijie RG-WLAN Series
1243 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Configuration Guide Configuring Web Authentication
<script language="javascript">
//Obtain the information of the online user, including the user name, IP address, MAC address, and associated SSID of the
online user, and available time.
function requestOnlineInfo() {
var _availTime=document.getElementById("availtime");
var script=document.createElement(“script”);
script.src="getonlineinfo"+location.search;
_availTime.appendChild(script);
}
function init() {
requestOnlineInfo ();
}
//Script that is executed when the user clicks the Logout button. The request URI is offline.htm.
function logout() {
document.logoutform.action = "./offline.htm"+location.search;
document.logoutform.submit();
window.onbeforeunload = null;
window.onunload = null;
}
</script>
<body onload="init()">
<form method="post" action="/portal/offline.htm" id="logoutform">
<input type="button" onclick="logout()" value="Logout" id="logoutButton">
</form>
<table>
<tr><td>User name:</td><td id="username"></td></tr>
<tr><td>IP address:</td><td id="userip"></td></tr>

Table of Contents

Other manuals for Ruijie RG-WLAN Series

Related product manuals