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

To make an object to begin executing as a separate thread, what method is used?

2 Answers  


Explain about RMI Architecture?

1 Answers  


Why is main purpose of XML?

5 Answers  


difference of inheritance and interface

3 Answers  


Can I have an action without a form?

1 Answers  


What is DTD?

3 Answers   Wipro,


What is meant by multi-threading?

6 Answers  


Name three subclasses of the component class?

1 Answers  


What is the O/P of the below Code Snippet ? And how does it imply the concept of call-by-value/call-by-reference. (Note : Pls ignore syntx errors) public class One { sop ("Into One--"); } public class Two extends One{ sop ("Into Two--"); } public class Home { One a; Two t; public static void main(argv[]) { sop ("In Home--"); sop(One.a); sop(Two.a); sop(One.t); sop(Two.t); } }

2 Answers   Wipro,


1) what is synchronization? 2)write a program to show synchronization ? 3) what is orm? 4) what is getTemplete method and hw u use it? 5)write a singleton program ? 6) what is IOC concept & explain it? 7) methods of spring? 8)explain spring framework? 9)what are the oops concept? 10)what r the diff types of exception? 11)what is AOP(assepct oriented programing)? 12)jsp life cycle? 13)servlet life cycle? 14)how to u catch ur exception when executing a query in hibernate? 15)write javascript function? 16)write a querry to join two tables? 17)wap to show inheritance and use of interface? 18)explain the project? 19)in spring bean class uses singleton or prototype? 20)Explain prototype?

1 Answers   Cap Gemini,


Urgent Openings for Java and .NET ( India, Singapore, Australia, Japan)

2 Answers   Wipro,


What is prototype?

1 Answers  


Categories