If you plan to store this CFC in a shared scope (to avoid instantiating it on every request), you need to make two small changes:

On Feb 13, 2004, at 9:53 AM, Ramene Anthony wrote:
<cfcomponent� displayName="convert_session_client">
�<cffunction name="complex2client">
��� <cfargument name="ComplexIn" type="any" required="true">

Need to declare ClientOut:


<cfset var ClientOut = 0 />

����� <!--- convert complex data to wddx --->
����� <cfwddx action="cfml2wddx" input="#ComplexIn#" output="ClientOut">
����� <!--- return wddx to the caller --->
����� <cfreturn ClientOut>
�</cffunction>


� <cffunction name="client2complex">
��� <cfargument name="ClientIn" type="any" required="true">

Need to declare ComplexOut:


<cfset var ComplexOut = 0 />

����� <!--- Conver wddx to complex data --->
����� <cfwddx action="wddx2cfml" input="#ClientIn#" output="ComplexOut">
����� <!--- return complex data to the caller --->
����� <cfreturn ComplexOut>
�</cffunction>

Regards, Sean

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev'
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to