-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Antano Solar John wrote: > Girish Venkatachalam > <[EMAIL PROTECTED]> writes: > >> On 08:08:46 Oct 10, shiva kumar wrote: >>> Hi, >>> >>> I have a long time doubt.What is cookies ?,what is it's work?. what is >>> the use of cookies ?. please tell me.... > > Values that are required across multiple web pages are stored in a separate > session for each > client machine. A sessionid stored in the cookie is like a label using which > the client machine > can be matched with its appropriate session. >
And here is a nice way to see the cookies from www.google.co.in [EMAIL PROTECTED]:~$ curl -v http://www.google.co.in 1>/dev/null * About to connect() to www.google.co.in port 80 (#0) * Trying 209.85.153.104... connected * Connected to www.google.co.in (209.85.153.104) port 80 (#0) > GET / HTTP/1.1 > User-Agent: curl/7.18.0 (i486-pc-linux-gnu) libcurl/7.18.0 OpenSSL/0.9.8g zlib/1.2.3.3 libidn/1.1 > Host: www.google.co.in > Accept: */* > < HTTP/1.1 200 OK < Cache-Control: private, max-age=0 < Date: Fri, 10 Oct 2008 18:50:12 GMT < Expires: -1 < Content-Type: text/html; charset=ISO-8859-1 < Set-Cookie: PREF=ID=3ae78bdfa0132999:TM=1223664612:LM=1223664612:S=Dw_GawIV7tVr5PCz; expires=Sun, 10-Oct-2010 18:50:12 GMT; path=/; domain=.google.co.in < Server: gws < Transfer-Encoding: chunked < { [data not shown] % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 6803 0 6803 0 0 20490 0 --:--:-- --:--:-- --:--:-- 77635* Connection #0 to host www.google.co.in left intact * Closing connection #0 Hope you are `sudo apt-get install curl`ing now. Thanks, Mohan. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI76UGdanwvfGWgHMRAg1LAJ4lnfAYnXdYOh9dFPzL+IlnEIXIcQCfVlBj 522yfIub5kukbXdONq2AEVk= =4fxm -----END PGP SIGNATURE----- _______________________________________________ To unsubscribe, email [EMAIL PROTECTED] with "unsubscribe <password> <address>" in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
