Well, I have lots of pages with hundreds of cfsets. They are not inherently slow. Clearly what's slowing you up is the PDFToolkit stuff. Switching to cfscript won't help that any.
----- Original Message ----- From: "Pete Ruckelshaus" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Friday, April 19, 2002 7:46 AM Subject: Re: cfset > First, use cfscript to set your variables, esp. if they can all be fit in a > single cfscript block. > > Pete > > ----- Original Message ----- > From: "Janine Jakim" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Thursday, April 18, 2002 3:27 PM > Subject: cfset > > > > I have a page that has hundreds of cfsets in it. (it goes out to a pdf and > > each box needs defined) > > Like so: > > <CFSET GR1=PDFToolkit.SetFormFieldData("GR1", "#GetGrades.Grade[1]#", 0)> > > <CFSET GR2=PDFToolkit.SetFormFieldData("GR2", "#GetGrades.Grade[2]#", 0)> > > > > It can take up to almost a minute to process. The sql end is fine-it's in > a > > stored procedure and runs quick enough. But I was noticing that when I > watch > > the performance monitor on my CFserver it goes up to 100%/or very close to > > that- and stays there until the processing is complete. How can I get it > so > > this page isn't a resource hog (Others get a server busy msg...) > > Thanks in advance, > > J > > > ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists