|
Yes! you could be right... it depens of course if
you have instantiated the CFC into a Shared Scope.... If you have not done
this.... meanings that you instantiate the CFC each time... you won't have any
problem calling fList2()... but if you have
instantiated the CFC into a Shared Scope... Yes you could have the problem that
you describe... you might get the list of the users... or the other one... if
you are calling both function fList1 and fList2 many many times... because the
query variable "qList" is global... So! it all depend of the times...
To correct this
situation, you will need to add this line at the beginning of your
functions...
<cfset var qList
= ''>
And you will be
sure, that it will return the right thing...
Stephane
|
- [CFCDev] Queries in CFC's Joel Nath
- RE: [CFCDev] Queries in CFC's St�phane Bisson
- RE: [CFCDev] Queries in CFC's Joel Nath
- RE: [CFCDev] Queries in CFC's Nat Papovich
