Where does the session Object stores? If 100 users are
connecting to the server. How does it recognize which
session belongs to which user?

Answers were Sorted based on User's Feedback



Where does the session Object stores? If 100 users are connecting to the server. How does it rec..

Answer / priyanjan

all session objects are reside at server side.user
belonging session is recognised by their session id.

Is This Answer Correct ?    14 Yes 0 No

Where does the session Object stores? If 100 users are connecting to the server. How does it rec..

Answer / rajesh

Whenever the first request comes from the browser(user) the
sever creates an session object for that request and send a
session id back to the user(browser).

Based on the session id server recognizes the session for
user.

Is This Answer Correct ?    14 Yes 0 No

Where does the session Object stores? If 100 users are connecting to the server. How does it rec..

Answer / shani kr. gupta

Actually,in Session
suppose a client makes a request to the server.then server
generates the unique session id then retuns
(sessionid+response)back to the client.Again that client
makes a req.means(req+session id) to server.then server will
recognise the session id then will be seeing that that id is
already in existence or not.is it is then server will be
getting that req. is coming from same client.then retuns
(sessionid+response)back to the client.

Is This Answer Correct ?    8 Yes 0 No

Where does the session Object stores? If 100 users are connecting to the server. How does it rec..

Answer / sahnaj khan

the sesssion will be stored only on server side, when any
user post the his/her request in server side. now in this
condition server to note the seesion perticular name and
session id ofcourse.

Is This Answer Correct ?    3 Yes 0 No

Where does the session Object stores? If 100 users are connecting to the server. How does it rec..

Answer / jas

sessionobject is stored at serverside.
by using the session name the session object recognizes.

Is This Answer Correct ?    3 Yes 6 No

Post New Answer

More Advanced Java Interview Questions

what is the use of Object Factories?

1 Answers  


What modifiers may be used with an interface declaration?

0 Answers  


Suppose there are 3 combo box. SELECT COUNTRY SELECT STATE SELECT CITY if i select any country from country conutrylistbox values in the state will get automatically inserted with database values>> THEN on selection of state city will be inserted in city combo box If you can help then please Help me...

2 Answers   HCL,


how convert java file to jar files?

10 Answers   Samsung,


What is multithread synchronizing ?

4 Answers   Sun Microsystems,






What’s jboss cache in short?

0 Answers  


What is there in browser that it supports web based applications of java or any other PL?

2 Answers  


What is the difference between a menuitem and a checkboxmenuitem?

0 Answers  


Why doesn’t the focus feature on the tag work in every circumstance?

0 Answers  


what is disadvantage of thread?

3 Answers   HCL,


whether the connectionpooling used in struts?

2 Answers   SolutionNET,


difference between apllet and interface class

1 Answers   Infotech,


Categories