Long polling in iOS6 Mobile Safari

Mobile Safari on iOS 6 limits server connections to one per server, this appears to prevent long polling/comet in ajax web apps. Wondering whether it's recognised as changed behaviour from previous versions and is anyone aware of if it be fixed?

etresoft wrote:
markdegroot wrote:
Long polling cannot be done synchronously because it would result in all webapp exectution waiting for the AJAX request to complete. The whole essence of long polling is that you do it asynchronously. For example: synchronously polling a service that takes 20 seconds to complete would result in the browser freezing for 20 seconds.
I will take that to mean that you haven't tried it yet.
I have now. And as I expected, synchronously polling causes the browser to hang. Also the XHR response never returns on the iPad but is cancelled after 10 seconds or so and then the second image is added. You can try it here: http://dev.negotica.net/iOSTest/index-sync.html .

Similar Messages

  • Photo upload in Mobile Safari

    Hi
    It seems that I can't upload a photo through a website in Mobile Safari as the "choose file for upload" box is greyed out so won't let me choose a photo from my phone to upload.
    Is there an update in iOS6 to sort this problem out?
    Kind regards

    Thanks again! Hopefully you're right; makes a lot of sense to enable file uploads from mobile devices seeing as there's several hundred million of them in use at present! Not long til iOS6, thank God! Cheers, again!

  • Images saved from Mobile Safari are significantly degraded

    When I tried to use an image saved from Mobile Safari as my wallpaper I noticed that it looked horrible. It was blurry and more importantly the dynamic range of the image had been compressed, blowing out all the detail in the bright areas of the image and making it contrastier. This is especially bad on the type of photo I was trying to use, a high-key image, where most of the detail is in the light tones. Much of the image was simply displayed as blank white.
    As a test I tried emailing the image I had saved into Photos to myself and compared it to the original I had saved from the web. Sure enough, the image was blurrier and had less dynamic range so it's not just an iPhone display issue. Also, the image was only 27% smaller in file size and the pixel dimensions were actually slightly increased. A quick re-save in Photoshop with JPEG quality set to low (4) reduced the file size by 53% while still not affecting the image anything like what the iPhone did. So it doesn't make sense that the poor quality is only due to resizing for faster transmission.
    Can anyone else confirm this or replicate the issue? I've verified this with a 1st gen and 3G iPhone side by side, both running OS 2.1.

    No, it's not only you.
    I noticed it too. As a matter of fact, I just posted a really long post in a thread about iPhone/iPod Touch's photo quality.
    See: http://discussions.apple.com/message.jspa?messageID=8132098#8132098

  • Is Mobile Safari's in-app multitasking (audio stream in one tab, browsing in another) gone for good?

    I cannot remember the last iOS version this feature actually worked, but in the past, I used to be able to open a tab in Mobile Safari, begin streaming audio from a website, pinch in to bring up standard UI again, and then open up another tab within Safari itself and continue to browse the web. All the while the streaming audio is still playing in the background.
    Now (and actually for the last few iOS versions, it's been a while), you cannot browse Safari while listening to a Safari audio stream at the same time. To me this makes no sense at all, because it's just a simple backgrounding concept. I can go off and use any other app on my phone, but not Safari itself.
    There ARE a few ways to kind of trick Safari into allowing you to browse and listen, but it's a poor workaround. You can go to the website, tap-and-hold on the stream URL, then select Open in Background. Doing so will begin the stream and keep you in the current webpage and then allow you to open more tabs.
    HOWEVER, if you ever select that audio stream tab, you can't control it consistently, and most of the time you'll get stuck in that tab and your solution is broken.
    For YEARS I've been waiting for Apple to fix this silly limitation with each new iOS release, but every time I find that it's never fixed. I'm just surprised that I don't hear more people complaining about it, because it's been a huge source of frustration for me for so long.
    Does anyone else experience this frustration or know if this is intentional (which would be enormously depressing if Apple purposely designed these functions) or if there are any better solutions to it than what I've come up with?

    Thanks for the heads up.
    Odd that I can't just email their support department.
    I'll post back with my results.

  • Issue closing mobile safari's top webpage

    Hi everyone,
    I'm a webdeveloper and I'm facign some problems using JavaScript.
    I have a routine that opens the navigator and reconfigure it(remove some bars, resize the navigator and another small things), it runs ok when I use Safari for PC and for Mac, but the situation doesn't repeat in Mobile Safari for iPad.
    When I try to run the same routine in iPad, the page blinks and close itself when I allow the pop-up manager to open the webpage, I read in the internet that some navigators don't allow to close the pages that aren't opened by script, for example(window.open("url")).
    How can I handle it?
    I tried to use this alternatives:
    - window.close()
    - self.close()
    - this.close()
    - top.close()
    - self.window.close()
    - function anyfunction(){
         window.open('', '_self', '');
            window.opener = 'x';
            window.close();
    Please, can anybody help me?
    Thanks in Advance!
    AlexPereira

    I have the same issue on my phone and I think it may due to the latest software upgrade. I use to be able to add a safari shortcut on my home page by hitting the "+" key and then tapping on "Add to Home Screen". However this function is no longer available on my phone. My wife's phone still has it because she has not upgraded her software yet. I have restored my phone as a new phone but that did not solve the problem either. Would appreciate any help from the forum.

  • Hello, I've updated the iPhone I have got I have a problem I hope you respond to some of the applications no longer work, such as the safari and skype and many applications are no longer working with the ios7.0.4

    Hello, I've updated the iPhone I have got I have a problem I hope you respond to some of the applications no longer work, such as the safari and skype and many applications are no longer working with the ios7.0.4

    Standard troubleshooting...
    1. Try a Restart by pressing the sleep/lock button until you see the slider.  Slide to power off.  Restart by pressing the sleep/lock button until you see the Apple logo.
    2. Try a Reset by pressing the home and sleep buttons until you see the Apple logo. Takes about 5-15 secs of button holding and you won't lose any data or settings.
    3. Remove apps from Recently Used (multi-tasking) list...
    - From any Home Screen, double tap the home button to bring up the Recents List
    - Swipe up on the app preview card to remove it from the list
    - Press the home button when done.
    4. If still a problem restore with your backup.
    5. If still a problem restore as new, i.e. without your backup. See how it runs with nothing synced to it.
    6. If still a problem, it's likely a hardware issue.

  • Takes long time to start mobile 5200

    Hello Friends,
    I have Nokia 5200 from last one year. These days, I am facing a strange problem, whenever I change a simcard, it takes too long time to start mobile, even more than half an hour. I am frustated by this. Can Anybody please help Me?
    Thanks in advance.
    Priyanka

    hi im michael from phil. just update your phone/using pc usb cable

  • HT1430 My IPAD 3 [5.1.1 (9B206)] has a problem. - It restarts every three (3) minutes: it goes out then comes back but lost the previous page (auto lock is set to 15 minutes) - It can no longer connect to the mobile network orange except Wireless (WIFI)

    My IPAD 3 [5.1.1 (9B206)] has a problem.
    - It restarts every three (3) minutes: it goes out then comes back but lost the previous page (auto lock is set to 15 minutes)
    - It can no longer connect to the mobile network orange except Wireless (WIFI)

    Not normal. Take it to an Apple Store for evaluation.
    Make a Genius Bar Reservation
    http://www.apple.com/retail/geniusbar/
     Cheers, Tom

  • After I installed the recent Apple security patch, I can no longer save PDFs when using Safari. And Firefox no longer can open website PDFs. Any suggestions?

    After I installed the recent Apple security patch, I can no longer save PDFs when using Safari. And Firefox no longer can open website PDFs. Any suggestions?

    Dansyacht wrote:
    If the previous Safari suggestion doesn't work try the following:
    In Finder, go to Macintosh HD/Library/Internet Plug-ins and move AdobePDFViewerNPAPI.plugin to the Disabled Plug-ins Folder.  Restart Safari.  If this works you may just want to delete that FUBAR plug-in.
    Thanks.  This was the solution for me.
    Message was edited by: tvdowntown

  • I can no longer open pdf files in safari 6.02.

    SAFARI CAN'T OPEN PDF'S ?
    I can no longer open pdf files in safari 6.02.  It worked fine up until  2 weeks ago.  The pdf's open in Foxfire and Chrome browsers.
    I can also download the pdf and open in acrobat directly.  Safari only shows the file as ASCII characters.
    Any suggestions?
    Thanks,
    GerryG860

    Back up all data.
    Triple-click the line of text below to select it, the copy the selected text to the Clipboard (command-C):
    /Library/Internet Plug-ins
    In the Finder, select
    Go ▹ Go to Folder
    from the menu bar, or press the key combination shift-command-G. Paste (command-V) into the text box that opens, then press return.
    From the folder that opens, remove any items that have the letters “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari, and test.
    I've seen an unconfirmed report that the "Silverlight" web plugin distributed by Microsoft can also interfere with PDF display in Safari, so you might need to remove it as well, if applicable.
    If you still have the issue, repeat with this line:
    ~/Library/Internet Plug-ins
    If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari again.

  • Since ios 7 I can no longer use google translate in safari.  I use this page every day to translate friends Facebook entries.  Anyone else having this problem?  And is there a fix?

    Since ios 7 I can no longer use google translate in safari.  I use this page every day to translate friends Facebook entries.  Anyone else having this problem?  And is there a fix?  Currently it is in my bookmark bar beside Facebook and worked fine until I upgraded top ios 7 a few days ago.

    Go to your Google translate bookmark.
    Type in a word then tap whatever language.
    Make a select for the language to be translated to by tapping Dutch (or whatever language you see in the box all the way to the right. You should see a language menu.

  • HT4550 The pdf engine in Safari has stopped working. I can no longer view pdf files in Safari. I get a black screen pdf files in Safari. Any ideas why?

    The pdf engine in Safari has stopped working. I can no longer view pdf files in Safari. I simply get a black window when pdf files are downloaded

    Hi..
    Go to   /Library/Internet Plug-Ins
    Move the AdobePDF browser plugin to the Trash.
    Try Safari.
    If you have problems locating the plugin...
    Open the Finder. From the Finder menu bar click Go > Go to Folder
    Type this exactly as you see it here:
    /Library/Internet Plug-Ins
    Click Go

  • How do you create a login page using dashcode for the iPhone's mobile safari that will transfer you to the next page?

         Hey I have created a login page in Dashcode for a mobile safari app (aka iphone web app) and I am having trouble since I can not find any useful info about multiple pages. I don't want to use a stack layout view because it is only a login page and I need to check with a database to make sure the user's login info is correct. Right now I have it set up so that it loads another iphone web app project once it validates the info.
         The only problem with this is I am having a good bit of trouble trying to pass values from my php code to javascript or html. For some reason calling the javascript inside the php code makes the actual code inside the app not be called and same with the echo statment for the html.
    So I would like to be able to create the app in this way:
    Login page > PHP > MS SQL > PHP > UNKNOWN (if I can't get the javascript or html to output both) > Secure info on the next page
         I believe It would be a lot easier if I had the option for a multiple page but instead I am having to load up an entirely new dashcode project. If anyone knows a better way please let me know. Or if anyone knows a link to good information on passing values from php to javascript, because I couldn't get any of the code I tried to work, I would really appreciate it.

    Addendum to previous reply:
    OK.  This is weird--but I should be used to that, and just grateful that it seems to work (for now).
    What I had done is FTPd some image files to my site using Filezilla, but when I had tried to access them, I was unsuccessful.  I am almost sure that I used the same url (and variations of it) as you suggested, namely,  http://mysite.verizon.net/username/filename , and it either did not work, or gave me the "Page under construction", or, in some cases asked me for my username and password.
    But, when I did it this time, it worked.  So I probably had something off, but I can now do what I want.
    By the way, if you'll permit another question, while on the site-builder site, it said that there was a "Web Photo Manager", and said that "To download the Web Photo Manager: Open the Site Builder application and go to the All My Sites page. Click on the Web Photo Manager link (listed under Advanced Building Tools )."  I can't find it--would you happen to know where it is?
    In any case, thanks a lot for all your help--it solved my problem. 

  • How can I make google search links open in the same tab in mobile safari?

    I have iphone 5 with ios 7.0.4 and my wife has the same one.
    In my iphone, when I open one link of the google search result page, mobile safari always lauch a new tab and load the linke into the new tab.
    But I want to make it open in the same tab and actually it does in my wife's iphone.
    I don't know what difference make this...

    Hi
    Please take a look to this thread Re: Can I refresh the browser rather than open a new tab?

  • Image Won't Display In Mobile Safari

    I'm developing a website, it validates properly, and it works perfectly in Chrome, FireFox, Internet Explorer, and Desktop Safari. The only problem that I'm having with it is in Mobile Safari for iOS. I have a div element with an <img> tag inside it. On a desktop browser, it will show it. However, iOS will display a missing image icon instead. This only occurs on iOS. You can test it out yourself by going to http://covu.optini.com first in your desktop browser and then again in your Mobile Safari browser. Could anyone please give me some insight as to why this would be happening? Thanks. All the other images display correctly in Mobile Safari.

    Update: It works perfectly on iOS5 Mobile Safari. It isn't working on iOS 4.3.3's Safari.
    I hate to double post, but the edit button wasn't showing up.

Maybe you are looking for

  • Question about animated gif

    Is this possible to accomplish using only Photoshop? (without resorting to Flash etc...) Let's say I am creating an animated gif of a simple transition from image 1 to image 2 to image 3 and back to 1 again. Can I make all 3 images link to separate u

  • CIN : decimal problem in export excise invoice

    Hi all, I have issue, we are in export sales and we activated 5 decimal option for our customer. issue is  we made a export billing document with ref that export excise invoice. - in my billing doc ED exchange rate is 47.4  and the unit price is 1.63

  • White Space between Objects?

    Alright, I seem to be having a problem to where there is white space between objects and no matter how many times I intersect paths I still have white-space between objects. Obviously if you are making some sort of illustration, even a pixel worth of

  • Who gets the dACL in ISE for this????

    I have an access ports with voice ports. Which traffic gets the dACL? Is it the data the voice, or both? What if the PC is getting it's IP through the phone switch? Currenly I have dACL's for both traffic, but I started thinking and I was not sure. B

  • BCM - Approval status

    Hi All, I made all relevant settings for BCM. Run the APP & created payment batch. Also got it approved. Even after downloading the file, the batch is not being moved from "Approved" status to "Sent to Bank" status. (Refer TCode BNK_MONI). Is there a