title: how can i create a copy of an object in session to update without updating session?
body: <p>I am confused about how to reference objects in session, how to update, and copy.</p>
  
  <p>if I create 
      MyObject obj = new Object ();<br>
  then 
      Session["object"] = obj;</p>
  
  <pre><code>MyObject temp = (MyObject)Session["object"];
  </code></pre>
  
  <p>If i change something on temp, will the object in session be updated?</p>
  
  <p>do i need to follow changes with Session["object"] = temp
  ?</p>
  
  <p>THANK YOU!</p>