User’s Manual
WHG Controller / HSG Gateway
ENGLISH
238
gwmac
MAC format
(separated by ':')
Gateway activated WAN MAC address
client_ip
IP format
Client IP address
ipv6_addr
IPv6 format
Client IPv6 address
umac
MAC format
(separated by ':')
Client MAC address
session
String
Encrypted session information, includes:
client IP address, MAC address, date,
and return URL.
You will need to parse the required parameters in your html code. The following
HTML code segment is an example of parsing
loginurl
parameter with a self defined
javascript function:
<FORM action="" method="post" name="form">
<script language="Javascript">
form.action = getVarFromURL(window.location.href, 'loginurl');
</script>
<INPUT type="text" name="myusername" size="25">
<INPUT type="password" name="mypassword" size="25">
<INPUT name="button_submit" type="submit" value="Enter">
<INPUT name="button_clear" type="button" value="Clear">
</FORM>
The following shows the corresponding self-defined javascript function used to
parse the
loginurl
parameter:
function getVarFromURL(url, name) {
if(name == "" || url == "") { return ""; }
name = name.replace(/[\[]/|"\\\[").replace(/[\]]/|"\\\]");
var regObj = new RegExp("[\\?&]"+name+"=([^&#]*)");
var result = regObj.exec(url);
if(result == null) { return ""; }
else { return decodeURIComponent(result[1]); }
Содержание WHG315
Страница 1: ...User s Manual V2 20 WHG HSG Series Secure WLAN Controller Wireless Hotspot Gateway...
Страница 57: ...User s Manual WHG Controller HSG Gateway ENGLISH 57...
Страница 131: ...User s Manual WHG Controller HSG Gateway ENGLISH 131 corresponding configuration pages...
Страница 146: ...User s Manual WHG Controller HSG Gateway ENGLISH 146...
Страница 148: ...User s Manual WHG Controller HSG Gateway ENGLISH 148...
Страница 183: ...User s Manual WHG Controller HSG Gateway ENGLISH 183...
Страница 257: ...User s Manual WHG Controller HSG Gateway ENGLISH 257...
Страница 293: ...User s Manual WHG Controller HSG Gateway ENGLISH 293...
Страница 330: ...User s Manual WHG Controller HSG Gateway ENGLISH 330...
Страница 362: ...User s Manual WHG Controller HSG Gateway ENGLISH 362...