title: How do I share data across multiple browser tab or windows?
body: <p>I m currently building a facebook style notification system for my site.</p>
  
  <p>I m using long polling. So, the server sends data if its available and closes the connection.</p>
  
  <p>Now the problem i m facing is that, i want it to share across all open tabs or windows of that browser.</p>
  
  <p>I m using a cookie to detect if a tab is already executing the ajax call, so other tabs will not execute it until the operation of the first tab is complete.</p>
  
  <p>Now what i want is, to have an effective way, so that i can show the data across all open tabs in the form or a small fb style popup box. </p>
  
  <p>The goal is if the last active ajax call has some data, then a small popup box will show up on all open browser tab or windows.</p>
  
  <p>As, a theory i may be able to do it via cookie, but i want to know if there is some better way to do that.</p>
  
  <p>Thanks,
  Anjan</p>