Is a session object tied to a request?

Is a session object tied to a request?

Postby javalatte » Sat Feb 09, 2013 11:42 pm

What is the session object tied to? A request or the user or the user's browser?
javalatte
 
Posts: 55
Joined: Tue Jan 29, 2013 2:31 pm

Re: Is a session object tied to a request?

Postby Kishan » Mon Feb 11, 2013 5:08 am

Server doesn't know who is accessing (user). As per the server concern any body who is sending request is called client (includes browser/program/tool etc..). Session object associate with client. If session id realized from request (through cookie/url/hidden variable) then server associate respective session object for that request. Otherwise server realize as there is no session tied with this request.
Kishan
 
Posts: 191
Joined: Tue Jan 29, 2013 4:21 am


Return to Servlets

Who is online

Users browsing this forum: No registered users and 1 guest

cron