csdnchen
asked on
Is HTTP a connect protocol??
When I use IE to access the web server the server answer the request from ie client, after ie get the page, will it always connected or not?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
for exaple, When I log in Experts-Exchange.com how can server remember my connect?
ah ... you mean sessions.
Usually this is done with cookies. The server instructs the browser to write a small text file on the hard-drive called a cookie. The cookie contains a unique key that identifies that instance of the browser to the server. So every time you click another link on EE, the browser sends the key from the cookie to the server, and the server knows who you are by that key. Does that help?
Usually this is done with cookies. The server instructs the browser to write a small text file on the hard-drive called a cookie. The cookie contains a unique key that identifies that instance of the browser to the server. So every time you click another link on EE, the browser sends the key from the cookie to the server, and the server knows who you are by that key. Does that help?
ya give him the points or ill do my routine copy paste thing.
lexxwern
lexxwern
Basically knightEknight is rights. But there is a little different with sessions and cookies. Cookies are written to the users harddrive. Sessions are small pieces of information IN memory. Whenever you do a request you'll send your information of who you are to the server, that server than uses that information to get the additional information. It is all in memory, but they do make use of temporary cookies (that expire right away). EE uses both (seen the code yet?)
CJ
CJ
close this Q now. ill help cd&
<lexxwern recommendation>
split knightEknight CJ_S
</lexxwern recommendation>
i hate to see old questions pending;
lexxwern
<lexxwern recommendation>
split knightEknight CJ_S
</lexxwern recommendation>
i hate to see old questions pending;
lexxwern
the HTTP connection is terminated.