Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

friends can any one tell me what is mean by Persistant Http connection

 
ganesh pol
Ranch Hand
Posts: 151
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
friends
can any one tell me what is mean by Persistant Http connection
is it Statefull or Stateless?
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HTTP is a stateless protocol but to make the grabbing of lots of small images in a webpage more efficient, the server may keep the connection alive for a small (sub second) amount of time. The browsers and servers discuss this process via the 'Connection' and 'Keep-Alive' headers.

Example:
Request:

Response:


As an app developer, this is not something you need to concern yourself with. Just think of HTTP as a stateless protocol.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic