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 servlet configuration?
What are Servlets?
Can we override servlet service method?
What is generic servlet class?
Why are http servlets used in programming?
What is the difference between context parameter and context attribute?
What are the types of Session Tracking ?
What is servlet and its use?
What is a servlet-to-servlet communcation?
The code in a finally clause will never fail to execute, right?
What is httpservlet class?
What is a deployment descriptor?
What do you understand by mime type?
What is a java servlet?
Why is it that we can't give relative URL's when using ServletContext.getRequestDispatcher() when we can use the same while calling ServletRequest.getRequestDispatcher()?