House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Search cf-talk

July 04, 2009

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31   

Home /  Groups /  ColdFusion Talk (CF-Talk)

Session variables across servers

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Hey all,
Scott Stewart
05/08/08 11:41 A
Brad,
Scott Stewart
05/08/08 12:11 P
Thanks Dave,
Scott Stewart
05/08/08 12:21 P
Scott Stewart wrote:
Jochem van Dieten
05/09/08 03:21 A
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Scott Stewart
05/08/2008 11:41 AM

Hey all, We've got a weird temporary issue.. We have two websites, on different servers under different domains. They need one login for both sites. My understanding is that J2EE Session variables will persist between servers/domains. How do you implement this in ColdFusion? Thanks sas -- Scott Stewart ColdFusion Developer SSTWebworks 4405 Oakshyre Way Raleigh, NC. 27616 (919) 874-6229 (home) (703) 220-2835 (cell)

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Brad Wood
05/08/2008 12:01 PM

Session will persist between two domains if you have the same cfapplication on both sites and keep passing in the same cfid and cftoken values when going from one domain to another. Session replication between physical servers is another thing.  You need to be running ColdFusion enterprise, and have your application deployed as an instance on both machines which are part of a single JRun cluster. At that point, there is a setting in CFAadmin for session replication. ~Brad Hey all, We've got a weird temporary issue.. We have two websites, on different servers under different domains. They need one login for both sites. My understanding is that J2EE Session variables will persist between servers/domains. How do you implement this in ColdFusion? Thanks sas -- Scott Stewart ColdFusion Developer SSTWebworks 4405 Oakshyre Way Raleigh, NC. 27616 (919) 874-6229 (home) (703) 220-2835 (cell)

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Scott Stewart
05/08/2008 12:11 PM

Brad, Does this involve activating J2EE session vars Thanks sas -- Scott Stewart ColdFusion Developer SSTWebworks 4405 Oakshyre Way Raleigh, NC. 27616 (919) 874-6229 (home) (703) 220-2835 (cell) Session will persist between two domains if you have the same cfapplication on both sites and keep passing in the same cfid and cftoken values when going from one domain to another. Session replication between physical servers is another thing.  You need to be running ColdFusion enterprise, and have your application deployed as an instance on both machines which are part of a single JRun cluster. At that point, there is a setting in CFAadmin for session replication. ~Brad Hey all, We've got a weird temporary issue.. We have two websites, on different servers under different domains. They need one login for both sites. My understanding is that J2EE Session variables will persist between servers/domains. How do you implement this in ColdFusion? Thanks sas -- Scott Stewart ColdFusion Developer SSTWebworks 4405 Oakshyre Way Raleigh, NC. 27616 (919) 874-6229 (home) (703) 220-2835 (cell)

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Scott Stewart
05/08/2008 12:12 PM

Ignore my last post.... brain fart...going on vacation on Sunday, brains not here -- Scott Stewart ColdFusion Developer SSTWebworks 4405 Oakshyre Way Raleigh, NC. 27616 (919) 874-6229 (home) (703) 220-2835 (cell) Session will persist between two domains if you have the same cfapplication on both sites and keep passing in the same cfid and cftoken values when going from one domain to another. Session replication between physical servers is another thing.  You need to be running ColdFusion enterprise, and have your application deployed as an instance on both machines which are part of a single JRun cluster. At that point, there is a setting in CFAadmin for session replication. ~Brad Hey all, We've got a weird temporary issue.. We have two websites, on different servers under different domains. They need one login for both sites. My understanding is that J2EE Session variables will persist between servers/domains. How do you implement this in ColdFusion? Thanks sas -- Scott Stewart ColdFusion Developer SSTWebworks 4405 Oakshyre Way Raleigh, NC. 27616 (919) 874-6229 (home) (703) 220-2835 (cell)

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Dave Watts
05/08/2008 12:18 PM

> We've got a weird temporary issue.. We have two websites, on > different servers under different domains. > They need one login for both sites. > > My understanding is that J2EE Session variables will persist > between servers/domains. If you're using cookies for your session tokens, they can't be shared across domains, whether you're using J2EE session management or not. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Training: Adobe/Google/Paperthin Certified Partners http://training.figleaf.com/ WebManiacs 2008: the ultimate conference for CF/Flex/AIR developers! http://www.webmaniacsconference.com/

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Scott Stewart
05/08/2008 12:21 PM

Thanks Dave, I'm looking for different possibilities.... it's a rig until they move the sites to the same server... sas -- Scott Stewart ColdFusion Developer SSTWebworks 4405 Oakshyre Way Raleigh, NC. 27616 (919) 874-6229 (home) (703) 220-2835 (cell) > We've got a weird temporary issue.. We have two websites, on > different servers under different domains. > They need one login for both sites. > > My understanding is that J2EE Session variables will persist > between servers/domains. If you're using cookies for your session tokens, they can't be shared across domains, whether you're using J2EE session management or not. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Training: Adobe/Google/Paperthin Certified Partners http://training.figleaf.com/ WebManiacs 2008: the ultimate conference for CF/Flex/AIR developers! http://www.webmaniacsconference.com/

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Jochem van Dieten
05/09/2008 03:21 AM

Scott Stewart wrote: > I'm looking for different possibilities.... > it's a rig until they move the sites to the same server... You efforts are probably better spent speeding up the site move. Jochem

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Scott Stewart
05/09/2008 09:37 AM

You're right, however I'm the "contractor" on an established team so I have zero say in this . -- Scott Stewart ColdFusion Developer SSTWebworks 4405 Oakshyre Way Raleigh, NC. 27616 (919) 874-6229 (home) (703) 220-2835 (cell) Scott Stewart wrote: > I'm looking for different possibilities.... > it's a rig until they move the sites to the same server... You efforts are probably better spent speeding up the site move. Jochem


<< Previous Thread Today's Threads Next Thread >>

Mailing Lists