Thanks!

-----Original Message-----
From: Cameron Childress [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 08, 2001 11:28 AM
To: CF-Server
Subject: RE: naything wrong with heavy use of session vars?


Store it like this:

<CFQUERY Name="SomeQuery"></CFQUERY>

<CFWDDX ACTION="CFML2WDDX" INPUT="#SomeQuery#" OUTPUT="SomeWDDXQuery">
<CFSET Client.cachedquery = SomeWDDXQuery>

------
Retrieve it like this:

<CFSET SomeWDDXQuery = Client.cachedquery>
<CFWDDX ACTION="WDDX2CFML" INPUT="#SomeWDDXQuery#" OUTPUT="SomeQuery">

Then you can use it like this:

<CFOUTPUT query="SomeQuery"></CFOUTPUT>

-Cameron

--------------------
Cameron Childress
elliptIQ Inc.
p.770.460.7277.232
f.770.460.0963

> -----Original Message-----
> From: Tomas Becklin - Web Developer [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 08, 2001 1:34 PM
> To: CF-Server
> Subject: RE: naything wrong with heavy use of session vars?
>
>
> You say you use WDDX, would you mind explaining it a bit?
>
> Thanks
>
> Tomas
>
> -----Original Message-----
> From: Nick McClure [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 08, 2001 9:16 AM
> To: CF-Server
> Subject: RE: naything wrong with heavy use of session vars?
>
>
> This is true, but I use WDDX and I able to get around this with
> no problem.
>
> >One thing to watch out for, AFAIK client variables will only store simple
> >data types. This means no structures or queries. There are various ways
> >around this, but they do require a little extra work. BTW, the bay area
> >CFUG had good presentation on clustered session management last year, I
> >think the sample code and presentation notes are still available at
> >www.bacfug.org
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with 
'unsubscribe' in the body or visit the list page at www.houseoffusion.com

Reply via email to