1 Reply Latest reply on Mar 11, 2011 1:02 AM by Padster

    this.setDomainCookies Problem

    jhankins

      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.

       

      srv1.mydomain.com

      srv2.mydomain.com

       

      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.datasource="mydatasource">

      <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?

       

      Help appreciated.