Quote:
Originally Posted by zbaron
To get in just before the general release of OS 3.0, i've found a fix to stop the "login" sheet from appearing when connecting to the open WLAN.
I've inserted the following code into the top of the index page to return a 400 response to the CaptiveNetworkSupport UA.
Code:
<?php
if (preg_match ("/CaptiveNetworkSupport/", $_SERVER["HTTP_USER_AGENT"])) {
header ("HTTP/1.0 400 Bad Request");
exit ();
}
?>
We've tested this on the 3.0 GM and it's working fine.
|
Hello, I'm currently running an iPod Touch 2G with the 3.0 OS and I'm facing the same problem at my college. Unfortunately my english is not very well and I don't understand how I should act now.
I need this fix to prevent the browser from opening after connection to the public network. Would it be possible to write an "user friendly" manual how to do it? That would be very nice.
Greetings, sMiNt