Protocols Interview Questions and Answers

 

What is HTTP session state?

HTTP
is a stateless protocol. A stateless protocol does not require the server to retain
information or status about each user for the duration of multiple requests. For
example, when a web server is required to customize the content of a web page for
a user, the web application may have to track the user's progress from page
to page. A common solution is the use of HTTP cookies. Other methods include server
side sessions, hidden variables (when the current page is a form), and URL-rewriting
using URI-encoded parameters, e.g., /index.php?session_id=some_unique_session_code.

Posted by:Richards