Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

last login information required  RSS feed

 
divya chamarti
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if there is no field in data base for storing the last login information(System date and time) then how can we able to know the last login information in a web-based application(servlet/jsp/struts)
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could add a field to your database.
If the amount of data you need to store is both small and not sensitive in nature, you could store it in a cookie as well.
Of course, if you use a cookie, this information will only be seen if the user logs in from the same machine next time.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!