How do you handle authentication via cookie with CURL? | Ask MetaFilter

http://ask.metafilter.com/18923/How-do-you-handle-authentication-via-cookie-with-CURL

How do you handle authentication via cookie with CURL?