If you have questions or if you want to share your opinion about Aware IM post your message on this forum
#50350 by BLOMASKY
Tue Feb 12, 2019 9:36 pm
Is there a way to see who is logged onto the system? (Yes, I can have a process update "date logged on" in RegularUser, but I have no way to know when they close the browser (ok, no EASY way!).

Does aware have any process to show me a list of Active Users?

Bruce
#50351 by T0M
Tue Feb 12, 2019 10:42 pm
Aren't people who close their browser automatically logged out on "timeout"?

If the "logout event" does not fire in that case, maybe the following is helpful in getting creative to get stats:

page 129 user guide
The Properties window will show other properties of the business space version:
 Timeout page – a page that the system will display when a browser session times
out. If not specified the default one will be used



page 411
Function: NMB_OF_SESSIONS
Description: Returns the number of time a particular user is logged in the system,
0 is returned if the user is not logged in



Else, piwik (now matomo) is able to give you all stats just like google analytics. Easy, but no idea how/if easy to integrate with aware.
#50352 by BLOMASKY
Wed Feb 13, 2019 12:42 am
i have timeout set to 60 min, since peeps sit at their computer sometimes for a while between using it and they complain they have to re-log on.

Does Aware have any way to give me a list of users and perhaps time of last activity or if they are still alive?

Bruce
#50353 by intra
Wed Feb 13, 2019 6:54 am
If i remember correctly, you need to adjust the 'timeout' value in the control panel / configuration file and Tomcat configuration file.
#50359 by RLJB
Wed Feb 13, 2019 11:00 pm
From our experience the answer is "no"

I'm not sure how you/Aware would define if a User is inactive or just sitting there idle (amazed at the wonder of your app). We set our timeout to 3 hours and still get User complaints about it.
#50360 by Jaymer
Wed Feb 13, 2019 11:56 pm
"who is using my app?" is vague?
Do you mean I wonder who logged into my SAAS app today (or this week)?, OR
I wonder what users logged in today?, OR
I wonder who is currently in my system right now?


If you are viewing a query, and go to lunch and come back 3 hours later (like Bruce usually does), if your timeout was set to 10 mins, you can see a Log message (if your Logging was on) of Aware getting the Logout notification (and whatever code runs at that point).

I wonder what the mechanism is that Aware uses to activate the timeout?
Like... if its 10 minutes, who initiates the actual timeout...
a) does it happen the next time the users refreshes the screen (I don't think so. he may get a timeout msg, but the Logout Notification has already happened.)
b) does Aware have an internal in-memory table with a timestamp for when this session is void? and if so, then that time gets pushed back each time some traffic happens on that thread. (I think this is YES) -- And, this might be the LIRU table?

I use code (at Login & Logout) to update a Login Status table that looks like this:
(Note, I just logged in to generate this page)
Screen Shot 2019-02-13 at 6.43.41 PM.png
Screen Shot 2019-02-13 at 6.43.41 PM.png (54.07 KiB) Viewed 3866 times


This has been around for ages.
The only issue is that as you make longer timeouts, then lots of users appear to be logged in (when they may be out a a long lunch with Bruce).

Now, since Aware has evolved (like now individual users can have diff. Timeout durations), I'd argue that not all things concerning Timeouts and User Monitoring have evolved at the same pace. Perhaps whats needed is an improvement by Vlad to store/make available/save into LIRU,etc., the LAST ACTIVITY TIMESTAMP. While this wouldn't have anything to do with Timeouts, per se, it WOULD help system admins monitor user usage and ultimately "see who is using my app".

If you're trying to see if its OK to publish an update and I wonder how many people will get kicked, then running the User Login Status process AND seeing how many mins IDLE will be of great value.
#50362 by PointsWell
Thu Feb 14, 2019 12:22 am
the LAST ACTIVITY TIMESTAMP. While this wouldn't have anything to do with Timeouts, per se, it WOULD help system admins monitor user usage and ultimately "see who is using my app".


It's not ideal but it is a half way - I have audit BOs on all my major BOs so when a change is made to the actual BO another AuditBO is created with all the changes. I also add the session ID to it, so while it doesn't help where users are just viewing data, I can see everything done to the system and the login session that they were using when that was made. If you look at that data from the other direction it gives you 'last active’ data (where active is doing something not just reading)
#50365 by BLOMASKY
Thu Feb 14, 2019 5:11 pm
Since, when I come back (from my 3 hour lunch with Jaymer...), and I click on a menu option, I get a msg that I have been idle for too long, it seems that aware must store (in LIRU, Memory?) the date/time of last activity. If so, and I can access that, then it would be easy to see any user who showed sign of life in the last "X" minutes.

Would be nice to hear from Vlad if this info is available.

Yes, I do log audits to some MAIN BO's but I have been lazy and have separate audit files for each BO (with different columns that I am interested in), so it would not be pretty to try to combine them to see who has been active in the last "X" minutes.

Bruce
#50367 by PointsWell
Thu Feb 14, 2019 10:28 pm
, I do log audits to some MAIN BO's but I have been lazy and have separate audit files for each BO (with different columns that I am interested in),


BO Group - you just need the sessionId attached to each log BO
#53973 by Jaymer
Sun May 24, 2020 8:57 pm
Bump for clarification from support. (Hopefully)
#53986 by BobK
Wed May 27, 2020 5:15 pm
BLOMASKY wrote:But...but...but.... What about when people DON'T log out and just close the browser?


The rules on the LogoutNotification get executed when the user's session times out. There is even an indicator set if the session timed out.
#53987 by BLOMASKY
Wed May 27, 2020 7:21 pm
let me ask the question differently. I have 90 minute timeout. If a user logs on, runs something, then closes the browser 1 min. later, when will I get the logout msg, 89 min from then?

Bruce
#53988 by BobK
Wed May 27, 2020 7:53 pm
BLOMASKY wrote:let me ask the question differently. I have 90 minute timeout. If a user logs on, runs something, then closes the browser 1 min. later, when will I get the logout msg, 89 min from then?

Bruce


If your timeout period is set at 90 minutes, the LogoutNotification rules would fire approximately 90 minutes after the users became inactive.
If you need a more accurate time of when the user became inactive, you could check the IsTimeout indicator on the LogoutNotification and if the user timed out subtract your timeout period from the users logout time.

Who is online

Users browsing this forum: Google [Bot] and 32 guests