Hypertext Transfer Protocol (HTTP) Question:

Download Job Interview Questions and Answers PDF

What is HTTP session state?

HTTP Interview Question
HTTP Interview Question

Answer:

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.

Download HTTP Interview Questions And Answers PDF

Previous QuestionNext Question
What is Persistent connections?What is Secure HTTP?