title: PHP Sessions across a network
body: <p>I have two PCs at home connected to my home network. </p>
  
  <p>On my site when a user logs in I set a session cookie with their name &amp; their ID e.g.:</p>
  
  <pre><code>$_SESSION["user_id"] = $row[user_id];
  $_SESSION["nwname"] = $firstname;
  </code></pre>
  
  <p>This obviously shows me they're logged in and thus can see their account.</p>
  
  <p>I was under the impression that a session was set per machine, yet when I log in on one PC it automatically changes to the same login on the other PC in the network.</p>
  
  <p>Is this supposed to happen? Is there a way around this?</p>