Objective
Router, authentication server, handheld wireless terminal. When connected to a WiFi that requires authentication via a handheld wireless device, what is the solution to the popup window? Why don't you pop up a window sometimes? How to give the merchant a reasonable explanation?
Validation issues
What happens when you look at a popup window by grabbing a packet on the router? The method of grasping the package is as follows http://blog.csdn.net/qianguozheng/article/details/32108093
What happens when the authentication window pops up?
The authentication window does not pop up when the authentication window is not ejected.
Principle Analysis
https://developer.apple.com/library/ios/documentation/NetworkingInternetWeb/Conceptual/NetworkingOverview/ Platform-specificnetworkingtechnologies/platform-specificnetworkingtechnologies.html
Register for captive network Supporta Captive Network is a Wi-Fi network that doesn ' t provide Internet access until the US Er performs some action, such as logging in, specifying payment, or agreeing to terms and conditions. Captive networks common in public areas, such as airports and hotels. When a user joins a captive network, captive network support typically provides a web sheet that allows the user to Authen Ticate with the network. If your application registers the SSID of the captive network, however, the web sheet is suppressed, and the user can comp Lete Authentication in your application. For more information, read Captivenetwork Reference
https://developer.apple.com/library/ios/documentation/SystemConfiguration/Reference/CaptiveNetworkRef/ Reference/reference.html#//apple_ref/doc/uid/tp40009770-ch101-dontlinkelementid_4
Overviewthe Captivenetwork Programming interface allows an application to interact with captive Network support, the Syste M component responsible for detecting networks that require user interaction before providing Internet access. These networks is most commonly WiFi hotspots on public locations such as airports and hotels. By calling the Cnsetsupportedssids function, an application can register a list of wireless network SSIDs with captive Net Thereby assuming responsibility for authenticating with those networks. Typically when a user joins a captive network, captive network support provides a web sheet that allows the user to Authen Ticate with the network. If an application have registered the SSID of the captive network, however, the web sheet is suppressed, and the user can C Omplete authentication in the appropriate application. After a user performs authentication in the application that registered the SSID, the application should inform captive Ne Twork Support of thE result of the authentication with either the Cnmarkportalonline function or the Cnmarkportaloffline function
Summarize
iOS is the crystallization of Apple, this is the maximum to provide users with a good user experience, make the function, but not a standard, so meet their own problems can not be explained, from the principle of analysis, fundamentally solve the problem, do not wait until the problem to the point of unmanageable, just to think how to do.
Captive.apple.com is an Apple server. Used to enhance the user experience.