Re: get all current active connected users

2015-12-10 Thread Jani Tiainen
Hi, That last login field only applies when user really logs in. (IOW you call login() function from django.contrib.auth). After that user is persisted to session so there is no need to authenticate per request. Now if you have longer sessions than 24 hours user will stay logged in (I think

Re: get all current active connected users

2015-12-09 Thread Jon Ribbens
On Wednesday, 9 December 2015 12:55:22 UTC, Jani Tiainen wrote: > > This is really problematic domain since as you know, Django works on HTTP > request-response cycle. After cycle is finished there is absolutely no way > to know "who is logged on". > > So first you have to determine factors that

Re: get all current active connected users

2015-12-09 Thread Jani Tiainen
Hi, This is really problematic domain since as you know, Django works on HTTP request-response cycle. After cycle is finished there is absolutely no way to know "who is logged on". So first you have to determine factors that make up "currently active user". Then you have to track that inform