Monday, September 6, 2010

why http is a stateless protocol?

why HTTP is a stateless protocol


I think Every Body Knows Http Is A Stateless Protocol.

How Many Of them Know Why HTTP Says Stateless ?


Speaking of sessions rated the HTTP protocol is a stateless protocol, and the Internet is a stateless development environment "is often used. It simply means that the HTTP protocol, Internet backbone will be able to maintain the memory of each client, which connects the site and thus treats each application on the website is unique and independent associations connected to the connections that preceded it.
To display a static Web page created by the stateless nature of HTTP protocol is usually not a problem because the page you are viewing is the same regardless of previous operations you have performed. But applications like shopping carts do you store the information collected is of utmost importance to know what happened in the past, for example, what is your shopping cart. What is needed for these applications is the way to "maintain state", which allows the Community to ensure that requests can be answered based on the application, which has already occurred


In Short

"A protocol is stateless if there is no relation between subsequent request-response pairs. The server can handle each request uniquely and does not have to keep a session state for the client."

No comments:

Post a Comment