ColdFusion 5: Using cfgraph in a cluster
Issue
When using cfgraph in a clustered environment where sticky sessions are not enabled, the output of the resulting graph may display as follows:
Sorry, the data for this graph has Expired
When a graph is created with the cfgraph tag, the information for the graph is stored in a memory table on the specific machine where the cfgraph code is being executed. For this reason, in order for cfgraph to work reliably in a clustered environment, sticky sessions must be enabled to ensure each user remains on the same server once the code begins execution.
Solution
Enable sticky sessions on the load balancing hardware/software, which will ensure each session is limited to a single server. Refer to vendor-specific instructions on how to do so.
Additional Information
Related TechNotes:
- Unable to serve Flash content generated by cfgraph via https (TechNote 18518)
- The cfgraph tag does not generate graphs when a date or time value is used for the valueColumn attribute (TechNote 18107)
This content requires Flash
To view this content, JavaScript must be enabled, and you need the latest version of the Adobe Flash Player.
Download the free Flash Player now!
