Skip to main content

[webtier] Re: Custom cookiepath for session

1 reply [Last post]

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Jan Luehe

On 03/18/09 03:52 PM, wrote:
> Reading my question again I may not have been as clear as I need to be:
> We want the cookie path for each user-defined subdirectory to be able to be set:
> e.g.
> -> cookie path = /app1
> -> cookie path = /app2
> -> cookie path = /app3
> Remember this is one web-app so we can't use sun-web.xml to configure the different paths.
> Is this possible with either v2 or v3?

Thanks for clarifying!

Unfortunately, what you are trying to do is not supported by GlassFish:
In GlassFish, you can configure only a single cookie path per webapp.
By default, the cookie path will be set to the webapp's context root.

Do you know of any other appservers that support what you are looking for?



> [Message sent by forum member 'profiler' (profiler)]
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail: