users@glassfish.java.net

Re: How to prevent Glassfish v2 to rewrite urls with jsessionid

From: Jan Luehe <Jan.Luehe_at_Sun.COM>
Date: Fri, 30 Jan 2009 17:14:52 -0800

On 01/30/09 15:26, glassfish_at_javadesktop.org wrote:
> Ok, Hi! Original thread creator here :)
>
Yes, I remember you! :)
> I'm trying to follow what you guys are saying and I want to make sure I get it right.
> Are you saying the fix we got caused regressions for other customers and you plan to revert it expecting us to now use enableURLRewriting=false to get the behavior we want?
> So we should make the following change to our sun-web.xml:
>
>
>> <session-properties>
>> <property name="enableCookies" value="true" />
>> <property name="enableURLRewriting" value="false" />
>> </session-properties>
>>
>
> which should cause no change in behavior for us on 9.1.2.5 now, but will take effect and do what we want whenever your change is rolled in a future service pack?
> Thanks for clarifying.
>

You got it exactly right.

(Notice that "enableCookies" has always been, and will remain "true" by
default,
so you could remove it from your sun-web.xml. )

Thanks for following up!

Jan

> [Message sent by forum member 'bouteill' (bouteill)]
>
> http://forums.java.net/jive/thread.jspa?messageID=329334
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
webtier_at_glassfish.dev.java.net