HTTP

Tags:    http ftp

Man siger at HTTP er stateless og FTP er statefull, men hvad betyder det egentlige ?

På forhånd tak



3 svar postet i denne tråd vises herunder
2 indlæg har modtaget i alt 8 karma
Sorter efter stemmer Sorter efter dato
Wikipedia har egentlig en okay og rimelig konkret forklaring af det:

http://en.wikipedia.org/wiki/Stateless_protocol

Mvh.

Kasper (TSW)



Statefull:

The client connects to the server, conducts a series of operations via that conneciton, and then disconnects.Then server can associate all of the requests together and knows that thy all came from the same user.


Stateless:

A stateless server is a server that treats each request as an independent transaction that is unrelated to any previous request.
The difference is in the nature of the connection they define between a client and a server.


Ovenstående fra første resultat på Google (!!): http://qna.rediff.com/questions-and-answers/what-is-a-statefull-and-stateless-protocol/2908836/answers



HTTP bliver så tit mere statefull ved hjælp af cookies og sessions på web stederne.



t