Thanks.  What I suspected.  Is this to adhere to a spec, or simply
functionality not (yet?) developed for Tomcat?

I've created a workaround session manager that manually sets its own
cookies.  One result being that my scaling strategy can't rely on the
session replication of Tomcat... I'll have to use a firewall with sticky
sessions.  But enough whining from me... like always, there's a workaround.

Best,

Joe 

-----Original Message-----
From: Tim Funk [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 16, 2004 7:12 PM
To: Tomcat Users List
Subject: Re: Configure Tomcat's Session Cookie Domain?

Nope. Can't do it.

But if you really need it to be more domain generic - there is nothing
stopping you from expiring the JSESSIONID cookie and setting a newer one at
a more generic level. (But this will probably cause future issues)

-Tim

Joe Reger, Jr. wrote:
> Hi.  
> 
> Is there any way to specify the domain of the cookie that Tomcat sets 
> to maintain session across requests?
> 
> In java there's javax.servlet.http.Cookie.setDomain(java.lang.String
> pattern) that allows me to set it to something like ".joereger.com"... 
> which allows a cookie to persist across "one.joereger.com", 
> "two.joereger.com", "three.joereger.com" and so on.
> 
> Anything like this in Tomcat's configuration?  I've also looked into 
> the <jsp:useBean> tags but haven't found anything that does what I'm 
> looking for.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to