title: PHP - Session per Tab
body: <p>Is it possible to make sessions per Browser tabs? </p>
  
  <p>As example a user opened 2 tabs in his browser:
  <strong>Tab 1</strong> and <strong>Tab 2</strong></p>
  
  <p>In <strong>Tab 1</strong> he has a session:</p>
  
  <pre><code>$_SESSION['xxx'] = 'lorem';
  </code></pre>
  
  <p>And in <strong>Tab 2</strong> the session is: </p>
  
  <pre><code>$_SESSION['xxx'] = 'ipsum';
  </code></pre>
  
  <p>Now on refresh i need to get the current session in the active tab. For example if the user refreshes Tab 2 i need to get the <code>$_SESSION['xxx']</code> for tab 2 on load which is 'ipsum'. But <code>$_SESSION['xxx']</code> shouldn't change on Tab 1. </p>
  
  <p>Is there any option to save sessions per tab. If not what are other options to handle this issue?</p>
  
  <p>Thanks for any help!</p>