Re: Application.cfm inheritence
Functional solution I would prefer to see the settings separated out as their own includes, instead of just including the parent. It would give you more control. Todd Ashworth wrote: ColdFusion only looks up the directory tree if it can't find an Application.cfm. As soon as it finds one, it stops. Just cfinclude the parent application.cfm into the child one. cfinclude template = "../Application.cfm" Todd - Original Message - From: "Michael She" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Friday, November 24, 2000 8:30 PM 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 -- 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
WHOIS tag?
Can anyone tell me where I can find a WHOIS tag please (a URL would be great). I just need to take an input and have it query a specified WHOIS server of my choice. Thanks, Adrian Cooper. ~~ 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
Structures: Where is data kept
Once a structure has been created and populated, where is the data kept? I can't find it in the registry anywhere but it persists across server reboots so it is obviously somewhere in the machine. If I need to get at it to move it to a different server, where do I go to get it? Paul Sinclair ~~ 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
Saved Searches Cron Job E-mail Results
I am creating a site that allows real estate buyers to search our database of homes for sale. I would like to have the search parameters saved and then have the search continue to run again at a later date automatically and if there are new results, e-mail a hyperlink to the new results to the person that initially did the search . We have limited search parameters (area price), so this shouldn't be that intricate I would imagine. Do any of you know of any way I can accomplish this with CF? I have done this with PERL, but it was like a TON of code. Michael [EMAIL PROTECTED] - Sent using MailStart.com ( http://MailStart.Com/welcome.html ) The FREE way to access your mailbox via any web browser, anywhere! ~~ 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: WHOIS tag?
Do a search on WHOIS at the Allaire developer center. There are 4 or 5 of them up there. -Original Message- From: Adrian Cooper [mailto:[EMAIL PROTECTED]] Sent: Saturday, November 25, 2000 9:37 AM To: CF-Talk Subject: WHOIS tag? Can anyone tell me where I can find a WHOIS tag please (a URL would be great). I just need to take an input and have it query a specified WHOIS server of my choice. Thanks, Adrian Cooper. ~~ 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: CFINCLUDE woes
Still new to CF so forgive me if this question seems sort of retarded... I am trying to use CFINCLUDE in my site to include my left [ snip] Is CFINCLUDE meant to be used this way or do I have to replicate the includes directory inside every sub directory of my site? Skimmed your post, but hope this helps. In the "Application.cfm" file, I create two application (or request) variables like this: CFPARAM NAME="application.WebserverMapping" DEFAULT="/" CFPARAM NAME="application.ColdFusionMapping" DEFAULT="/thisapp/" Then in the CF Administrator, add a ColdFusion mapping for just that one site of "/thisapp/" to whatever the root directory of that website is (obviously if you don't have access to the Administrator or can't ask for this, this one's a no go). Whenever you write a link to an other page on your site, do it like this: A HREF="#application.WebserverMapping#login/index.cfm"Login!/A and submit FORMs like this FORM ACTION="#application.WebserverMapping#somedir/subdir/mailform.cfm" METHOD="post" and if you want to reference a CFINCLUDE or CFMODULE, you can do this: CFINCLUDE TEMPLATE="#application.ColdFusionMapping#includes/GetCountries.cfm" Works like a charm. You can even move an entire application into the subdirectory of another... all you need to do is alter the two application or request variables, update CF Admin and you're good to go. I don't think I've built a site that uses relative (../) style references in ages since I was shown this method. All of them take the root directory of the site as the starting point. One slight drawback... this method isn't quite so good if you the type who changes directory names every five minutes. Mind you, searching and replacing on #application.WeberserverMapping#somedir/ within a project isn't really that difficult. BTW, when you develop you're site on a local box, you have to change 127.0.0.1 in your webserver (PWS, Apache or whatever) to point to the root directory of the site you are working on and change it every time you switch projects. -- Aidan Whitehall [EMAIL PROTECTED] Netshopper UK Ltd Advanced Web Solutions Services http://www.netshopperuk.com/ Telephone +44 (01744) 648650 Fax +44 (01744) 648651 ~~ 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: Order of variable scope checking
This is the order in which CF evaluates variables if they aren't scoped. 1. Local vars created using CFSET and CFQUERY 2. CGI vars 3. File vars 4. URL vars 5. Form 6. Cookies 7. Client I thought the query scope was a scope in it's own right. Are they really just local variables with a different prefix (ie the name of your query)? -- Aidan Whitehall [EMAIL PROTECTED] Netshopper UK Ltd Advanced Web Solutions Services http://www.netshopperuk.com/ Telephone +44 (01744) 648650 Fax +44 (01744) 648651 ~~ 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
Checking for Field Name Existence
I have an uploaded file which is turned into a query set. I want to be able to check that the uploaded file has the field name in it. ---uploaded file: directory.txt "custno" "GALC1" "APER1" "AALB1" "SPAL1" -retrieve file cfhttp method="get" url="http://127.0.0.1/CFscripts/Arica/Administration/Roles/directory.txt" name="Directory" textqualifier= columns="custno" --Problem I want to be able to check to see if the client has put the field name "custno" in the upoloaded file so that if they have just "GALC1" "APER1" "AALB1" "SPAL1" I will be able to catch it. Using NOT IsDefined does not work. Any suggestions? Sebastian ~~ 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
Difference between CF calling the transact vs. SQL?
Is there a difference between using CFTransaction and using "begin transaction" in a regular CFQuery? Lon Lentz Applications Developer CyberEntomologist - Alvion Technologies DataWarehousing and List Sales - Market Your Lists on the Net! [EMAIL PROTECTED] 941-574-8600 Ext. 210 ~~ 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: Structures: Where is data kept
I believe you have the option of storing session variables in the registry (not sure where) or in a specific datasource. At 09:47 AM 11/25/00 -0500, you wrote: Once a structure has been created and populated, where is the data kept? I can't find it in the registry anywhere but it persists across server reboots so it is obviously somewhere in the machine. If I need to get at it to move it to a different server, where do I go to get it? Paul Sinclair ~~ 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
Inserting HTML Anchor into Oracle
I am trying to insert a record with the following text into Oracle: CFSET MyLink='A HREF="TheLink"SomeText/A' with the following CF statement: INSERT INTO MyTable (Link) VALUES (#MyLink#); The code executes without an error message, but no insertion occurs. With debugging turned on, I can see the insert statement ... it looks fine, and if I copy and paste it directly into SQL*Plus, it actually DOES the insert without a burp. So there is something that CF doesn't like about the #MyLink# contents ... I suspect it is related to the double quotes or the or characters. Can anyone help? Thanks ... I have been stuck on this for hours -- ___ Joseph J. Sanger, M.D.| Phone: (212) 263-7410 Associate Professor of Clinical Radiology | Fax: (212) 263-2039 Director, Division of Radiology Informatics | Director, Software Development| Co-Director, Division of Nuclear Medicine | Co-Director, Nuclear Cardiology | New York University School of Medicine| [EMAIL PROTECTED] ___ ~~ 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: Structures: Where is data kept
Strucures are stored in memory so it seems odd that they persist over a reboot unless you check for their existence and create them if they don't exist. Otherwise you need to run a script to load them upon reboot. However client variables(CFID and CFTOKEN) are stored in a structure and the default storage area is the system registry. You may choose to store them in a database by changing the settings in the CF admiin. Therefore client variables are persistent over a reboot. Session variables are stored in memory in a structure but are destroyed upon reboot or upon the user closing the browser. All of the objects in a structure cannot be stored in a database as is. (Neither can an array) You may use WDDX to serialize them into a packet and store that in a database field because the result is a string. You may do the same with an array. To rebuild the structure, pull the packet out of the database and then serialize it into the structure. This is a good way to build a clusterable application that uses client variables or other structures for setting user preferences. HTH James McCullough -Original Message- From: Michael She [mailto:[EMAIL PROTECTED]] Sent: Saturday, November 25, 2000 9:54 AM To: CF-Talk Subject: Re: Structures: Where is data kept I believe you have the option of storing session variables in the registry (not sure where) or in a specific datasource. At 09:47 AM 11/25/00 -0500, you wrote: Once a structure has been created and populated, where is the data kept? I can't find it in the registry anywhere but it persists across server reboots so it is obviously somewhere in the machine. If I need to get at it to move it to a different server, where do I go to get it? Paul Sinclair ~~ 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 ~~ 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: Inserting HTML Anchor into Oracle
try INSERT INTO MyTable (Link) VALUES ('#MyLink#'); -Original Message- From: Joseph J. Sanger, M.D. [mailto:[EMAIL PROTECTED]] Sent: Saturday, November 25, 2000 10:02 AM To: CF-Talk Subject: Inserting HTML Anchor into Oracle I am trying to insert a record with the following text into Oracle: CFSET MyLink='A HREF="TheLink"SomeText/A' with the following CF statement: INSERT INTO MyTable (Link) VALUES (#MyLink#); The code executes without an error message, but no insertion occurs. With debugging turned on, I can see the insert statement ... it looks fine, and if I copy and paste it directly into SQL*Plus, it actually DOES the insert without a burp. So there is something that CF doesn't like about the #MyLink# contents ... I suspect it is related to the double quotes or the or characters. Can anyone help? Thanks ... I have been stuck on this for hours -- ___ Joseph J. Sanger, M.D.| Phone: (212) 263-7410 Associate Professor of Clinical Radiology | Fax: (212) 263-2039 Director, Division of Radiology Informatics | Director, Software Development| Co-Director, Division of Nuclear Medicine | Co-Director, Nuclear Cardiology | New York University School of Medicine| [EMAIL PROTECTED] ___ ~~ 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: Inserting HTML Anchor into Oracle
oops .. sorry, yes, I was doing that already ... left it out of my message. try INSERT INTO MyTable (Link) VALUES ('#MyLink#'); -Original Message- From: Joseph J. Sanger, M.D. [mailto:[EMAIL PROTECTED]] Sent: Saturday, November 25, 2000 10:02 AM To: CF-Talk Subject: Inserting HTML Anchor into Oracle I am trying to insert a record with the following text into Oracle: CFSET MyLink='A HREF="TheLink"SomeText/A' with the following CF statement: INSERT INTO MyTable (Link) VALUES (#MyLink#); The code executes without an error message, but no insertion occurs. With debugging turned on, I can see the insert statement ... it looks fine, and if I copy and paste it directly into SQL*Plus, it actually DOES the insert without a burp. So there is something that CF doesn't like about the #MyLink# contents ... I suspect it is related to the double quotes or the or characters. Can anyone help? Thanks ... I have been stuck on this for hours -- ___ Joseph J. Sanger, M.D.| Phone: (212) 263-7410 Associate Professor of Clinical Radiology | Fax: (212) 263-2039 Director, Division of Radiology Informatics | Director, Software Development| Co-Director, Division of Nuclear Medicine | Co-Director, Nuclear Cardiology | New York University School of Medicine| [EMAIL PROTECTED] ___ ~~ 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 -- ___ Joseph J. Sanger, M.D.| Phone: (212) 263-7410 Associate Professor of Clinical Radiology | Fax: (212) 263-2039 Director, Division of Radiology Informatics | Director, Software Development| Co-Director, Division of Nuclear Medicine | Co-Director, Nuclear Cardiology | New York University School of Medicine| [EMAIL PROTECTED] ___ ~~ 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: Structures: Where is data kept
Session variables are stored in client side cookies and/or server memory. They DO NOT get stored in the registry. The variables that get stored in the registry are Client variables. There is a BIG difference in the two. For example you cant story a structure in a Client variable with out using WDDX on it, etc. Hope this helps a little. Bill cf_warrior I believe you have the option of storing session variables in the registry (not sure where) or in a specific datasource. At 09:47 AM 11/25/00 -0500, you wrote: Once a structure has been created and populated, where is the data kept? I can't find it in the registry anywhere but it persists across server reboots so it is obviously somewhere in the machine. If I need to get at it to move it to a different server, where do I go to get it? ~~ 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: Structures: Where is data kept
Session variables are stored in client side cookies and/or server memory. They DO NOT get stored in the registry. The variables that get stored in the registry are Client variables. There is a BIG difference in the two. For example you cant story a structure in a Client variable with out using WDDX on it, etc. Hope this helps a little. Session variables are NOT stored in client-side cookies. They're always stored in memory. What is stored in cookies are the two tokens CF uses to associate a user's browser with those variables stored in memory. 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: Structures: Where is data kept
Then how would the persist across the reboots? -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: Saturday, November 25, 2000 1:34 PM To: CF-Talk Cc: '[EMAIL PROTECTED]' Subject: RE: Structures: Where is data kept Session variables are stored in client side cookies and/or server memory. They DO NOT get stored in the registry. The variables that get stored in the registry are Client variables. There is a BIG difference in the two. For example you cant story a structure in a Client variable with out using WDDX on it, etc. Hope this helps a little. Session variables are NOT stored in client-side cookies. They're always stored in memory. What is stored in cookies are the two tokens CF uses to associate a user's browser with those variables stored in memory. 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
RE: Structures: Where is data kept
Session variables are NOT stored in client-side cookies. They're always stored in memory. What is stored in cookies are the two tokens CF uses to associate a user's browser with those variables stored in memory. Then how would the persist across the reboots? They don't. If you want to persist session data beyond the length of an individual session, you'll have to write code to store the data in a database, and retrieve it when the user returns. 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: Structures: Where is data kept
They don't. At 01:35 PM 11/25/2000 -0500, you wrote: Then how would the persist across the reboots? -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: Saturday, November 25, 2000 1:34 PM To: CF-Talk Cc: '[EMAIL PROTECTED]' Subject: RE: Structures: Where is data kept Session variables are stored in client side cookies and/or server memory. They DO NOT get stored in the registry. The variables that get stored in the registry are Client variables. There is a BIG difference in the two. For example you cant story a structure in a Client variable with out using WDDX on it, etc. Hope this helps a little. Session variables are NOT stored in client-side cookies. They're always stored in memory. What is stored in cookies are the two tokens CF uses to associate a user's browser with those variables stored in memory. 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
RE: Dynamic Graphing - Spider Graphs
Does anyone know of an application that dynamically creates Spider Graphs / Rader Graphs like the one in the attached file. Appreciate any help as i have hunted high and low on the NETno joy every other type but not Spider/ Radar. I seem to recall ChartFX doing these types of graphs. It's a COM object, but it works fine from CF: http://www.softwarefx.com/ 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: Dynamic Graphing - Spider Graphs
Cheers Dave, Thats a great little tool. It does exactly what we want and it also does surface charts as well. Its great when you come across a bonus like that. Has anyone else used ChartFX? Thanks for the help. D Daryl Fullerton, Managing Partner, BizNet Solutions, Allaire Premier Partner (Ireland) 133 - 137 Lisburn Road Belfast BT9 7AG Ireland Direct +44 (0) 28 9022 7888 Tel +44 (0) 028 9022 3224 Fax +44 (0) 028 9022 3223 [EMAIL PROTECTED] Http://www.BizNet-Solutions.com [EMAIL PROTECTED] (Chairman) Http://www.cfug.ie The Irish Cold Fusion User Group - Original Message - From: Dave Watts [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Saturday, November 25, 2000 9:01 PM Subject: RE: Dynamic Graphing - Spider Graphs Does anyone know of an application that dynamically creates Spider Graphs / Rader Graphs like the one in the attached file. Appreciate any help as i have hunted high and low on the NETno joy every other type but not Spider/ Radar. I seem to recall ChartFX doing these types of graphs. It's a COM object, but it works fine from CF: http://www.softwarefx.com/ 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
Re: Structures: Where is data kept
I'm not a CF-internals expert, but is it possible the CFID and CFTOKEN are being kept in some way and therefore the session variables are persisting in this case? Either the cookies are not expiring themselves, or perhaps they are being passed in the URL from a cached request in the history of the browser? Just a thought (or two..) -Bill /intraget - Original Message - From: Bill Killillay [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Saturday, November 25, 2000 4:26 PM Subject: RE: Structures: Where is data kept You know they don't and I know they don't, but earlier in this thread the gentleman said they where making it across "reboots". The only thing that would explain that is if the data was being held in a cookie. Now I guess the question is which machine is he talking about the reboot on. If it's the Client machine, then it makes perfect sense as the cookies are like David Watts pointed out the CFID and CFTOKEN which act as pointers to the session stored in the memory on the server. However if he was talking about the server being rebooted then there is something else that is not being brought into this thread. That is all I was meaning. Bill -Original Message- They don't. Then how would the persist across the reboots? -Original Message- Session variables are stored in client side cookies and/or server memory. They DO NOT get stored in the registry. The variables that get stored in the registry are Client variables. There is a BIG difference in the two. For example you cant story a structure in a Client variable with out using WDDX on it, etc. Hope this helps a little. Session variables are NOT stored in client-side cookies. They're always stored in memory. What is stored in cookies are the two tokens CF uses to associate a user's browser with those variables stored in memory. ~~ 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: Form Help
How about just cfif Attributes.Json IS "on"/cfif (the "IS" test isn't a case-sensitive test). :-) I read a while back that compareNoCase is a faster way of comparing strings than using IS... Correct. Since CompareNoCase() is a boolean expression, it supposedly executes faster than a string expression like IS. From what I understand, this is true for all boolean vs. string comparisons. I do use CompareNoCase() over IS myself, but I have found that it's not the most "user-friendly" code and tends to confuse the heck out of the newer codings because you have to use a NOT modifier in order to test for a true boolean condition. So... CFIF NOT CompareNoCase(Attributes.Json, "on") ...may be faster, but... CFIF Attributes.Json IS "on" ...is the more intuative approach and doesn't confuse the heck out of people (also takes less time to type). It all depends on how your application needs to work I guess. If you have a lot of load, or you're looping over thousands of lines (see below) and need to cram every last millisecond of performance out of CF, the CompareNoCase() may be better, but if you need the app done yesterday, and there's the possibility of a newer coder working on it in the future, it may be worth the slight performance drop to use the IS comparison. Just as a reference, I tested the two methods on my Compaq 1850r server, which has a single PII-400 processor. The first code sample.. CFSET Variables.DS = "this" CFLOOP FROM="1" TO="5000" INDEX="key" CFIF Variables.DS IS "this" /CFIF /CFLOOP ..took an average of 1265 milliseconds to complete according to the debugging info. The second sample.. CFSET Variables.DS = "this" CFLOOP FROM="1" TO="5000" INDEX="key" CFIF NOT CompareNoCase(Variables.DS, "this") /CFIF /CFLOOP ..averaged 453 milliseconds. So, it would appear that using the boolean operator really IS faster, and that whatever it is that the previous poster mentioned was correct. -Justin Scott, Staff Developer http://www.annex.com PS: Sorry about the crosspost on CF-Talk. It was a good thread on the fusebox list and I thought it would benefit the "rookie" developers on the list since they probably never thought about this kind of stuff. I know I never did until about 8 months ago g. ~~ 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
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 cfif URL is "xyz"xyz/cfif 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
Re: CFIF
--part1_75.ca0f6c5.2751e531_boundary Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit I know if you are using CFIF like in a CFIF statement, you can do it this way... sample.cfm?action=xyz cfif action IS "xyz" Send Me to This URL cfelse Send to other URL /cfif Kev --part1_75.ca0f6c5.2751e531_boundary Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: 7bit HTMLFONT COLOR="#008000" SIZE=2 FAMILY="SANSSERIF" FACE="Verdana" LANG="0"I know if you are using CFIF like in a CFIF statement, you can do it this BRway... BR BR BRsample.cfm?action=xyz BR BRlt;cfif action IS "xyz"gt; BR nbsp;nbsp;nbsp;nbsp;Send Me to This URL BRlt;cfelsegt; BR nbsp;nbsp;nbsp;nbsp;Send to other URL BRlt;/cfifgt; BR BRKev/FONT/HTML --part1_75.ca0f6c5.2751e531_boundary-- ~~ 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
I am aware of that function, but what I need to do is ex. the user goes to www.xyz.com I want to be able to use CFIF to look at the www.xyz.com and redirect to another url. I need to do this for a few url's. I hope this helps explain more. Robert - Original Message - From: [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Saturday, November 25, 2000 11:01 PM Subject: Re: CFIF --part1_75.ca0f6c5.2751e531_boundary Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit I know if you are using CFIF like in a CFIF statement, you can do it this way... sample.cfm?action=xyz cfif action IS "xyz" Send Me to This URL cfelse Send to other URL /cfif Kev --part1_75.ca0f6c5.2751e531_boundary Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: 7bit HTMLFONT COLOR="#008000" SIZE=2 FAMILY="SANSSERIF" FACE="Verdana" LANG="0"I know if you are using CFIF like in a CFIF statement, you can do it this BRway... BR BR BRsample.cfm?action=xyz BR BRlt;cfif action IS "xyz"gt; BR nbsp;nbsp;nbsp;nbsp;Send Me to This URL BRlt;cfelsegt; BR nbsp;nbsp;nbsp;nbsp;Send to other URL BRlt;/cfifgt; BR BRKev/FONT/HTML --part1_75.ca0f6c5.2751e531_boundary-- ~~ 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: 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? === Raymond Camden, Principal Spectra Compliance Engineer for Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 23, 2000 7:14 PM To: CF-Talk Cc: '[EMAIL PROTECTED]' Subject: RE: Dave Watts please read - Re: BLOCKFACTOR and MAXROWS How large are buffers set to? I often use BLOCKFACTOR=100 in a query where I: SELECT ID FROM foo WHERE bar Is this setting a large buffer? The size of the buffer will depend on the maximum size of a returned row. Given that you're using a field called "ID", which is probably an integer, your maximum row size will be 4 bytes. One hundred rows of 4 bytes each will take 400 bytes, which will be a small fraction of the maximum buffer size of 32,768 bytes. ~~ 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
If you are trying to find out where the user is coming from in order to redirect them use cgi.http_referer like this CFIF Trim(cgi.http_referer) is "xyz" CFLOCATION url="url_to_send_to" /CFIF -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 cfif URL is "xyz"xyz/cfif 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
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 CFIF Trim(cgi.http_referer) is "xyz" CFLOCATION url="url_to_send_to" /CFIF -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 cfif URL is "xyz"xyz/cfif 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
Re: CFIF
Thanks for everyone's help, but I finally figured out which variable it is. SERVER_NAME is the one. Thanks again, 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 CFIF Trim(cgi.http_referer) is "xyz" CFLOCATION url="url_to_send_to" /CFIF -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 cfif URL is "xyz"xyz/cfif 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
Re: CFIF
on 11/26/00 3:15 PM, netman at [EMAIL PROTECTED] wrote: Thanks for everyone's help, but I finally figured out which variable it is. SERVER_NAME is the one. I think you'll find you need to use #cgi.server_name##cgi.script_name# to get the full path... -- Rob Keniger big bang solutions mailto:[EMAIL PROTECTED] http://www.bigbang.net.au ~~ 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