Re: keeping track of last visit

Vadim Nasardinov <[email protected]> Tue, 15 Jun 2004 14:24:55 -0400
Newsgroups gmane.linux.redhat.ccm.general
Organization Red Hat / Westford
Message-ID <[email protected]>
On Tuesday 15 June 2004 12:02, Daniel P. Berrange wrote:
> On Tue, Jun 15, 2004 at 11:58:42PM +0800, Jun Yamog wrote:
> > What are good ways or direction to keep track of the last visit of a
> > user.  Ideally we will just put it on each request, look up the user,
> > update his/her last visit.  I don't think this is good performance-wise.
>
> IIRC the CCM auth cookie contains the userid, so simply configure
> your apache server to log cookies to a special log file. if you
> need to access this info from Java, then have some job that processes
> this file every 5 mins & bulk inserts info into the DB.

Jun,

That's the best approach we could come up with in a similar scenario a
couple years ago.  A somewhat related thread on this issue is this:
http://openacs.org/forums/message-view?message_id=19404


-- 
Redhat-ccm-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/redhat-ccm-list
Archives: https://www.redhat.com/pipermail/redhat-ccm-list/