These are called captive portals and are really easy to detect. When you detect a new wireless connection, try and hit a URL with a 204 response (obviously something known ahead of time). If you get anything but a 204, you know you've hit a captive portal (or something similar) and present the "next step" of configuring the wireless: signing in to the wireless network.
Android does something similar and it works really well on a technical level, though it doesn't do it soon/obviously enough so I guess users miss the norification.
These are called captive portals and are really easy to detect. When you detect a new wireless connection, try and hit a URL with a 204 response (obviously something known ahead of time). If you get anything but a 204, you know you've hit a captive portal (or something similar) and present the "next step" of configuring the wireless: signing in to the wireless network.
Android does something similar and it works really well on a technical level, though it doesn't do it soon/obviously enough so I guess users miss the norification.