Working with RADIUS attributes
Public access interface ASP functions and variables
15-92
SetSessionRefreshInterval(sec)
Specifies the refresh interval for the session page in seconds.
write(string)
Writes the specified string to the browser.
Example
write("<p>You are connected.</p>");
LoadAccessInformation()
This function initializes a set of variables that provide information on the site access options
configured on the Controller >> Public access > Web content page.
ASP variables
access_free: Set to 1 if the Free Access option is enabled.
access_purchase: Set to 1 if the Allow creation of user accounts option is enabled.
Example
LoadAccessInformation();
if (access_free) {
<p>Welcome to your free trial of the new high-speed wireless network service.</p>
}
LoadPaymentInformation()
This function initializes a set of variables that provide information on the current payment
services configured on the Controller >> Public access > Payment services page.
ASP variables
payment_currency: Contains the 3-letter code identifying the currency that will be used
for all transactions.
payment_cc_gateway: Returns a string that identifies the payment service that is
configured. Either authorize.net or worldpay.
Example
LoadPaymentInformation();
if (payment_currency == "USD") {
write(subscription_plan_fee + " $");
}
LoadWorldPayInformation()
This function initializes a set of variables that contain WorldPay-specific information.