[Opensource] User's log in or out time - please help me with classloaders???

Mike Traum mtraum at cirnetwork.org
Fri Jun 14 15:07:38 PDT 2002


I've been looking for this also - you can get the info by setting the
CheckLogin logging category to debug, but you'll get many messages (more
than just the logins), so I wouldn't recommend it.

I've been trying to do this by modifying Tomcat's access log
(AccessLogValve) so that the username shows up in the log and can be parsed
with your standard weblog utilities. It's pretty straighforward - just
access the session's 'CurrentLogin' object. But, CurrentLogin is loaded by
the webapp's classloader so is not accessible from Tomcat objects. I tried
moving the CurrentLogin class to tomcat/common/classes which seems to me
should work according to
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html, but
then the webapp can't find the class. I'm new to all of this classloader
nonsense - any help? I'll give up the code if I can get it working...

Thanks,
Mike

-----Original Message-----
From: opensource-admin at jcorporate.com
[mailto:opensource-admin at jcorporate.com]On Behalf Of Atip Asvanund
Sent: Thursday, June 13, 2002 7:30 PM
To: opensource at jcorporate.com
Subject: [Opensource] User's log in or out time



Hello,

Does Expresso keep track of when the user logs in or out at all? I looked
around the database tables and cannot find anything.

I am especially interested in when the user last logs in or out.

Atip

_______________________________________________
Opensource mailing list
Opensource at jcorporate.com
http://mail.jcorporate.com/mailman/listinfo/opensource
Archives: http://mail.jcorporate.com/pipermail/opensource/




More information about the Opensource mailing list