Cookei way(unreliable) and URL rewriting(possess security threat)
https://dzone.com/articles/session-management-in-java-web-apps
Disadvantages of above and improvement
https://www.journaldev.com/1907/java-session-management-servlet-httpsession-url-rewriting
Exttrra
https://www.java67.com/2016/06/4-ways-of-session-management-in-servlet-JSP.html