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 are the two important api's in for servlets?

581


Describe servlet?

571


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

585


List out the difference between ServletConfig and ServletContext?

591


How servlets are deployed in java?

538






Is dispatcher servlet a singleton?

536


How can I send user authentication information while making URL Connection?

531


How is a servlet implemented in code?

556


How we can call a jsp from the servlet?

522


Difference between doget and dopost?

674


What is servlet container. how it works?

603


What are sessions in servlets?

565


What is a cookie What is the difference between session and cookie

587


How do you deal property files in servlet?

593


How can you run a servlet program?

594