title: How to logout an inactive user in django?
body: <p>I want the session removed when the user is inactive for a certain period of time. </p>
  
  <p>I tried <code>set_expiry(300)</code> and <code>SESSION_COOKIE_AGE = 5 * 60</code>, but the session was not extended even if the user was active.</p>