Yes, WDDX is a good way round this problem, something like -
<Cfwddx action="CFML2WDDX" input="#yourquery#" output="CLIENT.query">
to serialize the query into a client variable, then on subsequent pages -
<cfwddx action="WDDX2CFML" input="#CLIENT.query#" output="yourquey">
to deserialize it back into a CF query object, which can be used like any
"normal" query.
Hope this helps
Alistair Davidson
Senior Web Developer
Rocom New Media
www.rocomx.net
-----Original Message-----
From: Nathan Nelson [mailto:[EMAIL PROTECTED]]
Sent: 23 May 2001 23:09
To: CF-Talk
Subject: Storing Complex Variables in memory
Hello everybody,
I am working on a shopping cart application and I am creating the shopping
cart using a query. Right now I am storing the query as a session variable
which works great. I wanted to use client variables, but it is too complex.
The problem with using session variables is that this application will be on
a clustered environment. Has anybody experienced this? I was thinking
maybe using WDDX to put it into a client variable if that would work. I
would appreciate ANY ideas on how I should handle this.
Thanks in advance,
Nathan Nelson
ColdFusion Developer
...::[CFDynamics]::.
www.cfdynamics.com
[EMAIL PROTECTED]
(801)621-8511
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists