title: Django SESSION_COOKIE_DOMAIN on localhost
body: <p>When I set <code>SESSION_COOKIE_DOMAIN = '.mysite.com'</code> and then run the production site, the site creates the proper cross domain cookie and it's set to <code>.mysite.com</code>. However, if I set <code>SESSION_COOKIE_DOMAIN = '.localhost'</code> and run the local development server at <code>localhost:8000</code> the cookie that is created is the non-cross domain cookie <code>localhost</code>.</p>
  
  <p>Why might this be the case?</p>
  
  <p>Thanks.</p>