MSM7xx Controllers Configuration Guide v6.4.0
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 users account.
• client_ip_address: String containing the IP address of the user that requested the page.
• client_state: The users 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.
• client_session_time: The users session time, indicating how many seconds have elapse
since the user was first authenticated by the controller. Re-authentication will not affect
the value unless the authentication was terminated.
• client_session_idle_time: Indicates how many seconds have elapsed since the controller
first received traffic from this user that was inside the user's defined access-list
destination(s).
• client_session_transmitted_packets: Number of packets the user has transmitted to
destinations inside the user's defined access-list destination(s).
• client_session_transmitted_bytes: Number of bytes the user has transmitted to
destinations inside the user's defined access-list destination(s).
• client_session_received_packets: Number of packets the user has received from sources
inside the user's defined access-list destination(s).
• client_session_received_bytes: Number of bytes the user has received from sources
inside the user's defined access-list destination(s).
• client_subscription_plan_index: The subscription plan index with which the user account
is associated. A value of 0 indicates that the user account is not associated with a
plan.
• client_authentication_mode: Indicates how the user was authenticated:
0 - Unknown, authentication may be pending or the user is not authenticated.
1 - Authenticated using the local user accounts.
2 - Authenticated using a third-party RADIUS server.
3 - Authenticated using Active Directory.
• client_subscription_plan_name: Name of the subscription plan assigned to the user.
Additional information can be obtained using the function
LoadSubscriptionPlanInformation().
500 Working with RADIUS attributes










