Bryan S wrote:
Just to round out my education. If I was going to create a separate instance of the CFC each time the scheduled task ran what would I have to change in my MachBlog based code to make that happen?
Without seeing all of the relevant code it's very difficult to answer that question.
Does your scheduled task hit a Mach-II event? If so, I'm assuming there's a listener involved?If that's the case, then in your listener method you could do something like this:
<cfset var myService = createObject("component", "MyService").init() />That will create an instance of the service that's individual to each thread.
-- Matt Woodward m...@mattwoodward.com http://www.mattwoodward.com/blog Please do not send me proprietary file formats such as Word, PowerPoint, etc. as attachments. http://www.gnu.org/philosophy/no-word-attachments.html
smime.p7s
Description: S/MIME Cryptographic Signature