what is session tracking?what are types of session
tracking ?and when to cookies,when to use
sessionmanagement,whent use url rewriting technique,plz
explain briefly?

Answer Posted / sachin

Session tracking is a mechanism that servlets use to
maintain state about a series of requests from the same
user (that is, requests originating from the same browser)
across some period of time.

Cookies are a mechanism that a servlet uses to have clients
hold a small amount of state-information associated with
the user. Servlets can use the information in a cookie as
the user enters a site (as a low-security user sign-on, for
example), as the user navigates around a site (as a
repository of user preferences for example), or both.

Is This Answer Correct ?    45 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the different between a servlet and a cgi? Why do you go for servlet rather than cgi?

575


Explain the concept of ssi ?

595


What are the ways to handle multi-threading in servlets?

598


What is cookie? Why is cookie used?

590


Why servlet is used as controller ? Not JSP? I want complete explation?

661






When using servlets to build the HTML, you build a DOCTYPE line, why do you do that?

568


Explain the working of service() method of a servlet.

508


What is meant by Servlet? What are the parameters of service method?

603


What do you mean by scope object and what are its types?

572


What do you mean by servlet?

724


What is difference between GenericServlet and HttpServlet?

571


Why is httpservlet declared abstract?

585


What is the difference between forward () and sendredirect () functions in servlet? Explain

551


What is the purpose of dispatcherservlet properties?

512


What is a java servlet?

558