Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to fins out the last activity time of the user ?

 
shyam ji gautam
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
dEAR all

i am writing the code for the webapplication in which i want to access the lst activity time of the user .


the scenario is like this when the user is clicks on button like logoff then i want to access that time and save that time into the databse to check the last activity time of the user



how i will do this

 
olivier dutranoit
Ranch Hand
Posts: 81
IBM DB2 Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

can't be that hard ...

in your "logoff" method in your servlet, just retreive the current datetime in java.
store it in the database, done...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic