For a list of users online now:
1) Add attribute to RegularUser BO:
RegularUser.LoggedOnNow (Yes/No type)
2) Add rule to RegularUser BO:
If NMB_OF_SESSIONS(RegularUser)>0 Then
RegularUser.LoggedOnNow='Yes'
ELSE
RegularUser.LoggedOnNow='No
3) Run a process with these rules:
FIND ALL RegularUser
UPDATE RegularUser
DISPLAY 'Users Online Now'
4) Query will have the following FIND:
FIND RegularUser WHERE RegularUser.LoggedOnNow='Yes'
Identifying Users Online Now
Identifying Users Online Now
Tom - V8.8 build 3137 - MySql / PostGres
Re: Identifying Users Online Now
Hi,
If users closes the browser without clicking the "logout" button -> than the users still appears online.
Do you know how to kick off those zombie online users?
Thx,
If users closes the browser without clicking the "logout" button -> than the users still appears online.
Do you know how to kick off those zombie online users?
Thx,
Thx,
George
________________________________
Developer Edition
AwareIM: v8.5, build 2824
OS: Windows Server 2012
DB: MySql 5.6.42
George
________________________________
Developer Edition
AwareIM: v8.5, build 2824
OS: Windows Server 2012
DB: MySql 5.6.42
Re: Identifying Users Online Now
When those users time out, they should disappear from the list.
Tom - V8.8 build 3137 - MySql / PostGres
Re: Identifying Users Online Now
Yes,
Unfortunately I have a huge time out set, because my users complained about that they are timed out to quickly.
Don't know how to find a compromise here ...
Unfortunately I have a huge time out set, because my users complained about that they are timed out to quickly.
Don't know how to find a compromise here ...
Thx,
George
________________________________
Developer Edition
AwareIM: v8.5, build 2824
OS: Windows Server 2012
DB: MySql 5.6.42
George
________________________________
Developer Edition
AwareIM: v8.5, build 2824
OS: Windows Server 2012
DB: MySql 5.6.42