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 does tomcat servlet container work?
What is difference between the HTTP Servlet and Generic Servlet? Explain about their methods and parameters?
What do you mean by interservlet communication?
What is the disadvantage of cookies?
What do you mean by url pattern in servlet?
How the servlet is loaded?
Which method is called when reference variable is passed in system.net?
What are different ways for authentication of servlet?
What are the life cycle methods of the servlet?
What is a web application and what is it’s directory structure?
Explain their methods? Tell me their parameter names also have you used threads in servlet?
Difference between get and post in java servlets?
How can we include static files in the jsp page?
What's the difference between servlets and applets?
what is servlet chaining?