Welcome!

ColdFusion Authors: Greg Ness, Liz McMillan, Pat Romanski, Andreas Grabner, David Strom

Related Topics: ColdFusion

ColdFusion: Article

Ben Forta's ColdFusion Blog: ColdFusion Flex Enterprise Services Based Session Tracker Online

Uses Flex Enterprise Services to push real time session details

One of the examples that I have been using in my user group presentations is a ColdFusion Session Tracker. This application uses Flex Enterprise Services to push real time session details to a connected Flex client. The display is a grid of sessions showing request count and when the most recent request occurred, and allowing each session to be expanded (to see details) and collapsed as needed.

The application is a demonstration of:

  • How to send structured data from ColdFusion to Flex clients via Flex Enterprise Services (FES).
  • How to subscribe to messages channels and how to consume received data.
  • The use of custom grid renderers.
  • Using states to implement expand/collapse views within grid cell renderers.

To create and run the ColdFusion Session Tracker you must have the following (all of which are downloadable from the Labs site):

  1. ColdFusion MX 7.01 (Enterprise or Developer editions) with the "Mystic" updater installed.
  2. Flex Builder 2.0 Beta 1.
  3. Flex Enterprise Services 2.0 Beta 1.

As this application uses Flex Enterprise Services it cannot be used with ColdFusion Standard (which does not support the use of event gateways). ColdFusion Enterprise (or Developer Edition) is required.

You can download the application (along with detailed instructions and usage notes) from the ColdFusion/Flex Connectivity page.

More Stories By Ben Forta

Ben Forta is Adobe's Senior Technical Evangelist. In that capacity he spends a considerable amount of time talking and writing about Adobe products (with an emphasis on ColdFusion and Flex), and providing feedback to help shape the future direction of the products. By the way, if you are not yet a ColdFusion user, you should be. It is an incredible product, and is truly deserving of all the praise it has been receiving. In a prior life he was a ColdFusion customer (he wrote one of the first large high visibility web sites using the product) and was so impressed he ended up working for the company that created it (Allaire). Ben is also the author of books on ColdFusion, SQL, Windows 2000, JSP, WAP, Regular Expressions, and more. Before joining Adobe (well, Allaire actually, and then Macromedia and Allaire merged, and then Adobe bought Macromedia) he helped found a company called Car.com which provides automotive services (buy a car, sell a car, etc) over the Web. Car.com (including Stoneage) is one of the largest automotive web sites out there, was written entirely in ColdFusion, and is now owned by Auto-By-Tel.

Comments (3) View Comments

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


Most Recent Comments
Jim Wells 03/17/06 02:57:19 PM EST

Cant you already push real time data using the gateway socket event and without the use Flex?

SYS-CON Brazil News Desk 03/01/06 11:24:04 AM EST

Ben Forta's ColdFusion Blog: ColdFusion Flex Enterprise Services Based Session Tracker Online. One of the examples that I have been using in my user group presentations is a ColdFusion Session Tracker. This application uses Flex Enterprise Services to push real time session details to a connected Flex client.

queZZtion 03/01/06 05:12:12 AM EST

|| To create and run the ColdFusion Session Tracker you must have the following (all of which are downloadable from the Labs site): ||

So it is Adobe Labs now or Macromedia Labs still, both URLs seem to be valid still.