Allied Telesis AT-WR4500 User Manual
Page 241

AT-WR4500 Series - IEEE 802.11abgh Outdoor Wireless Routers
241
RouterOS v3 Configuration and User Guide
(you should correct the link to point to your server)
•
To erase the cookie on logoff, in the page containing link to the logout (for example, in status.html)
change:
open('$(link-logout)', 'hotspot_logout', ...
to this:
open('$(link-logout)?erase-cookie=on', 'hotspot_logout', ...
or alternatively add this line:
before this one:
An another example is making HotSpot to authenticate on a remote server (which may, for example,
perform creditcard charging):
•
Allow direct access to the external server in walled-garden (either HTTP-based, or IP-based)
•
Modify login page of the HotSpot servlet to redirect to the external authentication server. The
external server should modify RADIUS database as needed
Here is an example of such a login page to put on the HotSpot router (it is redirecting to
https://auth.example.com/login.php, replace with the actual address of an external authentication server):
•
The external server can log in a HotSpot client by redirecting it back to the original HotSpot servlet
login page, specifying the correct username and password
Here is an example of such a page (it is redirecting to https://hotspot.example.com/login, replace with the
actual address of a HotSpot router; also, it is displaying www.alliedtelesis.com after successful login,
replace with what needed):