Current lesson | Lesson 45/53

HTTP Sessions and Login Management in Servlets

Java Servlet and Apache Tomcat: Complete Course from Scratch with Eclipse 0%
I'll introduce HTTP sessions in Java Servlets and show how to use them for login management: creating the session with request.getSession(), saving the authenticated user with setAttribute(), and verifying state between subsequent requests. A secure server-side mechanism for maintaining user identity.
Instructor
Up next Introduction to Filters for Endpoint Protection (Part 1)