Yep - not the sort of thing you'd want to do to your server on a regular basis - be better to cache either the final output or the name of the temp file (as opposed to use the custom tag to generate it on the fly)
--- Billy Cravens -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Patrick Steil Sent: Friday, February 15, 2002 5:04 PM To: [EMAIL PROTECTED] Subject: RE: cfml stored in variable Yeah, I checked it out, I believe it takes the CFML, saves it to a temp file and CFINCLUDES the temp file.... Patrick At 02:38 PM 2/15/02 -0600, you wrote: >There's actually a custom tag on the Dev Exchange called CF_Exec that >already does this > >--- >Billy Cravens > > >-----Original Message----- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On >Behalf Of Gregory Price >Sent: Friday, February 15, 2002 2:26 PM >To: [EMAIL PROTECTED] >Subject: Re: cfml stored in variable > >i dont think so either... i will have to write to a file to get what i >want >here > >----- Original Message ----- >From: <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Friday, February 15, 2002 2:19 PM >Subject: Re: cfml stored in variable > > > > I don't think it is possible to do this they way you are thinking. > > > > Evaluate will take care of simple expressions like >"string#variable#string" > > or even "#a# eq #b", but I don't think you can get it to do > > "<cfset var="a"><cfoutput>#a#</cfoutput>"... > > > > Patrick Steil > > Co-Chairman, DFW ColdFusion User Group > > CTO, Infrastructure Incorporated > > http://www.dfwcfug.org > > [EMAIL PROTECTED] > > 940-243-8212 x105 > > > > > > > > > > > > At 12:40 PM 2/15/02 -0600, you wrote: > > >What i was forgetting were the double quotes in the evaluate >function... >but > > >it is not working the way i want it to. what i am trying to do is >store > > >CFML in a database and run it in a page... > > >so the variable in question looks like... > > > > > ><cfset test="hello world"> > > >#test# > > >This all stored in some cell. Is it even possible to run this ? Do >I >need > > >to reconsider the way I am storing this data, or the format I am >storing >it > > >in the DB? > > > > > >thanks for your help! > > > > > >----- Original Message ----- > > >From: "Billy Cravens" <[EMAIL PROTECTED]> > > >To: <[EMAIL PROTECTED]> > > >Sent: Friday, February 15, 2002 12:33 PM > > >Subject: RE: cfml stored in variable > > > > > > > > > > I'd just like to add that if you can, try to avoid using this - >this > > > > will be significantly slower than straight execution. > > > > > > > > --- > > > > Billy Cravens > > > > > > > > > > > > -----Original Message----- > > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] >On > > > > Behalf Of Ricardo Sanoja > > > > Sent: Friday, February 15, 2002 12:08 PM > > > > To: [EMAIL PROTECTED] > > > > Subject: RE: cfml stored in variable > > > > > > > > Try #Evaluate(DE("#variables.var#"))# > > > > > > > > > > > > Sincerely, > > > > Ricardo Sanoja > > > > Senior Web Architect > > > > Version 4 Technologies, LLC. > > > > 4288 Kellway Circle > > > > Addison, TX 75001-4200 > > > > > > > > 214.641.5255 > > > > [EMAIL PROTECTED] > > > > > > > > -----Original Message----- > > > > From: Gregory Price [mailto:[EMAIL PROTECTED]] > > > > Sent: Friday, February 15, 2002 12:09 PM > > > > To: [EMAIL PROTECTED] > > > > Subject: cfml stored in variable > > > > > > > > > > > > Does anyone know how to run CFML code stored in a variable? > > > > I thought using evaluate function would work, but no luck. > > > > > > > > > > > > > > > > > > > > > >----------------------------------------------------------------------- - > > > > - > > > > This email server is running an evaluation copy of the MailShield >anti- > > > > spam software. Please contact your email administrator if you have >any > > > > questions about this message. MailShield product info: > > > > www.mailshield.com > > > > > > > > ----------------------------------------------- > > > > To post, send email to [EMAIL PROTECTED] > > > > To subscribe / unsubscribe: http://www.dfwcfug.org > > > > > > > > > >----------------------------------------------------------------------- - >- > > > > This email server is running an evaluation copy of the MailShield >anti- > > > > spam software. Please contact your email administrator if you have >any > > > > questions about this message. MailShield product info: >www.mailshield.com > > > > > > > > ----------------------------------------------- > > > > To post, send email to [EMAIL PROTECTED] > > > > To subscribe / unsubscribe: http://www.dfwcfug.org > > > > > > > > > >----------------------------------------------------------------------- >-- > > >This email server is running an evaluation copy of the MailShield >anti- > > >spam software. Please contact your email administrator if you have >any > > >questions about this message. MailShield product info: >www.mailshield.com > > > > > >----------------------------------------------- > > >To post, send email to [EMAIL PROTECTED] > > >To subscribe / unsubscribe: http://www.dfwcfug.org > > > > > > >----------------------------------------------------------------------- - >- > > This email server is running an evaluation copy of the MailShield >anti- > > spam software. Please contact your email administrator if you have any > > questions about this message. MailShield product info: >www.mailshield.com > > > > ----------------------------------------------- > > To post, send email to [EMAIL PROTECTED] > > To subscribe / unsubscribe: http://www.dfwcfug.org > > >----------------------------------------------------------------------- - >- >This email server is running an evaluation copy of the MailShield anti- >spam software. Please contact your email administrator if you have any >questions about this message. MailShield product info: >www.mailshield.com > >----------------------------------------------- >To post, send email to [EMAIL PROTECTED] >To subscribe / unsubscribe: http://www.dfwcfug.org > >----------------------------------------------------------------------- -- >This email server is running an evaluation copy of the MailShield anti- >spam software. Please contact your email administrator if you have any >questions about this message. MailShield product info: www.mailshield.com > >----------------------------------------------- >To post, send email to [EMAIL PROTECTED] >To subscribe / unsubscribe: http://www.dfwcfug.org ----------------------------------------------- To post, send email to [EMAIL PROTECTED] To subscribe / unsubscribe: http://www.dfwcfug.org ------------------------------------------------------------------------- This email server is running an evaluation copy of the MailShield anti- spam software. Please contact your email administrator if you have any questions about this message. MailShield product info: www.mailshield.com ----------------------------------------------- To post, send email to [EMAIL PROTECTED] To subscribe / unsubscribe: http://www.dfwcfug.org
