Thursday 19 January 2017

What is the session tracking? What is the need of session tracking in web application? What are the different types of session tracking?

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

What is the need of session tracking in web application?
HTTP is a stateless protocol. Every request is treated as new request. For web applications to be more realistic they have to retain information across multiple requests. Such information which is part of the application is referred as "state". To keep track of this state we need session tracking.

What are the different types of session tracking?
·  URL rewriting
·   Hidden Form Fields
·   Cookies
·   Secure Socket Layer (SSL) Sessions

No comments:

Post a Comment