What is the need of session tracking in HttpServlet ?

Answers were Sorted based on User's Feedback



What is the need of session tracking in HttpServlet ?..

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

What is the need of session tracking in HttpServlet ?..

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

What is the need of session tracking in HttpServlet ?..

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

Post New Answer

More Servlets Interview Questions

What type of protocols are used in HttpServlet?

3 Answers  


How we can call a jsp from the servlet?

0 Answers  


How can you push data from an Applet to a Servlet?

0 Answers  


What is the use of httpservletrequestwrapper?

0 Answers  


Hi friends am newbie to servlet. How code reusability easy in servlet. why not in jsp . here reusabillity means only javabeans or any thing else.

1 Answers  






Explain servlet events?

0 Answers  


Explain the difference between get and post method in servlet?

0 Answers  


What’s the difference between sendredirect and forward methods

0 Answers  


What is the difference between get and post methods?

0 Answers  


What is the directory structure of web application?

0 Answers  


What do you mean by httpservlet and how it is different from the genericservlet?

0 Answers  


what are the CGI Programs?

5 Answers  


Categories