• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Client Variable Showing Outdated Value Intermittently

New Here ,
Sep 03, 2013 Sep 03, 2013

Copy link to clipboard

Copied

We have a legacy ColdFusion application using 150 client variables to manage session state. The client variables are centrally stored in a SQL Server database within a 6 (CF9) application server clustered environment using a round-robin load balancer.

The problem is when the code updates a client variable with a new value, the old value is still being used and displayed even though the new value is updated appropriately in the CData table. This only happens intermittently in an average of 1 out of 1000 updates being made to the client variable using the cfset tag.

Race conditions and caching issues are possible explanations. We "suspect" that the old value is still being cached on one of the 6 application servers. Adobe's documentation clearly states that the client variables are cached into memory but does not go into further details.

1) Has anyone also experienced this issue and found a good resolution?

2) What are the implications of moving to a sticky session while we keep using the client variables?

Views

331

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation
Resources
Documentation