The easiest way to do it is to set the storage flag for one datasource and set the sessionstorage to the datasource you just enabled.
In addition if you so not use sticky sessions, just add the param sessioncluster to true. Like this (Application.cfc)
{
this.sessionstorage = 'yourdatasource';
this.sessioncluster = true;
}
If you use the Application.cfm instead, you do it like this:
<cfapplication name="yourapplicationname" sessionstorage="yourdatasource" sessioncluster="#true#">
Or
<cfapplication action="update" sessionstorage="yourdatasource" sessioncluster="#true#">
HTH
Sincerely
Gert Franz
RASIA GmbH
Spittelgasse 7
5103 Moeriken-Wildegg
Email: ge...@rasia.ch
Skype: gert.franz
Phone Switzerland: +41 76 5680 231
--
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/73dadad6-49ec-4135-8e56-55be85c127a3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/005401d04b9d%24ea9079f0%24bfb16dd0%24%40rasia.ch.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/33ff98cf-3609-48e2-94c7-49e9cf2c1813%40googlegroups.com.
Igal Sapir
Lucee Core Developer
Lucee.org
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/CAGHrs%3D9DGkrxt-3ArtXVY9WN767FN%3DHRn1X5uPetCmScdvK2Kw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/CAGHrs%3D9DGkrxt-3ArtXVY9WN767FN%3DHRn1X5uPetCmScdvK2Kw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/CAC0HRKntddSjVA3vvEpEjkUGPKRB-W0NiEZE5UPDuVh-RuvHPQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/005401d04b9d%24ea9079f0%24bfb16dd0%24%40rasia.ch.
Amazon has sticky sessions with their load balancers but I think a good goal for scaling is round robin this way.
This way, if any server goes down, the user's session isn't stuck in a dead server.
--
You received this message because you are subscribed to a topic in the Google Groups "Lucee" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/lucee/22_1wwR5q7c/unsubscribe.
To unsubscribe from this group and all its topics, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/CABPCP-2sp0VNjm-sfbF5e%3Dnt%2BK%2BLALgc9ySWxk_X%3D0thvhtzZA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/CA%2Bsj4ynN6iDhx4jL6%2Be_ok_yi4wVPszFC%3DoFyPMJOececsDEmw%40mail.gmail.com.
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/CALbQ1on42OxNf2md_i3Z_ae%3D%2BKb9Y6PugBvxTDcKcps_OMZyjA%40mail.gmail.com.
The other part I don't understand, is that the CFID issued for the same user on ServerA & ServerB will be different. How is this resolved?
And do I need to use the same Application name [this.name] for both ServerA & ServerB, in their respective Application.cfc?
Thanks
Charlie