We are using the tomcat for our web application and for session management we use HttpSession in Javax.servlet.http.HttpSession
This is how We set the session Id and few user attributes in HTTPSession
HTTPSession session = request.getSession()
session.setAttribute("sessionIdNo",sessionIdNo);
This is how We get the session Id and few user attributes we stored in previous HTTP call.
HTTPSession session = request.getSession(); session .getAttribute("sessionIdNo");
My Question is
How its possible that in the next HTTP call from browser, We are able to get the session attribute in server side which is set in previous HTTP call in HTTPSession.
NOTE : I didn't save in cookies too, I believe its not sent from my browser. Does it has any connection to JSESSION_ID.
If so my second question is, How does these HTTP session management works in Desktop applications I mean without using browser? I mean How to make use of JESSION_ID here for session management.
If not, what is the other way?