in reply to Reading a cookie from an active browser session

wget and curl have options for cookie download. If not, a perl script to access the web site (based on WWW::Mechanize or WWW::Mechanize::Firefox) should still be better than mucking in the innards of firefox

A really hacky way to get at the cookie would be to use something like tcpdump to record your traffic with the website and extract the cookie from that