Answer Posted / sandeep m
Session data is stored at server side in case of
HttpSession. Server creates a session object and stores at
server side and communicates session id to client for
further communication to be statefull. session id will be
sent to server along with further requests from the client.
In case of Cookies client maintains the session information
and sends the cookie object to server for each request. The
cookie object will be created by server but maintained by
client.
| Is This Answer Correct ? | 13 Yes | 3 No |
Post New Answer View All Answers
What is session tracking?
how many jsp scripting elements are there and what are those?
What is MIME Type?
What is difference between server and servlet?
What is the difference between a generic servlet and http servlet?
What is load-on-startup in servlet?
What is servlet in web technology?
What is servlet and list its types?
How do you create a cookie using servlet?
Why session tracking is needed?
What do you mean by httpservlet?
Why do we have servlet listeners?
How a servlet is unloaded?
If a servlet is not properly initialized, what exception may be thrown?
How printwriter is different from servletoutputstream?