A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
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
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: User timing in a session
Calculating applet laoding time
Forms not submitting
How to get activation time of an external application
Navigate through ResultSet
RequestDispatcher.forward does not work
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014