What is stateless and stateful protocol?

•HTTP is stateless protocol i.e. after sending the response as per a request the server closes the connection and does not remember the previous happening.

•The protocol is stateful if it depends on the current request as well as previous request and remembers information of the past requests in case of multiple requests and responses.

2 comments:

  1. I think this is the best answer about Stateless and stateful...

    ReplyDelete
  2. my according it must be good answer about Stateless and Stateful protocol.

    ReplyDelete