Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why isn HttpUnit seeing cookies from my site?

cookies httpunit seeing site
0
Posted

Why isn HttpUnit seeing cookies from my site?

0

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.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123