Re: Problem with clearsession admin command and file based sessions

2013-11-28 Thread Douglas Fraser
well, yes, I see that. But anything relying upon get_expiry_age returning the actual number of seconds left (like in the clearsessions logic) rather than a constant all the time is going to fail in this scenario. If SESSION_EXPIRES_AT_BROWSER_CLOSE is True, that is the global expiry policy

Re: Problem with clearsession admin command and file based sessions

2013-11-28 Thread Tom Evans
On Thu, Nov 28, 2013 at 5:10 PM, Douglas Fraser wrote: > > > On Thursday, November 28, 2013 4:49:37 PM UTC, Douglas Fraser wrote: >> >> Hi, >> >> The website I deal with uses file based sessions, and there is no >> logging in of users or anything like that. Most of the

Re: Problem with clearsession admin command and file based sessions

2013-11-28 Thread Douglas Fraser
On Thursday, November 28, 2013 4:49:37 PM UTC, Douglas Fraser wrote: > > Hi, > > The website I deal with uses file based sessions, and there is no > logging in of users or anything like that. Most of the time, no data is > put into the session, and the session expiry time is not explicitly

Problem with clearsession admin command and file based sessions

2013-11-28 Thread Douglas Fraser
Hi, The website I deal with uses file based sessions, and there is no logging in of users or anything like that. Most of the time, no data is put into the session, and the session expiry time is not explicitly set in the code. I've set SESSION_COOKIE_AGE to 48 hours, and so I'd expect the