Working with RADIUS attributes
Public access interface ASP functions and variables
15-78
 free_access: A user account is created (with the user’s MAC address as the 
username and password) and the user is logged into the public access interface. If the 
login is successful, the user is redirected to the page specified by success_url. If the 
login is fails, the user is redirected to the page specified by error_url. 
 error_url: The URL to which the user is sent if the login fails. Applies to access_type = 
login or free_access.
 original_url: The URL that the user came from. Normally initialized using 
GetOriginalURL();
 password: Password to use for authentication. Applies to access_type = login.
 subscription_url: The URL to which the user is sent when access_type = subscribe.
 success_url: The URL to which the user is sent if the login is successful. Applies to 
access_type = login or free_access.
 username: Username to use for authentication. Applies to access_type = login.
 valid_fields: Name of the form fields to do validation upon.
HtmlLogout
This form performs a logout operation.
Field
 success_url: The URL to which the user is sent if the logout is successful.
Form errors
When the Web server validates a form, it builds a list of all fields that have validation errors. 
The following functions can be used to scan this list and retrieve error information for each 
field. 
GetLastFormSubmitFirstField()
Returns the name of the first field (as a string) that generated a validation error. If no error 
occurred for any fields in the form, an empty string is returned.
Example
var firstField = GetLastFormSubmitFirstField();
GetLastFormSubmitNextField(field_name)
Returns the name of the next field after the specified field_name that generated an error. 
This enables you to move through the field error list one field at a time.
The field name is returned as a string. If no error occurred for any other fields in the form, an 
empty string is returned.
Example
var nextField = GetLastFormSubmitNextField("previousField");