I am trying to setup a cluster of CF9 Standard servers on RHEL using client scope with database storage as default.
I have 2 servers within the same domain.
and a third db server holding the clientsessions mysql db
In my Application.cfc I have
<cfset this.name = "myApp">
<cfset this.clientManagement = "Yes">
<cfset this.setClientCookies = "Yes">
<cfset this.setDomainCookies = "Yes">
The experience I'm getting is that the cookie being set in NOT a domain cookie. ie it's domain is not set to .mydomain.com but rather the server.
It's as if it's ignoring the SetDomainCookies directive. I'm trying to maintain state in an HA setting if I loose an app server or in a non-cookie sticky loadbalancing setting.
Is there something else I need to do to get the cookies to be set to domain vs server?
1. Check in your CFIDE/Administrator/ >Settings that you're using J2EE sessions - you must for the cluster to work if CF is the cluster manager being used 2. Check in your CFIDE/Administrator/ >Enterprise Manager > Cluster Manager that registered servers are by domain not IP
Reboot CF instances
If that doesn't help -try reading this
This may be worth a look as well:
Hope this helps