WebOps #1
This is a series of posts, each time I realize or read something useful.
In Rails, don’t set cookies for all domains (i.e. .tanga.com). Restrict cookies to ‘www.tanga.com’. Otherwise, the cookies will be sent when doing requests for images, javascript, css, etc, even they they are hosted on assets.tanga.com.