Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Kal
    Kal is offline
    Regular Coder
    Join Date
    Dec 2005
    Posts
    309
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Long Polling working, however multiple tabs open

    Hi,

    I have long polling functionality working with Google Desktop Notifications.

    http://blog.perplexedlabs.com/2009/0...-long-polling/

    However if I have multiple tabs open then the Notification received from the server is duplicated on every tab.

    Is there way to prevent this from happening as it should only appear once?

    Thanks

  • #2
    Kal
    Kal is offline
    Regular Coder
    Join Date
    Dec 2005
    Posts
    309
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Managed to prevent duplicates from appearing. However I am struggling to prevent the long polling process from happening on every tab that is open. Any help would be great.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •