Skip to main content
Inspiring
March 3, 2010
Question

Client Variable question

  • March 3, 2010
  • 1 reply
  • 534 views

Hi,

If we can't afford ColdFusion 9 Enterprise could we get away with using ColdFusion's Client Variables stored in the database to persist information across servers?

Typically, we've had just one server and used session vars so things worked fine. The problem is we want to add an additional ColdFusion server and I'm concerned that we won't be able to continue to use session variables anymore.  I'm trying to determine if Client Variables is my only option to persist information across servers since we can't afford ColdFusion 8/9 Enteprrise.  We also have CFCs in the session scope at times and wondering if that will be an issue too since we don't have CF 8/9 Enterprise.  I thought Client Variables only stored simple data as opposed to structures, cfcs, etc, but I could be wrong...

Any thoughts appreciated

This topic has been closed for replies.

1 reply

ilssac
Inspiring
March 3, 2010

There are ways to serialize complex variables so that they can be stored in a database.

But you may want to consider sticky sessions.  With such a configuration once a user comes to yoru site and is asigned to a given server, that user's reqeusts will continue to be served by the same server until their session is up.

WestSideAuthor
Inspiring
March 3, 2010

For sticky sessions don't we need CF Enterprise?


Participant
March 3, 2010

Depends on what you are using to create and manage the cluster. If you are using a hardware load balancer solution (like an F5 Networks load balancer) then you don't need CF Enterprise. But if you are using software clustering, then you do.

Dana