Just in case someone is interested about the solution.. in fact it has
nothing to do with CXF

The problem appears due to how HttpConnection works. It uses a cookie
manager which manages the cookies for each connection.

The simplest solution is to define your own cookie manager and to set it as
default cookiemanager at init time:
CookieManager.setDefault(MyCookieManager.init());

Now you will get full control over what cookies are sent for what
connection.

Hope this helps someone else as well.
Cheers



--
View this message in context: 
http://cxf.547215.n5.nabble.com/can-t-disable-session-support-JSESSIONID-is-always-created-tp5759638p5759947.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to