117
<body onload=“pt_init();” onbeforeunload=“return pt_unload();”>
... ...
<form action=logon.cgi method = post onsubmit=“pt_submit()”>
... ...
</body>
</html>
Redirecting authenticated users to a specified web page
To make the device automatically redirect users passing authentication to a specified web page, do the
following in logon.htm and logonSuccess.htm:
1.
In logon.htm, set the target attribute of Form to
blank
.
See the contents in gray:
<form method=post action=logon.cgi target=“blank”>
2.
Add the function for page loading pt_init() to logonSucceess.htm.
See the contents in gray:
<html>
<head>
<title>LogonSuccessed</title>
<script type=“text/javascript” language=“javascript” src=“pt_private.js”></script>
</head>
<body onload=“pt_init();” onbeforeunload=“return pt_unload();”>
... ...
</body>
</html>
NOTE:
HP recommends that you use browser IE 6.0 or above on the authentication clients.
Ensure that the browser of an authentication client permits pop-ups or permits pop-ups from the access device.
Otherwise, the user cannot log off by closing the logon success or online page and can only click
Cancel
to
return back to the logon success or online page.
If a user refreshes the logon success or online page, or jumps to another web site from either of the pages, the
device also logs off the user.
If a user is using the Chrome browser, the device cannot log off the user when the user closes the logon success
or online page.
Configuring the local portal server
To make the local portal server take effect, you need to specify the protocol to be used for communication
between the portal client and local portal server.
Configuration prerequisites
Before you configure the local portal server to support HTTPS, complete the following tasks:
Configure PKI policies, obtain the CA certificate, and apply for a local certificate. For more
information, see the chapter ―PKI configuration.‖