title: ASP.NET 'Session.Remove(key)' v/s 'Session(key) = nothing'
body: <p>I've seen developers use two approaches when they are done with a session object.</p>
  
  <p>1) Session.Remove(key)</p>
  
  <p>2) Session(key) = nothing</p>
  
  <p>What is the better approach of the two above? Does Session.Remove dispose the object stored automatically? </p>
  
  <p>Does the second approach depend on the garbage collector to actually free up the memory?</p>
  
  <p>EDIT:
  Thanks for the responses, guys. Seems like Session.Remove is the correct way to go. However, if Session.Remove does not guarantee the disposal of object, then what is the best way to dispose the object stored in session when we do not need it further?</p>
  
  <p>Thanks.</p>