Working with RADIUS attributes
Public access interface ASP functions and variables
15-87
iPassGetLogoutResponseCode()
Returns one of the following values when a user attempts to logout from iPass:
Web
GetWebFullURL(“http” | “https”)
This function returns the full URL (protocol, hostname and port) to the root of the Web
server as either HTTP or HTTPS.
Example
var url = GetWebFullURL("http");
GetHTTPProtocol()
Returns the protocol used when requesting the current Web page as a string. Possible values
are:
http
https
Example
var protocol = GetHTTPProtocol();
write(protocol); /* will write either "http" or "https" depending on the URL you typed to view
the page. */
Client information
LoadClientInformation()
This function initializes a set of variables that provide information on the user that is
requesting the current page.
ASP variables
client_username: String containing the username of the user if known.
client_useraccount_index: String that uniquely identifies the user’s account.
client_ip_address: String containing the IP address of the user that requested the page.
client_state: The user’s authentication state: 1 for authenticated, 0 otherwise If 0, all
other variables will contain their last value, unless the user was never authenticated, in
which case they will be blank.
150 Logout was successful.
255 The authentication server could not be reached due to an error on the controller
(Internet port not up, for example).