Is session rewriting and session cookies an either or way in glassfish?
Tried to set
<session-properties>
<property name="enableCookies" value="true" />
<property name="enableURLRewriting" value="true"></property>
</session-properties>
in my sun-web.xml. But this fix prevents that jsession id is appended in encode(Redirect)URL/CoyoteResponse. hreq.isRequestedSessionIdFromCookie() returns false BUT getContext().getCookies() is true and prevents the rewrite!!!
if (hreq.isRequestedSessionIdFromCookie() ||
(getContext() != null && getContext().getCookies()))
[Message sent by forum member 'joma_javanet' (joma_javanet)]
http://forums.java.net/jive/thread.jspa?messageID=328357