JSessionid Cookie Domain with multiple domains?
"Choate, Bryan (IHG)" <[email protected]> Thu, 29 Jun 2006 14:19:06 -0400
| Newsgroups | gmane.text.xml.resin.user |
|---|---|
| Message-ID | <0FB3527AE8493F44B9A27C1D8E70E46B01FE1A01@hnatld1svrexg04.Amer.Corp.Local> |
This is a multi-part message in MIME format.
------_=_NextPart_001_01C69BA8.81CB371A
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
All-
=20
Basically, I've got a webapp that will serve sites across multiple
domains and I want the jsessionid cookie to be set at the domain level-
currently it's being set at the host level, so apparently I need to
specify something in the cookie-domain tag in the resin.conf, but I
can't just specify a static domain, obviously. If I set that to a jndi
lookup, I can pull the domain dynamically, but it looks like the
session-config is loaded only once, on startup. Is that the case? If
so, is there another, more logical way to go about this?
=20
Thanks,
=20
Bryan Choate
InterContinental Hotels Group
http://www.ichotelsgroup.com <blocked::http://www.ichotelsgroup.com/>=20
office: 770-604-8179
mobile: 678-612-3140
=20
------_=_NextPart_001_01C69BA8.81CB371A
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=3DEN-US link=3Dblue vlink=3Dpurple>
<div class=3DSection1>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>All-<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Basically, I’ve got a webapp that will serve =
sites
across multiple domains and I want the jsessionid cookie to be set at =
the
domain level- currently it’s being set at the host level, so =
apparently I
need to specify something in the cookie-domain tag in the resin.conf, =
but I can’t
just specify a static domain, obviously. If I set that to a jndi =
lookup,
I can pull the domain dynamically, but it looks like the session-config =
is
loaded only once, on startup. Is that the case? If so, is =
there
another, more logical way to go about this?<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Thanks,<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><strong><b><font size=3D2 face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial'>Bryan =
Choate</span></font></b></strong><o:p></o:p></p>
<p class=3DMsoNormal><font size=3D1 face=3DArial><span =
style=3D'font-size:7.5pt;
font-family:Arial'>InterContinental Hotels =
Group</span></font><o:p></o:p></p>
<p class=3DMsoNormal><font size=3D1 face=3DArial><span =
style=3D'font-size:7.5pt;
font-family:Arial'><a href=3D"blocked::http://www.ichotelsgroup.com/"
title=3D"http://www.ichotelsgroup.com/">http://www.ichotelsgroup.com</a><=
/span></font><o:p></o:p></p>
<p class=3DMsoNormal><font size=3D1 face=3DArial><span =
style=3D'font-size:7.5pt;
font-family:Arial'>office: 770-604-8179</span></font><o:p></o:p></p>=
<p class=3DMsoNormal><font size=3D1 face=3DArial><span =
style=3D'font-size:7.5pt;
font-family:Arial'>mobile: 678-612-3140</span></font><o:p></o:p></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>
------_=_NextPart_001_01C69BA8.81CB371A--