I added an ajax call to log the user out when they close the browser.
It works in Firefox and Chrome but is this an acceptable/safe
practice?
I experimented with
SESSION_SAVE_EVERY_REQUEST=True
SESSION_COOKIE_AGE = 300
which works but I can't guarantee that requests are sent frequently
enough to
On Dec 10, 3:07 pm, Stodge wrote:
> I'm trying to limit the number of concurrent users attached to my
> Django website. For example I need to implement a floating license
> system. I've seen a few snippets but so far I think they all implement
> a middleware. I'm trying to avoid using a middleware
I'm trying to limit the number of concurrent users attached to my
Django website. For example I need to implement a floating license
system. I've seen a few snippets but so far I think they all implement
a middleware. I'm trying to avoid using a middleware because I don't
want the overhead on every
3 matches
Mail list logo