Public/guest network access
Customizing the public access interface
14-17
Delivering dynamically generated content
Another way to generate custom pages is to add placeholders in the URLs for the custom
external pages and then use server-side scripting to dynamically create the pages. This
method provides a powerful mechanism to automatically generate completely customized
pages on a per-user basis. Rather than designing one or more static pages, as in the previous
example, the custom pages in this example can be built on-the-fly based on user preferences
stored in a central database, or based on a user’s location within the network.
For example, if you want to generate a custom welcome page for each user:
1. Add the following entry to the RADIUS profile for the controller.
welcome-url=web_server_URL/custom/
welcome.html?loginname=%u&IPaddress=%i
2. Create a server-side script to retrieve the user’s login name (%u) and the controller IP
address or domain name (%u). The script can use this information to then display a
custom page based on user’s preferences (stored in the server database) and the user’s
location within the wireless network.
Supporting PDAs
Users using PDAs that only support a single browser window will have difficulty using the
public access interface in its standard configuration.
Once a user logs in to the public access interface, two Web pages are sent to their browser:
the Welcome page and the Session page.
The Session page contains a logout button. Users who are unable to view this page will not be
able to log out.
To solve the problem, modify the Welcome page to include a logout button.
1. Create a folder called PDAusers on your Web sever.
2. See Sample public access pages on page 14-15. Copy public access sample files
welcome.html and goodbye.html into the PDAusers folder.
3. Edit welcome.html to include a logout link with the target:
http://controller_name:port/goform/HtmlLogout.
For example:
http://wireless.mycompany.com:8080/goform/HtmlLogout.
Adds a warning to this page that tells PDA users to bookmark the Welcome page so that
they can logout.
4. Add the following entry to the RADIUS profile for all PDA users:
welcome-url=web_server_URL/PDAusers/welcome.html