User’s Manual
HSG326 Wireless Hotspot Gateway
ENGLISH
133
(separated by ':')
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]); }
}
Содержание HSG326
Страница 1: ...User s Manual V1 00 00 HSG326 Wireless Hotspot Gateway ...
Страница 38: ...User s Manual HSG326 Wireless Hotspot Gateway ENGLISH 38 ...
Страница 78: ...User s Manual HSG326 Wireless Hotspot Gateway ENGLISH 78 ...
Страница 91: ...User s Manual HSG326 Wireless Hotspot Gateway ENGLISH 91 ...
Страница 93: ...User s Manual HSG326 Wireless Hotspot Gateway ENGLISH 93 ...
Страница 151: ...User s Manual HSG326 Wireless Hotspot Gateway ENGLISH 151 ...
Страница 199: ...User s Manual HSG326 Wireless Hotspot Gateway ENGLISH 199 ...
Страница 200: ...User s Manual HSG326 Wireless Hotspot Gateway ENGLISH 200 ...
Страница 216: ...User s Manual HSG326 Wireless Hotspot Gateway ENGLISH 216 ...