There are generally four main methods of session management in Servlet.

  • URL rewriting
  • Cookies
  • HTTPS and SSL
  • Hidden Form Fields
BY Best Interview Question ON 03 May 2022