title: How are session variables effected by cookies?
body: <p>EDIT (Answer):</p>
  
  <p>If you change your sub-domain say from www.hotname.com to hostname.com you will change cookies.  If your session rely on cookies(mine do) then you will have a new set of session variables.</p>
  
  <p>In short keep track of your domains/sub-domains when working with cookies.</p>