What is HTTP / Web Session Management?
As mentioned above
HTTP is stateless protocol
and every request is independent but the modern web application like rental
website requires maintaining the user's session so that we do not keep asking
user's account information on each and every page. There are many methods for
session managements including hidden fields, cookies, URL Re-writing but all
these techniques requires programmer to do write extra code and they are not
secure as well. Modern
web programming languages including
PHP,
ASP,
ASP.NET,
JSP have built-in support of session management, PHP provides session array
in which we can put any type of variable or object to re-use during the process
of another request which makes session management very simple to PHP developers.