that I use to populate "local" structures. My problem is that the server
struct is being updated somehow, but I don't want it to. Only the query is
updated, not the simple values of the struct.
Hope that makes sense.
-Brad
-----Original Message-----
From: Raymond Camden [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 24, 2004 10:09 AM
To: CF-Talk
Subject: RE: Weird CFC Problem
When you run structAppend(a,b) you are appending B onto A. In your case,
you
appended Server onto Data. If you wanted to update the server scope why
didn't you just manipulate it directly? If you prefer using a pointer, you
can use
data = "">
Note - I do not recommend directly accessing server variables from CFCs.
If
your intent is to add X to a server variable, you should pass it in as an
argument, or save the result, etc:
<cfset server.myData = someCFC.someMethod()>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

