TODAY JAVA SCHOOL

In java school, programming, design, computer general knowledge, web application, software, web services, social media, digital marketing, oops, concept of programming language, oops feature, console media, graphics medium, first programming, c, c ++ , Java, PHP, SQL, MySQL, HTML, HTML_5, J_query, JavaScript, Bootstrap, Framework, images with logos, examples, shared and explained.

https://www.amazon.in/b?node=26373545031&linkCode=ll2&tag=1234567801cdb-21&linkId=3b9882431b00409b44141e0344b35a15&language=en_IN&ref_=as_li_ss_tl

Breaking

Thursday 16 April 2020

Session Tracking In Servlets In Java | Explain Session Tracking In Servlets In Java | Session Tracking In Servlets In Java In Java

 Session Tracking in Servlets

Session simply means a particular interval of time.
Session Tracking is a way to maintain state (data) of an user. It is also known as session management in servlet.

Http protocol is a stateless so we need to maintain state using session tracking techniques. Each time user requests to the server, server treats the request as the new request. So we need to maintain the state of an user to recognize to particular user.

image of session tracking servlet
Fig: Session Tracking In servlet


HTTP is stateless that means each request is considered as the new request.


Why use Session Tracking?

To recognize the user It is used to recognize the particular user.


Session Tracking Techniques

There are four techniques used in Session tracking:
1.    Cookies

2.    Hidden Form Field

3.    URL Rewriting

4.    HttpSession

No comments:

Post a Comment