...

View Full Version : Long Polling working, however multiple tabs open



Kal
08-18-2011, 11:50 AM
Hi,

I have long polling functionality working with Google Desktop Notifications.

http://blog.perplexedlabs.com/2009/05/04/php-jquery-ajax-javascript-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

Kal
08-19-2011, 10:33 AM
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.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum