jQuery in Action, 2nd edition*
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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

It is sorta covered in the JavaRanch Style Guide.
subject: session handling
Similar Threads
can anyone tell me how to make a authentication with jsp & servlet
JSP <a href> tags breaks page functionality
how to get utf-8 data from query string in JSP
Httpsesion Listener is not working properly?