File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes session handling Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "session handling" Watch "session handling" New topic

session handling

Samanthi perera
Ranch Hand

Joined: Jan 08, 2010
Posts: 510
i need to authenticate a user.
if user session timeout he needs to check with database.
is this code is ok.

here is loging.jsp

here is servlet

I agree. Here's the link:
subject: session handling
It's not a secret anymore!