What is the need of session tracking in HttpServlet ?
Answers were Sorted based on User's Feedback
Answer / muthusenthil
As per http protocol no user information is pertained.
every request is considered as a new request and there will
not be any session maintained between requests. so to
maintain users information we have to use session
tracking
| Is This Answer Correct ? | 14 Yes | 0 No |
Answer / 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 |
Answer / saikiran
Because of http is an stateless protocal
that don't have a capacity to remember ur information
for that we r tracking by using of
.urlRewriting
.Hiddenform Fields
.Cookies
.HttpSession
| Is This Answer Correct ? | 7 Yes | 1 No |
What is generic servlet class?
What is the purpose of inter-servlet communication?
When Servlet is unloaded?
can we use more than one controller in web application
What is the servlet?
Can we override the ActionServlet?
3 Answers ArisGlobal, HCL, PPF,
what is the different between a servlet and a cgi? Why do you go for servlet rather than cgi?
What is session variable in servlets?
What is a servlet engine?
What are different methods of session management in servlets?
Which exception is thrown if servlet is not initialized properly?
Given the request path below, which are context path, servlet path and path info? /bookstore/education/index.html