users@glassfish.java.net

Re: Custom cookiepath for session

From: <glassfish_at_javadesktop.org>
Date: Wed, 18 Mar 2009 15:52:44 PDT

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?
[Message sent by forum member 'profiler' (profiler)]

http://forums.java.net/jive/thread.jspa?messageID=337815