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
How do you run a servlet?
What is the need of servlet filters?
what do you understand by url rewriting?
What are common tasks performed by Servlet Container?
Explain web container.
Explain url encoding in servlet?
What is a servlet-to-servlet communcation?
What are important features of Servlet 3?
Why HttpServlet class is declared abstract?
How do you create a cookie using servlet?
Can we use threads in Servlets?
When a servlet accepts a call from a client, it receives two objects. What are they?
What are the steps that are involved in using the httpservlet class?
What is the directory structure of web application?
How do you deal property files in servlet?