This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes last login information required Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "last login information required" Watch "last login information required" New topic
Author

last login information required

divya chamarti
Ranch Hand

Joined: Jul 28, 2006
Posts: 56
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

Joined: Dec 11, 2004
Posts: 13410

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.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: last login information required
 
Similar Threads
when we use- Only OnceErrorHandler
Page cannot be displayed
is it possible to access a session page after closing session page window
Passed SCJP 1.4 with 98% (+ Login Problem)
remmeber the URL design question