H3C Technologies H3C WX3000E Series Wireless Switches User Manual
Page 412

396
•
The size of the zip file of each set of authentication pages, including the main authentication pages
and the page elements, must be no more than 500 KB.
•
The size of a single page, including the main authentication page and the page elements, must be
no more than 50 KB before being compressed.
•
Page elements can contain only static contents such as HTML, JS, CSS, and pictures.
Logging off a user who closes the logon success or online page
After a user passes authentication, the system pushes the logon success page logonSuccess.htm to the
user. If the user initiates another authentication through the logon page, the system pushes the online
page online.htm. You can configure the device to forcibly log off the user when the user closes either of
these two pages. To do so, add the following contents in logonSuccess.htm and online.htm:
1.
Reference to file pt_private.js.
2.
pt_unload(), the function for triggering page unloading.
3.
pt_submit(), the event handler function for Form.
4.
pt_init(), the function for triggering page loading.
The following is a script example with the added contents highlighted in gray:
... ...