I don't use queryNew() and querySetCell() much, but just found a good use for 
it in a SESSION variable. 

My issue is, what's the best way to clear it out after I loop thru and insert 
the data to my db?

I set it up like this:

<cfif NOT StructKeyExists(SESSION, "comments")>
<cfset SESSION.comments = QueryNew("QID, comment")>
</cfif>

Would I just do this after the db insert?

<cfset SESSION.comments = "">

Or run a StructClear()? 

Thanks,
Will



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283704
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to