Hi, I am confused with the HttpSession object. It is sent from the client through HttpServletRequest. But how does the servlet identify a HttpSession object to track the user session? In other words, how does servlet know that the HttpSession object is from a particular client in order to do the tracking?
Thanks!
-
HttpSession (1 messages)
- Posted by: ricky gonzalez
- Posted on: January 03 2001 01:05 EST
Threaded Messages (1)
- HttpSession by Zahid Shaikh on January 03 2001 08:56 EST
-
HttpSession[ Go to top ]
- Posted by: Zahid Shaikh
- Posted on: January 03 2001 08:56 EST
- in response to ricky gonzalez
when you create an httpsession object than
a "unique id" is sent to client in form of
cookie or by enoding url..
This Unique number is used to indentify the user/client..
Internally the app. server maintains a mapping of
unique id to the objects put in that session(ie unique id)..