1) I seem to rembmer some problems with CFCs accessing shared and persistant
scopes in CFMX 6.0. Do upgrade to 6.1 to make the best use of persistant
scopes and to more easily put your CFC in a persistant scope.

2) You can have a method interact with your session variables, but since
they are persistant and will already be set or modified for the user after
it runs, you should probably set return="void", unless you have some other
data you actually want returned.

-nathan strutz


-----Original Message-----
From: Paul Giesenhagen [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 02, 2003 10:30 PM
To: CF-Talk
Subject: CFC's


Just starting to mess around with CFC's and have a few questions:

1) Can the template set a session variable and the CFC read the values from
that session?  And can a CFC set a session variable and the template then
read those variables .. I have been having some trouble with this and wanted
to clarify.

2) We have two session variables that somewhat interact.  One is an array
populated with structs while the other is just a struct.  relating to my 1st
question, can you manipulate both of those session variables in one function
and then return back the output?

3) Is there a good website that gets into the heavy details of CFC's, with
some good examples of manipulating sessions and other variables ... dealing
with queries is easy enough.

You may be able to tell from my post that  I am alittle lost on the CFC's
... just starting to play with them.

Thanks in advance ..

Paul Giesenhagen
QuillDesign


[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to