title: PHP Sessions in tab
body: <p>consider this problem </p>
  
  <ol>
  <li>In step 1 user selects a product i am storing $_SESSION['id'] = 55; </li>
  <li>Now user moves to step 2 and opens another product in a new tab.  </li>
  <li>Now moves to that tab It's now step 1 for the product2 </li>
  <li>Now $_SESSION['id'] is set 56;  </li>
  <li>User moves tab 1 and continues to step 3</li>
  <li>But now  $_SESSION['id'] = 56 and  not 55</li>
  </ol>
  
  <p>How can i prevent this. This is a cooked up problem so would like a generalized solution. </p>