Cookie-Based Session
Learn Cookie-Based Session (Session Management, Spring MVC) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.
Fresher Notes Cookie-based session means the browser stores only a session id cookie (such as JSESSIONID ) while the real data stays on the server. Round trip : the server answers with Set-Cookie ; the browser sends Cookie: JSESSIONID=... on each later request to that site. Default : the container prefers cookies for session tracking and falls back to URL rewriting only if cookies are off.