users@glassfish.java.net
Re: GlassFish v3 JSESSIONID Multiple Subdomains and TLDs
This message
: [
Message body
] [ More options (
top
,
bottom
) ]
Related messages
: [
Next message
] [
Previous message
] [
In reply to
] [
Next in thread
] [
Replies
]
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]
From
: <
glassfish_at_javadesktop.org
>
Date
: Sun, 11 Jul 2010 05:51:27 PDT
You have two ways I know of:
1. Programmatically:
http://download.oracle.com/docs/cd/E17410_01/javaee/6/api/javax/servlet/SessionCookieConfig.html#setDomain(java.lang.String
)
2. in sun-web.xml:
http://docs.sun.com/app/docs/doc/821-1750/beash?l=en&a=view
add a segment such as this to your sun-web.xml:[code]
<sun-web-app ...>
...
<session-config>
<cookie-properties>
<cookieDomain>.example.co.uk</cookieDomain>
</cookie-properties>
</session-config>
</sun-web-app>[/code]
HTH,
Opher.
[Message sent by forum member 'ophers']
http://forums.java.net/jive/thread.jspa?messageID=477285
This message
: [
Message body
]
Next message
:
glassfish_at_javadesktop.org: "Re: EJB Client runs in Netbeans, but not outside"
Previous message
:
glassfish_at_javadesktop.org: "Re: location/use of configuration files"
In reply to
:
glassfish_at_javadesktop.org: "GlassFish v3 JSESSIONID Multiple Subdomains and TLDs"
Next in thread
:
glassfish_at_javadesktop.org: "Re: GlassFish v3 JSESSIONID Multiple Subdomains and TLDs"
Reply
:
glassfish_at_javadesktop.org: "Re: GlassFish v3 JSESSIONID Multiple Subdomains and TLDs"
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]