Session Tracking in Servlet

Google Advertisements

Prev Tutorial Next Tutorial

Session Tracking in Servlet

Session is the conversion of user within span of time. In general meaning particular interval of time.

Tracking is the recording of the thing under session.

Session Tracking is remembering and recording of client conversion in span of time. It is also called as session management.

If web application is capable of remembering and recording of client conversion in span of time then that web application is called as stateful web application.

Why need Session Tracking ?

  • Http protocol is stateless, to make stateful between client and server we need Session Tracking.
  • Session Tracking is useful for online shopping, mailing application, E-Commerce application to track the conversion.
  • Http protocol is stateless, that means each request is considered as the new request. You can see in below image.
http protocol

Why use Session Tracking ?

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

Why Http is design as stateless protocol ?

If Http is stateful protocol for multiple requests given by client to web application single connection will be used between browser and web server across the multiple requests. This may make clients to engage connection with web server for long time event though the connection are ideal. Due to this the web server reach to maximum connections even though most of its connection are idle. To overcome this problem Http is given as stateless.

Session Tracking Techniques

Servlet technology allows four technique to track conversion, they are;

  • Cookies
  • URL Rewriting
  • Hidden Form Field
  • HttpSession
session tracking
Prev Tutorial Next Tutorial

Google Advertisements

Buy This Ad Space @$50 per Month, Ad Size 600X200 Contact on: hitesh.xc@gmail.com or 8076671483

Pure VPN Privide Lowest Price VPN Just @ $1.65. Per Month with Non Detected IP Lowest Price Non Detected IP VPN

Magenet is best Adsense Alternative here we earn $2 for single link, Here we get links ads. Magenet

Cloud computing is the on demand availability of computer system resources, especially data storage and computing power, without direct active management by the user. Cloud Computing Tutorial

College Projects Related to Java, AWT, C Projects for College, C++ Projects for College, Android Projects. Download Java C C++ Projects

Download Projects

Adsense Advertisements


Buy This ads Space 8076671483

Buy This Ad Space @$120 per Month, Ad Size 300X600 Contact on: hitesh.xc@gmail.com or 8076671483 Try this Keyword C++ Programs