title: Store object in asmx to session and get this value in master page - get null
body: <p>I try to store my object to session in a asmx web service </p>
  
  <pre><code> user = new MyUser(UserName);
   Session["user"] = user;
  </code></pre>
  
  <p>and read from a master page in page load section but I get null</p>
  
  <pre><code>user = (MyUser)Session["user"];
  </code></pre>
  
  <p>it work when I try with a simple string instead of <code>MyUser</code> object </p>
  
  <p>Any idea? </p>
  
  <p>Thanks. </p>