why http is stateless protocol.......
Jayesh A Lalwani wrote:A stateless protocol is more efficient than a stateful protocol. In a stateful protocol, (like TCP/FTP) the "connection" has to be open to keep the state. Each open connection costs resources on the server. Remember, that HTTP was really designed to serve up static files very efficiently. Having dynamic pages that are computer generated is something that was bolted on to HTTP. Dynamic pages require state, static pages don't.