Re: keeping track of last visit

Jun Yamog <[email protected]> 17 Jun 2004 14:03:11 +0800
Newsgroups gmane.linux.redhat.ccm.general
Message-ID <[email protected]>
Thanks Guys,

I guess I have roll back my changes and just configure apache, since I
already have a cookie tells me which user last used the site.  Your
suggestions are much appreciated and I will implement them.


Jun

On Wed, 2004-06-16 at 02:24, Vadim Nasardinov wrote:
> 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/