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
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 |
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 |
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 |
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 |
Answer / jas
sessionobject is stored at serverside.
by using the session name the session object recognizes.
Is This Answer Correct ? | 3 Yes | 6 No |
Is 'synchronised' a modifier?
What is RMI and what are the services in RMI?
Hi frnds ,iam new to java and j2ee ,my requirement is using java or any j2eetech how to lock an user when he enter wrong credentials(uname&password) more than 3 times.take the username and passowrd in a bean no need to conned Db kindly provide me sample application code or and ideas or links or tutorials plzzzzz urgent for me thanks in advance...
Explain the different types of memory used by jvm?
Difference between loadclass and class.forname?
how to create Calculator GUI using Gridbaglayout as like as Window Calculator??????????? (Open calculator Go-->Run-->type calc-->Enter)
Is it possible to stop the execution of a method before completion in a sessionbean?
Can I map more than one table in a cmp?
what we can't do in jdbc but can do hibernate?
What is RRL?
What is the difference between static and non-static with examples?
Java is fully object oriented languages or not?