Wednesday, January 31, 2007

How to track a user session in Servlets?

The interface HttpSession can be used to track the session in the Servlet. Following code can be used to create session object in the Servlet: HttpSession session = req.getSession(true);


SOURCE : www.referjava.com

No comments: