If I have a CFC that stores its results in session scope is the data
duplicated on the return or is the session data just referenced via pointer
of sorts?

 

<cfcomponent>

 

  <cffunction name="getAccounts">

            <cfquery name="session.test">

            SELECT * FROM BLAH

             </cfquery>

 

            <cfreturn session.test>

   </cffunction>

 

</cfcomponent>

 

On the page...

 

<cfinvoke 

 component="accounts"

 method="getAccounts"

 returnvariable="aQuery" />

 

<cfloop query="aQuery">

..

</cfloop>

 

 

Thanks, Stace



AVIS IMPORTANT: 
-------------------------------
Les informations contenues dans le present document et ses pieces jointes sont 
strictement confidentielles et reservees a l'usage de la (des) personne(s) a qui il 
est adresse. Si vous n'etes pas le destinataire, soyez avise que toute divulgation, 
distribution, copie, ou autre utilisation de ces informations est strictement 
prohibee.  Si vous avez recu ce document par erreur, veuillez s'il vous plait 
communiquer immediatement avec l'expediteur et detruire ce document sans en faire de 
copie sous quelque forme.

WARNING:  
-------------------------------
The information contained in this document and attachments is confidential and 
intended only for the person(s) named above.  If you are not the intended recipient 
you are hereby notified that any disclosure, copying, distribution, or any other use 
of the information is strictly prohibited.  If you have received this document by 
mistake, please notify the sender immediately and destroy this document and 
attachments without making any copy of any kind.


______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to