In Liferay Commerce we are trying to delete a cookie used for guest user after the login.
Inside class CommerceOrderHttpHelperImpl.java we are doing something like:
themeDisplay.getRequest(), themeDisplay.getResponse(), domain, commerceOrderUuidWebKey);
But the cookie is still alive in the browser session.
This is happening using Wildfly
p.s. I don't know what to use as Component for this kind of ticket, feel free to change it