This topic has been archived. It cannot be replied.
-
工作学习 / IT技术讨论 / What does Netstat display?Netstat can display the network connection of my PC. But why no connection displayed while I have explorer opened and connected to the internet after a while. Is that connection over? But I'm sure that the server is still maintain the session data at this time. Because I can still resume my transation until the timeout reaches. Then where is the connection?
-elac(elac);
2003-2-26
{361}
(#1064932@0)
-
'coz http connection is commonly stateless... i.e. not sticky.
-mocha(Hand Craft);
2003-2-26
(#1064934@0)
-
Then how does HTTP server keep the session and connection info, when the connection is recoveried later?
-elac(elac);
2003-2-26
(#1065124@0)
-
Your session is stored locally in the session cookie (memory).
-schen(欲语还休);
2003-2-26
(#1065164@0)
-
So do u mean?that the client or server will close the connection a little while later after all necessary communication are done. Both the server and client keep a copy of session information and when the client come up further request, it will be identified by the Session information it provide, and create a new connection. Is my understanding correct? Can u provide more detail explaination if it is wrong? Thanks.
-elac(elac);
2003-2-26
{405}
(#1065467@0)