Why isn HttpUnit seeing cookies from my site?
According to the Cookie specification, sites may specify a domain and path to restrict the scope of their cookies. These specifications must follow certain rules, and the vast majority of sites do. Unfortunately, there are some popular sites (such as Yahoo.com) which do not. By default, HttpUnit is very strict about implementing the spec, and will reject such cookies. You can control this behavior by calls to the CookieProperties class. If you suspect that this is happening, you can also register a CookieListener to watch for cookies being rejected.