I have created application in which on each page at header loading the notifications, messages using the ajax call.
I have repeated the action with difference of half minute.
So after every half minute the new request to server has initiated.
I found that if user open the application in multiple tabs then each tab fire the request to server for the new notification/message check.
So each new tab create 1 extra requests.
How do I normalize the condition?
I mean to say---I just want to fire the single request to server for the notification/message check all-thought user open multiple tab and also update the data in each opened tab of application.