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 load-on-startup in servlet?
What is the difference in between the httpservlet and generic servlet?
What is difference between ServletResponse sendRedirect() and RequestDispatcher forward() method?
What do you mean by servlet context?
What is cgi and what are its drawbacks?
How the JSP file will be executed on the Server side?
Explain the servlet filter.
What is the inter-servlet communication?
what is the different between a servlet and a cgi? Why do you go for servlet rather than cgi?
What are the supporting protocol by HttpServlet ?
What is the capacity the doget can send to the server?
What are life cycle methods of a servlet?
How we can call a jsp from the servlet?
Explain how to improve Servlet Performance?
What is the use of servletconfig interface?