So I have been trying to dig up information about Mac-Cookies, however am coming up a little short.
The Hotspot Manual has this...
MAC cookie is a new hotspot feature, designed to improve accessibility for smartphones, laptops and other mobile devices.
When MAC cookie feature is enabled (login-by=mac-cookie, add-mac-cookie=yes set in user profile), following actions are taken:
first successful login. Mac cookie keeps record of username and password for the MAC address if there is only one host with such MAC. Cookie timeout is set to value equal to mac-cookie-timeout.
new host appears. Hotspot checks if there is a mac cookie record for the MAC address and logs in host using recorded username and password. If there is more than one host with the same MAC address, user will not be logged in and MAC cookie record for this address will be deleted.
When user logs out mac cookie is removed in following cases:
user-request - user clicked on logout button.
admin-reset - disconnected from radius server or user is removed from hotspot active menu
nas-request - traffic limit reached
I am Wondering under which circumstances the Mac-Cookie then actually persists - if removing a user, user logout and session timeout all remove the cookie - what other ways of disconnecting from "Active" requires a login that Mac-Cookie can Supply.
Would be very helpful to my scripting as I am currently creating a system that creates and kicks a user to assign properties that I wish for them to have, that they cannot get from regular trial settings. On PC, and most Android, this system currently works a treat, due to having to go to a real web page to "log in" and being given a regular http-cookie - however, Mac, iOS, WP7/8/8.1 and New Android take you to a "Login Page" independent of browser and not appearing to store the Http-Cookie.
Sites with a Button Click Trial is easy, it displays again and then is just clicked again - access allowed - But Event Sites and the likes, sometimes we would like to track - email addresses and such (enter e-mail, click to proceed) - so leaves people having to Double enter e-mail address when on these (once on the connected popup, and again on the web page).
Any info as to how exactly I can get Mac-Cookie to stick around, to add a Mac-Cookie, or even better to Add and "Active" User, would be awesome.