title: How to set up Django app to make cookies work on subdomain
body: <p>I have deployed my application on subdomain.domain.com (it works only on that one subdomain). Everything works fine except the fact that from time to time users cannot log in to application (the message <code>"Looks like your browser isn't configured to accept cookies. Please enable cookies, reload this page, and try again"</code> is shown when trying to log into admin panel). I've noticed that restarting the web server eliminates this problem for some time.</p>
  
  <p>Does anyone have experience with setting up django project on subdomain and can guide me how to configure my application to make it work correctly without need to ocasionally make reset?</p>
  
  <p>I'd tried to set up SESSION_COOKIE_DOMAIN = 'subdomain.domain.com' setting but it didn't solve the problem (maybe I set it wrong?)</p>
  
  <p>I use Django 1.1.1, Python 2.5.4 for this project. Project is deployed in provider I use for other projects and cookies works there perfectly. Other projects run also on subdomains and do not have SESSION_COOKIE_DOMAIN set at all.</p>