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 difference between get and post methods?

769


How to get ip address in jsp login page and how to validate like 127.1.0.1 all should not be greater than 255

3103


Who is responsible for writing a constructor?

999


How can the session in servlet can be destroyed?

885


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

736


What is the difference between portlet and servlet?

695


What do you mean by servlet context?

783


What are the important functions of filters?

794


Are Servlets Thread Safe? How to achieve thread safety in servlets?

751


What is the requirement of servlet config and servlet context implemented and how are they implemented?

731


What’s the difference between genericservlet and httpservlet?

725


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

818


How can you create a session in servlet?

807


What are different ways for authentication of servlet?

715


hi actully i hav form columns with origin and destination names .as like as i need to create one more column with name amount. my requirement is when i select origin and destination columns automatically i need to get amount from database.how can i. please tel me with relative code

2506