WebSeitz/wikilog
Web Cookie
is a Product Manager/CTO with a track-record of bringing a business perspective to building agile product-development teams for start-ups, and is seeking a senior role in an entrepreneurial organization building disruptive Internet-driven products.

(backlinks off) (map off)
(search off)
last edited by BillSeitz on Nov 15, 2008 4:28 pm

idea for caching a little bit of data (typically for ) in the .

http://wp.netscape.com/newsref/std/cookie_spec.html

on a problem with the original spec as part of , and the partial support for later [RFC]-s.

Note a browser supports a limited number of cookies. I'm not sure how standard that it: the old standard says 20 cookies per host/domain.

One little implementation annoyance: if you're building apps for multiple hosts in the same domain, you'll want to set the cookie's scope to e.g. "*.domain.com". Unfortunately, while this will result in the browser returning that cookie for every request from a host with an explicit hostname within domain.com, it won't work for the direct "domain.com" hostname itself!

Note that -s are being increasingly blocked/deleted because of [SpyWare] concerns. If defaults on these systems block all cookies you could find people having problems using your , and newbies would be unable to unblock them

Another nastiness: some frameworks expect/demand that cookie values be html-encoded, and handle this transparently, so when you have different parts of your site handled by different frameworks with different rules, you can go bananas.

See : | | | | | | | | | | | | | |


 




Bill Seitz, fluxent at gmail dot com, Weblog