Page is a not externally linkable
- Hardware and OS Related Technologies
-- Website Technology Issues
---- You want some Milk to go with those Cookies?


digitalghost - 6:13 pm on May 29, 2008 (gmt 0)


>>What exactly is involved?

Cookies travel back and forth as an HTTP header. You can specify the value of the cookie, the name, expiration date, the domain and path it is valid for. Cookies are stored in browser memory, then sent to the drive so that the next time you fire up the browser your cookies are there.

If they expire, they are cleaned from your browser and your drive.

Content-type: text/html Set-Cookie: chocolate=chip; path=/; expires Sunday, 30-May-2008 18:00:00 GMT

That would set a cookie named "chocolate" with a value of "chip" that expires tomorrow. The / allows the cookie to be valid for the whole site.

How you retrieve the value is up to you.


Thread source:: http://www.webmasterworld.com/website_technology/3661753.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com