Hi,

I've added an option to the messagecontext to control the cookie policy on
http Request. This can be set as follows

options.setProperty(HTTPConstants.COOKIE_POLICY, CookiePolicy.IGNORE_COOKIES
);

Valid values for cookie policy are

    public static final java.lang.String BROWSER_COMPATIBILITY =
"compatibility";
    public static final java.lang.String NETSCAPE = "netscape";
    public static final java.lang.String RFC_2109 = "rfc2109";
    public static final java.lang.String IGNORE_COOKIES = "ignoreCookies";
    public static final java.lang.String DEFAULT = "default";

These constants are located in
org.apache.commons.httpclient.cookie.CookiePolicy

Thanks,
Keith.

-- 
Keith Chapman
WSO2 Inc.
Oxygen for Web Services Developers.
http://wso2.org/

Reply via email to