A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
User timing in a session
Joined: Oct 27, 2005
Feb 27, 2007 07:26:00
I am using a
How do I keep track of the user timing from the logon to the logoff.
I would like to store this information in a database.
Can you help me on this.
[ February 27, 2007: Message edited by: sk mehrotra ]
Author and ninkuma
Joined: Jan 10, 2002
Feb 27, 2007 08:29:00
Unless I'm missing something in your question this is fairly trivial. Store a timestamp in the session when the user logs in, compute the elapsed time when they log out, and store it in the DB.
The interesting part comes when: what if they don't log out?
(Hint: session listener)
Asking smart questions
Books by Bear
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: User timing in a session
Calculating applet laoding time
Forms not submitting
How to get activation time of an external application
RequestDispatcher.forward does not work
Navigate through ResultSet
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013