title: How to find object in nHibernate/castle activerecord session
body: <p>I am getting the following error in an Asp.Net Castle ActiveRecord app when trying to update an object:</p>
  
  <p>"a different object with the same identifier value was already associated with the session"</p>
  
  <p>I've looked up and down my code to see where else the object might have been created but I'm not seeing it. This is baffling as I have the exact same code  on another page that works fine on updates</p>
  
  <p>Now I'm thinking of trying to see where this other object is in the Session and either kill it or find out how it got into the session. How can I find this object?</p>
  
  <p>[Update]
  Ok, I finally found where the object is being called. However, I would still like to know how to find objects in the session for future reference. </p>