title: How to update a cookie in Django
body: <p>In other languages, it's very easy to update for example the expire date in a cookie, but I can't for my life figure out how to do it in Django!</p>
  
  <p>The reason for updating the expire date instead of setting a new cookie is so I don't have to do a database call on every page.</p>
  
  <p>EDIT:
  Thanks for all the answers, but it seems to be some confusion about what I'm trying to accomplish, so I'll try to be more precise:
  <strong>SETTING or GETTING a cookie is not the question</strong>. What I would like to know is <strong>how to UPDATE an already set cookie</strong>.
  Sorry for the misunderstanding!</p>