What is the need of session tracking in HttpServlet ?
Answer Posted / priya
Session is a time period within which a user enters a
webpage,access the data or performs some operations and
quits the page.
Consider the usual example of a shopping cart(which is
widely used to explain session tracking)where a user buys a
book and puts it in the cart, then starts browsing at other
books or check the list of books to buy another book.In
that case, it should be possible to keep track of that user
in the session otherwise it will not be possible to
identify the user and you cannot keep track of that user.
| Is This Answer Correct ? | 11 Yes | 1 No |
Post New Answer View All Answers
What is a servlet-to-servlet communcation?
Given the request path below, which are context path, servlet path and path info?
How can we achieve transport layer security for our web application?
Explain request dispatcher and its methods.
Write a hello world program using servlets.
Explain the difference between a web server and a web container?
What is httpservlet and how it is different from genericservlet?
List out difference between a JavaBean from a Servlet?
What are the advantages of servlets over traditional cgi?
How can a servlet be used to generate plain text instead of html?
How can you use a servlet to generate a plain text instead of html?
How can we perform any action at the time of deploying the project?
Whats the advantages using servlets over using CGI?
What is called servlet mapping?
What do you mean by interservlet communication?