Write the common ways of session management in servlets in Java?
Below are the common ways of session management in servlets
• Session Management API
• Cookies
• User Authentication
• URL Rewriting
• HTML Hidden Field