The behaviour I've observed is that you need to continue passing the
sessionid in the URL, even within the same site, or it gets lost, so it's
possible if you do so.

-----Original Message-----
From: Bert Dawson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 12 January 2005 3:38 
To: CF-Talk
Subject: sharing sessions across domains

I have 2 domains pointing at the same 2 web sites which in turn point to the
same CF codebase (win2k, iis6, cf6.1 enterprise with updater):
eg: www.mysite_en.com and www.mysite_de.com

Currently i can share my session between the 2 sites by passing the cfid and
cftoken in the URL when i link from one site to the other.

However, we're (probably)  going to move to clustering (multiple CF
instances on a single server) using sticky sessions, and as far as i
understand this means i'll need to start using J2EE session variables.
But when try passing the jsessionid to the other site it doesn't use it, but
rather sets a new cookie.jsessionid. Even if i manually set it using
<cfcookie name='jsessionid' value='#url.jsessionid#'>

So, the question: is it possible to have a single user/browser session
accessing the same J2EE session from 2 different domains on 2 separate web
sites running on the same server?
And if so, how?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:190026
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to