Skip to main content

[webtier] Re: Custom cookiepath for session

1 reply [Last post]
Anonymous

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, glassfish@javadesktop.org 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.
> www.ourserver.com/app1 -> cookie path = /app1
> www.ourserver.com/app2 -> cookie path = /app2
> www.ourserver.com/app3 -> 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?

Thanks,

Jan

> [Message sent by forum member 'profiler' (profiler)]
>
> http://forums.java.net/jive/thread.jspa?messageID=337815
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: webtier-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: webtier-help@glassfish.dev.java.net