Skip to main content
August 10, 2009
Question

Clustering with Logins

  • August 10, 2009
  • 1 reply
  • 1126 views

Hi. I am looking into setting up a CF cluster for failover and load balancing. I use cflogins on my site, but  do not use session variables. Will the cluster still carry over the correct login info, or do I need to enable java session management in my applications?

    This topic has been closed for replies.

    1 reply

    August 11, 2009

    You'd need to configure your instances to use java session management and configure all of your instances as peers.  This will increase memory utilization and latency as the cluster shares the session info across all of the instances (especially with scope info on CFC's).

    Your other options would be to use client variables in a cookie or registry entry or database.  All have their own sets of unique characteristics.

    August 11, 2009

    I do not use CFCs (Application.cfm I have a bunch of), but I can enable session management in the Application.cfm pages. I am assuming the peers are setup when setting up the cluster?

    Any suggestion which method to use for the sessions?

    Thanks.