RE: which is faster?
It would depend on your requirements, for example setting the application variable means that it now becomes a global variable. However when you come to use the date, depending on when you set the variable it will hold the incorrect time stamp. Unless this is not a problem for you. My solution would be if this function isn't that fussed if the time stamp is out by a few seconds or however long it takes to run. You could set the variable once at the beginnning of the function and reference this variable where you need to instead of calling the now function everytime. regards Andrew Scott Senior Cold Fusion Application Developer ANZ eCommerce Centre * Ph 9273 0693 * [EMAIL PROTECTED] -Original Message- From: Jon Hall [mailto:[EMAIL PROTECTED]] Sent: 24 November 2000 18:42 To: CF-Talk Subject: which is faster? This is a multi-part message in MIME format. --=_NextPart_000_0017_01C055C0.165A91D0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I have a calendar app that calls the now() function many times = throughtout and format it differently using the day(), month() and so on = functions. I got a thought that it may be faster just to set the now() = value to a variable in the application.cfm so I dont have to = contininually call that function.=20 Would this show any speed increase? jon ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Application.cfm inheritence
Yes provided they belong to the same directory structure for this application. For example, if I have application.cfm in the application root directory, then later I call a file that was in another directory as /includes then it will say it can't find it, move up a directory until it can't reach pass the application web root. However if the application has to change servers, then it would need new Application.cfm and I am not sure if crossing between non-SSL and SSL urls is the same or not never really checked as I always include the parent application.cfm along the way regards Andrew Scott Senior Cold Fusion Application Developer ANZ eCommerce Centre * Ph 9273 0693 * [EMAIL PROTECTED] -Original Message- From: Michael She [mailto:[EMAIL PROTECTED]] Sent: 25 November 2000 12:31 To: CF-Talk Subject: Application.cfm inheritence Hello, Will a "child" application.cfm inherit variables, settings, etc from the parent application.cfm? For example: +Root Dir |application.cfm +---Some Subdir | applicaiton.cfm(2) will application.cfm(2) be able to get the settings from application.cfm? -- Michael She I m a g i n e C o m m u n i c a t i o n s Company E-mail: [EMAIL PROTECTED] Personal E-mail: [EMAIL PROTECTED] ICQ UIN: #243466 Personal Homepage: http://www.michaelshe.com (Under Construction) Imagine Communications: http://www.imagineer.net PGP Fingerprint: 9A24 1DA9 39B8 0A0C C5ED 6E5D 45E9 075A 51CD 66A1 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Clustering for Linux
There was an Allaire guy at the conference, I think his name was Josh. He was the Allaire guy for all-things-Linux. Even said he liked personal emails. You might want to try and track him down through Allaire. - Original Message - From: "Gena" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, November 27, 2000 1:17 AM Subject: Clustering for Linux > Does anybody has URL or just information about tips and tricks about > clustering of CF on Linux? > > Regards, > Gennadi > > ~~ > Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm > > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ > Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists > ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Clustering for Linux
o yes =) let me get my note book out. Lol actually clustering on Linux was very very easy after i realized i made a few stupid mistakes. Cluster Cats works great, and use SSH & Rsync to synchronize data, if there is something better and more cost effective then rsync let me know =) Bill Wheatley Director of Development Allaire Certified ColdFusion Developer AEPS INC Allaire ColdFusion Consulting Partner www.aeps.com www.aeps2000.com 954-472-6684 X303 ICQ: 417645 - Original Message - From: "Gena" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, November 27, 2000 12:17 AM Subject: Clustering for Linux > Does anybody has URL or just information about tips and tricks about > clustering of CF on Linux? > > Regards, > Gennadi > > ~~ > Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm > > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ > Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists > ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Clustering for Linux
Does anybody has URL or just information about tips and tricks about clustering of CF on Linux? Regards, Gennadi ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CF-based management-tool for a great number of web-sites
Has anyone put CF-Linux on a cobalt cube? - Original Message - From: "John McKown" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, November 27, 2000 12:50 AM Subject: RE: CF-based management-tool for a great number of web-sites > Isn't that what a Cobalt server is for? ;) > > John McKown, VP Business Services > Delaware.Net, Inc. > 30 Old Rudnick Lane, Suite 200 > Dover, DE 19901 > eMail: [EMAIL PROTECTED] > Phone: 302-736-5515 > Fax: 302-736-5945 > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > Sent: Sunday, November 26, 2000 3:26 PM > > To: CF-Talk > > Subject: CF-based management-tool for a great number of web-sites > > > > > > Hi list, a company called Trident Inc. ( www.trident.net ) > > has got a neat product. It is called Domain Master. (At least it > > sounds nice > > on their Web-Site) > > It is based on ColdFusion. > > They write: > > --- > > We have designed Domain Master to ease the burden of Web site > > management for > > Internet Service Providers, Commerce Service Providers, Associations or > > Organizations with multiple web sites. Domain Master enables these > > organizations to manage their eCommerce storefronts, their customers' web > > sites, the e-mail accounts, web statistics and web accounting from any > > location in the world using a simple web browser. If Trident's > > OSM eCommerce > > software is purchased with Domain Master, it establishes a totally > > integrated eCommerce hosting operation. > > > > Does anybody know this product ? I sent them out an E-Mail two > > weeks ago and > > asked for an eval-copy but didn't get any answer. > > Does someone know of any other products doing the same ? > > Thank you. > > > > Uwe > > > > > > Mail: [EMAIL PROTECTED] > > WWW: www.sdsolutions.de > > > > > > > > ~~ > > Structure your ColdFusion code with Fusebox. Get the official > > book at http://www.fusionauthority.com/bkinfo.cfm > > > > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ > > Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists > ~~ > Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm > > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ > Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists > ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF-based management-tool for a great number of web-sites
Isn't that what a Cobalt server is for? ;) John McKown, VP Business Services Delaware.Net, Inc. 30 Old Rudnick Lane, Suite 200 Dover, DE 19901 eMail: [EMAIL PROTECTED] Phone: 302-736-5515 Fax: 302-736-5945 > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Sunday, November 26, 2000 3:26 PM > To: CF-Talk > Subject: CF-based management-tool for a great number of web-sites > > > Hi list, a company called Trident Inc. ( www.trident.net ) > has got a neat product. It is called Domain Master. (At least it > sounds nice > on their Web-Site) > It is based on ColdFusion. > They write: > --- > We have designed Domain Master to ease the burden of Web site > management for > Internet Service Providers, Commerce Service Providers, Associations or > Organizations with multiple web sites. Domain Master enables these > organizations to manage their eCommerce storefronts, their customers' web > sites, the e-mail accounts, web statistics and web accounting from any > location in the world using a simple web browser. If Trident's > OSM eCommerce > software is purchased with Domain Master, it establishes a totally > integrated eCommerce hosting operation. > > Does anybody know this product ? I sent them out an E-Mail two > weeks ago and > asked for an eval-copy but didn't get any answer. > Does someone know of any other products doing the same ? > Thank you. > > Uwe > > > Mail: [EMAIL PROTECTED] > WWW: www.sdsolutions.de > > > > ~~ > Structure your ColdFusion code with Fusebox. Get the official > book at http://www.fusionauthority.com/bkinfo.cfm > > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ > Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Cookie Monster
Yes, I set CFID/CFTOKEN with each page request. That is no problem. The curious part is why IE would set a cookie. best, paul At 03:02 PM 11/27/00 +1100, you wrote: >I am assuming that you are setting the CFID & CFToken with the passed values >on the url? If not then this is your problem! > >regards > >Andrew Scott >Senior Cold Fusion Application Developer >ANZ eCommerce Centre >* Ph 9273 0693 >* [EMAIL PROTECTED] > > >-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] >Sent: 27 November 2000 14:42 >To: CF-Talk >Subject: Cookie Monster > > >Hello Fellow Lister! > >I have an application that maintains state by passing CFID/CFTOKEN in the >URL from one page request to another (no cookies). It works fine with CFAS >4.5.1. A typical URL looks like the following: > >http://www.MyApp.com/INDEX.CFM/IN.235/CD.401/CN.46089116.htm > >where CFID is 401 and CFTOKEN is 46089116 > >With CFAS 4.0.1 however, it works fine only if the browser is set not to >accept cookies (even though I don't try to set them). > >With CF 4.0.1, if the browser is set to accept cookies, my application >throws an error AND IE 4 sp1 (but not Netscape) sets a cookie, even though >app_globals.cfm contains the following: > >< > CFAPPLICATION CLIENTMANAGEMENT="Yes" > SESSIONMANAGEMENT="Yes" > SETCLIENTCOOKIES="No" > NAME="SmarterYP" > CLIENTSTORAGE="CVR_TEG" > > > >Anyone know what's going on here? > >I'm about to give up on CFID/CFTOKEN and generate my own parameters. > >best, paul > >~~ >Structure your ColdFusion code with Fusebox. Get the official book at >http://www.fusionauthority.com/bkinfo.cfm > >Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ >Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists >~~ >Structure your ColdFusion code with Fusebox. Get the official book at >http://www.fusionauthority.com/bkinfo.cfm > >Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ >Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Cookie Monster
I am assuming that you are setting the CFID & CFToken with the passed values on the url? If not then this is your problem! regards Andrew Scott Senior Cold Fusion Application Developer ANZ eCommerce Centre * Ph 9273 0693 * [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 27 November 2000 14:42 To: CF-Talk Subject: Cookie Monster Hello Fellow Lister! I have an application that maintains state by passing CFID/CFTOKEN in the URL from one page request to another (no cookies). It works fine with CFAS 4.5.1. A typical URL looks like the following: http://www.MyApp.com/INDEX.CFM/IN.235/CD.401/CN.46089116.htm where CFID is 401 and CFTOKEN is 46089116 With CFAS 4.0.1 however, it works fine only if the browser is set not to accept cookies (even though I don't try to set them). With CF 4.0.1, if the browser is set to accept cookies, my application throws an error AND IE 4 sp1 (but not Netscape) sets a cookie, even though app_globals.cfm contains the following: < CFAPPLICATION CLIENTMANAGEMENT="Yes" SESSIONMANAGEMENT="Yes" SETCLIENTCOOKIES="No" NAME="SmarterYP" CLIENTSTORAGE="CVR_TEG" > Anyone know what's going on here? I'm about to give up on CFID/CFTOKEN and generate my own parameters. best, paul ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Caching Queries......
What is cf_timer? Why not just print out CFQUERY.ExecutionTime ? -David On Mon, 27 Nov 2000 14:23:06 +1100 "Scott, Andrew" <[EMAIL PROTECTED]> writes: > I am a little confused on this, this is something I haven't dealt > with > much... So forgive me if I don't understand. > > Anyway I have done the following as a test. > > > cachedwithin="#CreateTimeSpan(1,0,0,0)#"> > select * from bp_modules > > > > cachedwithin="#CreateTimeSpan(1,0,0,0)#"> > select * from bp_modules > > > > The intersting thing is that, sometimes the second query returns the > time it > should have executed other times it returns 0ms like you would > expect a > cache to return This to me appears that either the logic of how > it works > is wrong in what I think it does, or that there is a bug in the > query > caching. GET INTERNET ACCESS FROM JUNO! Juno offers FREE or PREMIUM Internet access for less! Join Juno today! For your FREE software, visit: http://dl.www.juno.com/get/tagj. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Caching Queries......
Hi Andrew, Easy answer: If the cached query from a previous execution of this template expires between the first and second queries, the second query would have to be re-executed. Are you finding that sometimes the first query is running too fast (i.e. is already cached)? In any case, if you want to flush it in between, do something like this: select * from bp_modules select * from bp_modules select * from bp_modules Regards, David Cummins Systems Developer Ubiquity Software Ltd. Ph: (09) 309-1921 "Scott, Andrew" wrote: > > I am a little confused on this, this is something I haven't dealt with > much... So forgive me if I don't understand. > > Anyway I have done the following as a test. > > > cachedwithin="#CreateTimeSpan(1,0,0,0)#"> > select * from bp_modules > > > > cachedwithin="#CreateTimeSpan(1,0,0,0)#"> > select * from bp_modules > > > > The intersting thing is that, sometimes the second query returns the time it > should have executed other times it returns 0ms like you would expect a > cache to return This to me appears that either the logic of how it works > is wrong in what I think it does, or that there is a bug in the query > caching. > > regards > > Andrew Scott > Senior Cold Fusion Application Developer > ANZ eCommerce Centre > * Ph 9273 0693 > * [EMAIL PROTECTED] > > -Original Message- > From: Dave Watts [mailto:[EMAIL PROTECTED]] > Sent: 25 November 2000 05:51 > To: CF-Talk > Cc: '[EMAIL PROTECTED]' > Subject: RE: Caching Queries.. > > > > You can update cached queries by rerunning the query with a > > > CACHEDWITHIN or CACHEDAFTER attribute which would cause the > > > query to expire immediately from the cache, then rerunning > > > the query again with the desired cache time length. > > > > Does this mean that on a specific page, if my query has > > CACHEDWITHIN="#CreateTimeSpan(0,0,30,0)#" that it'd re-create > > the cache every time? > > > > I thought that it'd only re-create the cache if the time has > > expired... or am I getting things wrong... > > I probably didn't state it clearly enough, that's all. > > Let's say, on the home page of your application, you have a query which you > want to cache: > > cachedwithin="#CreateTimeSpan(1,0,0,0)#"> > SELECT N.News_ID, > N.News_Title > FROM News N > > > Let's also say that you want to build an administrative interface that will > update the database, and clear the cached query. On your admin page, you > might have something like this: > > > INSERT INTO News ... > > ... > cachedwithin="#CreateTimeSpan(0,0,0,0)#"> > SELECT N.News_ID, > N.News_Title > FROM News N > > > Note the changed value for CACHEDWITHIN; this will delete the query from the > cache. > > Then, the next time someone runs the home page, the query will reexecute and > will be recached. Or, if you wanted to avoid having that first user > inconvenienced, you could rerun the query yourself in the admin page with > the desired cache length. > > Dave Watts, CTO, Fig Leaf Software > http://www.figleaf.com/ > voice: (202) 797-5496 > fax: (202) 797-5444 > ~~ > Structure your ColdFusion code with Fusebox. Get the official book at > http://www.fusionauthority.com/bkinfo.cfm > > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ > Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists > ~~ > Structure your ColdFusion code with Fusebox. Get the official book at >http://www.fusionauthority.com/bkinfo.cfm > > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ > Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Cookie Monster
Hello Fellow Lister! I have an application that maintains state by passing CFID/CFTOKEN in the URL from one page request to another (no cookies). It works fine with CFAS 4.5.1. A typical URL looks like the following: http://www.MyApp.com/INDEX.CFM/IN.235/CD.401/CN.46089116.htm where CFID is 401 and CFTOKEN is 46089116 With CFAS 4.0.1 however, it works fine only if the browser is set not to accept cookies (even though I don't try to set them). With CF 4.0.1, if the browser is set to accept cookies, my application throws an error AND IE 4 sp1 (but not Netscape) sets a cookie, even though app_globals.cfm contains the following: < CFAPPLICATION CLIENTMANAGEMENT="Yes" SESSIONMANAGEMENT="Yes" SETCLIENTCOOKIES="No" NAME="SmarterYP" CLIENTSTORAGE="CVR_TEG" > Anyone know what's going on here? I'm about to give up on CFID/CFTOKEN and generate my own parameters. best, paul ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CFLOCK and Custom Tags
I will only say that from my experience if a developer creates a cfx_ custom tag and forgets to make it thread safe then they deserve to be burnt by crashing the server!!! It makes common sense to make a dll in a shared environment as thread safe, does it not!!! But I guess this warning should include that if your not sure, then wrap locks around the cfx! regards Andrew Scott Senior Cold Fusion Application Developer ANZ eCommerce Centre * Ph 9273 0693 * [EMAIL PROTECTED] -Original Message- From: Cameron Childress [mailto:[EMAIL PROTECTED]] Sent: 27 November 2000 05:45 To: CF-Talk Subject: RE: CFLOCK and Custom Tags > I was flipping through the documentation, and it mentions > that CFLOCKs should be used around CFX custom tags. But it > doesn't say anything about CFML custom tags. > > Does anyone have any thoughts, opinions, observations, or > real world experiences to share on this topic? I would > imagine that the threading issues surrounding CFX tags do > not pertain to CFML tags. But, feedback is welcome. The docs suggest placing CFLOCK around CFX tags strictly for threading issues. Many CFX tags are not thread safe internally (I think Forta's CFX_Spell is the favorite tag to pick on here) and have the potential to crash or hang your server if not properly locked. As a side note, our company always locks CFX tags using the CFX_tagname as the lock name. Assuming all apps on the server follow this same rule, this ensures that it's locked and safe across multiple applications. Locking CFML tags should not be needed. If your CFML tag uses application, server, or session variables internally, I would suggest locking them within the tag. You should always be looking to reduce the amount of locked runtime to an absolute minimum. -Cameron ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Caching Queries......
I am a little confused on this, this is something I haven't dealt with much... So forgive me if I don't understand. Anyway I have done the following as a test. select * from bp_modules select * from bp_modules The intersting thing is that, sometimes the second query returns the time it should have executed other times it returns 0ms like you would expect a cache to return This to me appears that either the logic of how it works is wrong in what I think it does, or that there is a bug in the query caching. regards Andrew Scott Senior Cold Fusion Application Developer ANZ eCommerce Centre * Ph 9273 0693 * [EMAIL PROTECTED] -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: 25 November 2000 05:51 To: CF-Talk Cc: '[EMAIL PROTECTED]' Subject: RE: Caching Queries.. > > You can update cached queries by rerunning the query with a > > CACHEDWITHIN or CACHEDAFTER attribute which would cause the > > query to expire immediately from the cache, then rerunning > > the query again with the desired cache time length. > > Does this mean that on a specific page, if my query has > CACHEDWITHIN="#CreateTimeSpan(0,0,30,0)#" that it'd re-create > the cache every time? > > I thought that it'd only re-create the cache if the time has > expired... or am I getting things wrong... I probably didn't state it clearly enough, that's all. Let's say, on the home page of your application, you have a query which you want to cache: SELECT N.News_ID, N.News_Title FROM News N Let's also say that you want to build an administrative interface that will update the database, and clear the cached query. On your admin page, you might have something like this: INSERT INTO News ... ... SELECT N.News_ID, N.News_Title FROM News N Note the changed value for CACHEDWITHIN; this will delete the query from the cache. Then, the next time someone runs the home page, the query will reexecute and will be recached. Or, if you wanted to avoid having that first user inconvenienced, you could rerun the query yourself in the admin page with the desired cache length. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
CFPOP and Forwarded Mail from AOL
I've got a problem with an Email application using CFPOP. We've been able to get all the functions going with attachments, etc. However, we've found that an email forward from AOL is sent as an attachment that does not conform to the way that CFPOP wants to receive attachments, and the mail forward is lost. Has anyone found out how to handle this problem? Thanks. Lance Ong ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Linking
Hello, Very true, but there is no way of "forcing" a user to open a document in Word. You can try adding a no-right-click javascript to the page too. That'll make most non-technical users use the open-link command rather than trying to do a save as. However, like you mentioned, if you have "confirm open when downloading" disabled in Microsoft Explorer, it'll still bring up the save as screen I believe. At 06:57 PM 11/26/00 -0500, you wrote: > If we are speaking of an HTML table, I want to add that clicking a >standard HREF link will not necesarilly open a doc file in Word. >I believe I have both browsers (Netscape and IE) set to prompt before >downloading, or opening, any files. > > If this is intranet-based application, you may have more control over >your user's environment than you would have over mine. > > >Michael She wrote: > > > > When you say table, are you talking about database table or HTML table? > > > > If it is a database table: > > > > Just place a new field in your database called resumepath, and when the > > person uploads his/her resume, you insert the filename (and path) into this > > field? > > > > If it is an HTML/Database table: > > > > Then, you can easily link to the resume via a standard HREF link. > > > > At 05:05 PM 11/26/00 -0500, you wrote: > > > > >I have a table and where the complete name is I want to have a link to > > >the subdirectory where the resume's are kept, all the examples are > > >referencing querys and databases. Say if John Smith is in the list then > > >when clicked on his resume should open in microsoft word. > > > > > >Thanks > > > > > >Also I didnt know if it was proper or non proper to post attachments so > > >I didnt > > > > > >~~ > > >Structure your ColdFusion code with Fusebox. Get the official book at > > >http://www.fusionauthority.com/bkinfo.cfm > > > > > >Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ > > >Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists > > > > > >-=-=- > > >SBG-Priority: 4 (Low) http://www.internz.com/SpamBeGone/ > > > > -- > > Michael She > > I m a g i n e C o m m u n i c a t i o n s > > Company E-mail: [EMAIL PROTECTED] > > Personal E-mail: [EMAIL PROTECTED] > > ICQ UIN: #243466 > > Personal Homepage: http://www.michaelshe.com (Under Construction) > > Imagine Communications: http://www.imagineer.net > > PGP Fingerprint: 9A24 1DA9 39B8 0A0C C5ED 6E5D 45E9 075A 51CD 66A1 > > > > ~~ > > Structure your ColdFusion code with Fusebox. Get the official book at > http://www.fusionauthority.com/bkinfo.cfm > > > > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ > > Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists > >-- >Jeff Houser | mailto:[EMAIL PROTECTED] >AIM: Reboog711 | ICQ: 5246969 | Phone: 860-229-2781 >-- >Instant Cold Fusion 4.5 | ISBN: 0-07-213238-8 >Due out 3rd Quarter 2001 >-- >DotComIt, LLC >database driven web data using ColdFusion, Lotus Notes/Domino >-- >Half of the Alternative Folk Acoustic Duo called Far Cry Fly >http://www.farcryfly.com | http://www.mp3.com/FarCryFly >-- >Does Everyone Think I'm a Cynical? >~~ >Structure your ColdFusion code with Fusebox. Get the official book at >http://www.fusionauthority.com/bkinfo.cfm > >Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ >Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists > >-=-=- >SBG-Priority: 4 (Low) http://www.internz.com/SpamBeGone/ -- Michael She I m a g i n e C o m m u n i c a t i o n s Company E-mail: [EMAIL PROTECTED] Personal E-mail: [EMAIL PROTECTED] ICQ UIN: #243466 Personal Homepage: http://www.michaelshe.com (Under Construction) Imagine Communications: http://www.imagineer.net PGP Fingerprint: 9A24 1DA9 39B8 0A0C C5ED 6E5D 45E9 075A 51CD 66A1 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Linking
If we are speaking of an HTML table, I want to add that clicking a standard HREF link will not necesarilly open a doc file in Word. I believe I have both browsers (Netscape and IE) set to prompt before downloading, or opening, any files. If this is intranet-based application, you may have more control over your user's environment than you would have over mine. Michael She wrote: > > When you say table, are you talking about database table or HTML table? > > If it is a database table: > > Just place a new field in your database called resumepath, and when the > person uploads his/her resume, you insert the filename (and path) into this > field? > > If it is an HTML/Database table: > > Then, you can easily link to the resume via a standard HREF link. > > At 05:05 PM 11/26/00 -0500, you wrote: > > >I have a table and where the complete name is I want to have a link to > >the subdirectory where the resume's are kept, all the examples are > >referencing querys and databases. Say if John Smith is in the list then > >when clicked on his resume should open in microsoft word. > > > >Thanks > > > >Also I didnt know if it was proper or non proper to post attachments so > >I didnt > > > >~~ > >Structure your ColdFusion code with Fusebox. Get the official book at > >http://www.fusionauthority.com/bkinfo.cfm > > > >Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ > >Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists > > > >-=-=- > >SBG-Priority: 4 (Low) http://www.internz.com/SpamBeGone/ > > -- > Michael She > I m a g i n e C o m m u n i c a t i o n s > Company E-mail: [EMAIL PROTECTED] > Personal E-mail: [EMAIL PROTECTED] > ICQ UIN: #243466 > Personal Homepage: http://www.michaelshe.com (Under Construction) > Imagine Communications: http://www.imagineer.net > PGP Fingerprint: 9A24 1DA9 39B8 0A0C C5ED 6E5D 45E9 075A 51CD 66A1 > > ~~ > Structure your ColdFusion code with Fusebox. Get the official book at >http://www.fusionauthority.com/bkinfo.cfm > > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ > Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists -- Jeff Houser | mailto:[EMAIL PROTECTED] AIM: Reboog711 | ICQ: 5246969 | Phone: 860-229-2781 -- Instant Cold Fusion 4.5 | ISBN: 0-07-213238-8 Due out 3rd Quarter 2001 -- DotComIt, LLC database driven web data using ColdFusion, Lotus Notes/Domino -- Half of the Alternative Folk Acoustic Duo called Far Cry Fly http://www.farcryfly.com | http://www.mp3.com/FarCryFly -- Does Everyone Think I'm a Cynical? ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Linking
When you say table, are you talking about database table or HTML table? If it is a database table: Just place a new field in your database called resumepath, and when the person uploads his/her resume, you insert the filename (and path) into this field? If it is an HTML/Database table: Then, you can easily link to the resume via a standard HREF link. At 05:05 PM 11/26/00 -0500, you wrote: >I have a table and where the complete name is I want to have a link to >the subdirectory where the resume's are kept, all the examples are >referencing querys and databases. Say if John Smith is in the list then >when clicked on his resume should open in microsoft word. > >Thanks > >Also I didnt know if it was proper or non proper to post attachments so >I didnt > >~~ >Structure your ColdFusion code with Fusebox. Get the official book at >http://www.fusionauthority.com/bkinfo.cfm > >Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ >Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists > >-=-=- >SBG-Priority: 4 (Low) http://www.internz.com/SpamBeGone/ -- Michael She I m a g i n e C o m m u n i c a t i o n s Company E-mail: [EMAIL PROTECTED] Personal E-mail: [EMAIL PROTECTED] ICQ UIN: #243466 Personal Homepage: http://www.michaelshe.com (Under Construction) Imagine Communications: http://www.imagineer.net PGP Fingerprint: 9A24 1DA9 39B8 0A0C C5ED 6E5D 45E9 075A 51CD 66A1 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Linking
I have a table and where the complete name is I want to have a link to the subdirectory where the resume's are kept, all the examples are referencing querys and databases. Say if John Smith is in the list then when clicked on his resume should open in microsoft word. Thanks Also I didnt know if it was proper or non proper to post attachments so I didnt ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CFIF
Oh, I see. Try this. > -Original Message- From: netman [mailto:[EMAIL PROTECTED]] Sent: Saturday, November 25, 2000 8:27 PM To: CF-Talk Subject: Re: CFIF Thanks again, But I want to know what URL the user is trying to goto, it should be something like the URL they put in there address box in the browser. Thanks, Robert - Original Message - From: "James McCullough" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Saturday, November 25, 2000 10:22 PM Subject: RE: CFIF > If you are trying to find out where the user is coming from in order to > redirect them use cgi.http_referer like this > > > > > > -Original Message- > From: netman [mailto:[EMAIL PROTECTED]] > Sent: Saturday, November 25, 2000 7:54 PM > To: CF-Talk > Subject: CFIF > > > Good Evening, > > Trying to figure out how to do a cfif on the url that is being passed. Need > to redirect according to the url that the user has try to go to. > > Just not sure about the syntax to use to compare according to the url. > Tried xyz But did not work. I thought it would > be similar to a url.var. > > Can anyone help, > > Robert > > ~~ > Structure your ColdFusion code with Fusebox. Get the official book at > http://www.fusionauthority.com/bkinfo.cfm > > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ > Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists > > ~~ > Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm > > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ > Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
certification percentage?
What's the avg test percentage that those have passed received? Seems like it should be a mandatory 80% or better to pass instead of 60%. Just curious... ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Tell Me and CF
Here is my post to a tell me newsgroup. It is actually a CF question thoguh so I thought I would post here. OK I am closer now. I can get it to record, playback and post. but when I try save the posted contents I get a Cold Fusion error. Basically when I branch to the "Make a Game Report" section. I load this code. What's your beef cowboy? You said http://www.rivercityhockey.net/vxml/record.cfm" method="post" namelist="document.VoiceFile" /> == Record.cfm === == OK, the audio has been saved. http://www.rivercityhockey.net/vxml/vxml.cfm" /> === should be good. but I get an error/ SO I create an HTML form page to test the application server posting. And I get a CF Error syaing it can't resolve document.VoiceFile. so I change it to just VoiceFile and it works fine. ie === If I change all of the references to document.VoiceFile I get a cf error. just VoiceFile I get a tellme error. catch 22. Not sure how to proceed. Eric "Jon Baer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... >Blood wrote: > > > record.cfm > > === _ Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
CF-based management-tool for a great number of web-sites
Hi list, a company called Trident Inc. ( www.trident.net ) has got a neat product. It is called Domain Master. (At least it sounds nice on their Web-Site) It is based on ColdFusion. They write: --- We have designed Domain Master to ease the burden of Web site management for Internet Service Providers, Commerce Service Providers, Associations or Organizations with multiple web sites. Domain Master enables these organizations to manage their eCommerce storefronts, their customers' web sites, the e-mail accounts, web statistics and web accounting from any location in the world using a simple web browser. If Trident's OSM eCommerce software is purchased with Domain Master, it establishes a totally integrated eCommerce hosting operation. Does anybody know this product ? I sent them out an E-Mail two weeks ago and asked for an eval-copy but didn't get any answer. Does someone know of any other products doing the same ? Thank you. Uwe Mail: [EMAIL PROTECTED] WWW: www.sdsolutions.de ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: rookie Info on SSL & CF 101
> my experiments are not going well, and I need some tutorials how > SSL and CF would and should work together in IIS 4.0 to bring up to > speed. Trouble shooting issues would be a great plus. I already > checked the Allaire forums but it's all is only bits and bytes and I > can't see the greater picture if the is one. Any ideas? Most problems regarding SSL and CF (or any other scripting language) involve session and client management across servers. If the secure area of your site (for a shopping cart checkout, for example) is on a different server and/or at a different URL, then you may have to deal with these issues. If, on the other hand, the secure site is on the same server and at the same URL, then there shouldn't really be any problems. If at all possible, try to get an SSL certificate for the host domain where your main site resides. If you have multiple domains, then this might not be practical. If this sounds like the situation you're in, then look into issues of maintaining sessions across servers and discussions about using client variables vs. session variables. Jim ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CFLOCK and Custom Tags
> I was flipping through the documentation, and it mentions > that CFLOCKs should be used around CFX custom tags. But it > doesn't say anything about CFML custom tags. > > Does anyone have any thoughts, opinions, observations, or > real world experiences to share on this topic? I would > imagine that the threading issues surrounding CFX tags do > not pertain to CFML tags. But, feedback is welcome. The docs suggest placing CFLOCK around CFX tags strictly for threading issues. Many CFX tags are not thread safe internally (I think Forta's CFX_Spell is the favorite tag to pick on here) and have the potential to crash or hang your server if not properly locked. As a side note, our company always locks CFX tags using the CFX_tagname as the lock name. Assuming all apps on the server follow this same rule, this ensures that it's locked and safe across multiple applications. Locking CFML tags should not be needed. If your CFML tag uses application, server, or session variables internally, I would suggest locking them within the tag. You should always be looking to reduce the amount of locked runtime to an absolute minimum. -Cameron ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
CFLOCK and Custom Tags
I was flipping through the documentation, and it mentions that CFLOCKs should be used around CFX custom tags. But it doesn't say anything about CFML custom tags. Does anyone have any thoughts, opinions, observations, or real world experiences to share on this topic? I would imagine that the threading issues surrounding CFX tags do not pertain to CFML tags. But, feedback is welcome. -- Jeff Houser | mailto:[EMAIL PROTECTED] AIM: Reboog711 | ICQ: 5246969 | Phone: 860-229-2781 -- Instant Cold Fusion 4.5 | ISBN: 0-07-213238-8 Due out 3rd Quarter 2001 -- DotComIt, LLC database driven web data using ColdFusion, Lotus Notes/Domino -- Half of the Alternative Folk Acoustic Duo called Far Cry Fly http://www.farcryfly.com | http://www.mp3.com/FarCryFly -- Does Everyone Think I'm a Cynical? ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: rookie Info on SSL & CF 101
> > my experiments are not going well, and I need some tutorials > > how SSL and CF would and should work together in IIS 4.0 to > > bring up to speed. Trouble shooting issues would be a great > > plus. I already checked the Allaire forums but it's all is > > only bits and bytes and I can't see the greater picture if > > the is one. Any ideas? If you plan any serious SSL traffic, lots of simultaneous SSL connections, you will probably benefit, even need, hardware assistance for the SSL encryption: http://www.phobos.com/inboost.htm Len http://BIND8NT.MEIway.com : ISC BIND 8.2.2 p5 & 8.2.3 T6B for NT4 & W2K http://IMGate.MEIway.com : Build free, hi-perf, anti-spam mail gateways ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Dave Watts please read - Re: BLOCKFACTOR and MAXROWS
> Here's a follow up question. Imagine a situation where you > pass a list of IDs to a query. You know that the query will > only return, at most, the same # of rows as IDs. Taking the > same kind of query, where the amount of bytes returned per > row divided into the buffers size would tell us to use 100 > for blockfactor, would you still use 100 if the # of IDs > was < 100? If I knew beforehand that there would always be fewer than 100 rows returned, I'd set BLOCKFACTOR to the maximum number of rows that might be returned. If I didn't know, I would just set it to 100 and be done with it. I probably wouldn't know, in most cases, and would just set it to 100. I don't think that wasting space within the 32Kb buffer is very significant; the bigger concern is avoiding the case where you specify too many rows to fit within 32Kb. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: rookie Info on SSL & CF 101
> my experiments are not going well, and I need some tutorials > how SSL and CF would and should work together in IIS 4.0 to > bring up to speed. Trouble shooting issues would be a great > plus. I already checked the Allaire forums but it's all is > only bits and bytes and I can't see the greater picture if > the is one. Any ideas? You're not going to find too much, because there isn't very much to say about it. For the most part, it doesn't matter whether you use SSL with CF. You just use it, and everything works the same as it would without SSL. There are some issues with SSL, but they tend to be related to using SSL and non-SSL content in conjunction within a single site. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
rookie Info on SSL & CF 101
hi, my experiments are not going well, and I need some tutorials how SSL and CF would and should work together in IIS 4.0 to bring up to speed. Trouble shooting issues would be a great plus. I already checked the Allaire forums but it's all is only bits and bytes and I can't see the greater picture if the is one. Any ideas? Thanks for you help Best regards, Birgit Pauli-Haack ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists