How to create session in servlets?

How to create session in servlets?

View Answers

June 6, 2012 at 5:56 PM

You can create session using the given code:

 HttpSession session = request.getSession(true);

For more information, visit the following link:

Servlet Create Session









Related Tutorials/Questions & Answers:
Advertisements