Client side WDDX generating (was: Passing Javascript variables)
Hi, I have a similar issue. But I want to solve this without knowing the field names. I think this can be done using client side WDDX (if it is possible). So my question is how can i generate a WDDX string in the popup window via Javascript? Any idea? -Original Message- From: Ben Doom [mailto:[EMAIL PROTECTED]] Sent: Monday, February 17, 2003 11:41 PM To: CF-Talk Subject: RE: -OT- Passing Javascript variables It depends on what you mean by 'pass this variable back.' If you just want to stick it in, for example, a hidden form field you could do opener.document.myform.myfield.value = document.popupform.popupfield.value; window.close(); Or something similar. -- Ben Doom Programmer General Lackey Moonbow Software, Inc : -Original Message- : From: Thane Sherrington [mailto:[EMAIL PROTECTED]] : Sent: Monday, February 17, 2003 4:00 PM : To: CF-Talk : Subject: -OT- Passing Javascript variables : : : I have a Javascript script that opens a new window and prompts for input : and then closes. Is there a way to pass this variable back to the parent : window without refreshing it? : : T : : ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Replacing the #
Did you try this: cfset StringToSearch = ## cfset thisItem = ReplaceNoCase(thisItem, #StringToSearch#, , ALL) -Original Message- From: Pablo Varando [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 8:08 AM To: CF-Talk Subject: Re: Replacing the # What about this: !--- put this OUTSIDE A CFOUTPUT --- cfset StringToSearch = # !--- Put this anywhere you want in the page --- cfset thisItem = ReplaceNoCase(thisItem, StringToSearch, , ALL) That Should work. give it a try and let me know... Pablo - Original Message - From: Paul Giesenhagen [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, February 17, 2003 11:51 PM Subject: Re: Replacing the # Just tried it, and nope, it didn't work ... Thanks for trying though... Paul Giesenhagen QuillDesign - Original Message - From: Pablo Varando [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, February 17, 2003 11:53 PM Subject: Re: Replacing the # Try this: cfset thisItem = ReplaceNoCase(thisItem, chr(35), , ALL) That should work... Pablo - Original Message - From: Paul Giesenhagen [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, February 17, 2003 10:45 PM Subject: Replacing the # I am trying to check a variable to make sure it doesn't have a # sign in the variable and if it does, I want to remove it. Here is what I have, but it errors out with 1 (makes sense), but it doesn't replace if I have two! Any suggestions? cfset thisItem = ReplaceNoCase(thisItem, #, , ALL) !--- Errors out --- cfset thisItem = ReplaceNoCase(thisItem, ##, , ALL) !--- Doesn't replace --- Thanks Paul Giesenhagen QuillDesign ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Verity problem
I have Verity do a collection on my cfm documents. Works well except that it also return my sql statements embedded between the CFQuery tags. For example, a keyword search using Select from would return SideBar select * from sidebar where id = '1' select * from sidebar where id = '10' select * from sidebar where id = '9' Score: 82% How do I solve it ? Regards Nyon --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.449 / Virus Database: 251 - Release Date: 27/01/2003 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Verity problem
I have Verity do a collection on my cfm documents. Works well except that it also return my sql statements embedded between the CFQuery tags. For example, a keyword search using Select from would return SideBar select * from sidebar where id = '1' select * from sidebar where id = '10' select * from sidebar where id = '9' Score: 82% How do I solve it ? Regards Nyon --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.449 / Virus Database: 251 - Release Date: 27/01/2003 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Verity problem
Nyon, You need to do a CUSTOM index on your data rather than indexing your cfm documents. It is the content that is displayed from the database by those pages that you want to index, not the CF templates. Have a look at the CF documentation on CFINDEX using TYPE=CUSTOM http://livedocs.macromedia.com/cfmxdocs/CFML_Reference/Tags-pt160.jsp#110028 6 Hope this helps. Regards Stephen - Original Message - From: YC Nyon [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, February 18, 2003 7:05 PM Subject: Verity problem I have Verity do a collection on my cfm documents. Works well except that it also return my sql statements embedded between the CFQuery tags. For example, a keyword search using Select from would return SideBar select * from sidebar where id = '1' select * from sidebar where id = '10' select * from sidebar where id = '9' Score: 82% How do I solve it ? Regards Nyon --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.449 / Virus Database: 251 - Release Date: 27/01/2003 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Replacing the #
Paul, What is the error that you are getting from the CFSET? Pablo's suggestion of : cfset thisItem = ReplaceNoCase(thisItem, chr(35), , ALL) should work just fine. regards Stephen - Original Message - From: Paul Giesenhagen [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, February 18, 2003 6:09 AM Subject: Re: Replacing the # It currently isn't in a CFOUTPUT it errors on the cfset Toughy huh?! [snip] I am trying to check a variable to make sure it doesn't have a # sign in the variable and if it does, I want to remove it. Here is what I have, but it errors out with 1 (makes sense), but it doesn't replace if I have two! Any suggestions? cfset thisItem = ReplaceNoCase(thisItem, #, , ALL) !--- Errors out --- cfset thisItem = ReplaceNoCase(thisItem, ##, , ALL) !--- Doesn't replace --- ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: xml woes
I've been following what you guys have been doing... Can you post the final code when you get it figured out? Thanks! Peter -Original Message- From: Robby L. [mailto:[EMAIL PROTECTED]] Sent: Monday, February 17, 2003 11:28 PM To: CF-Talk Subject: xml woes Importance: High ummm? I am, .. xmlsearch and xmlparse is being used in the cfscript block, and the issue is still ongoing.. Thanks though, Robby Subject: xml woes From: Peter Bagnato [EMAIL PROTECTED] Date: Mon, 17 Feb 2003 13:42:47 -0500 Thread: http://www.houseoffusion.com/cf_lists/index.cfm?method=messagesthreadid=215 87forumid=4#108995 Have you tried using any of the new XML tags in CFMX yet? Peter -Original Message- From: Robby L. [mailto:[EMAIL PROTECTED]] Sent: Monday, February 17, 2003 5:36 AM To: CF-Talk Subject: xml woes Importance: High I'm writing in hopes to see what I'm doing wrong when trying to manipulate an xml doc. The problems comes with deleting, and I'm running in loads of problems. an example of the xml doc : dropdowns drop name=abba drop_itema/drop_item drop_itemb/drop_item drop_itemc/drop_item drop_itemd/drop_item drop_iteme/drop_item /drop drop name=1221 drop_item1/drop_item drop_item2/drop_item drop_item3/drop_item drop_item4/drop_item drop_item5/drop_item /drop dropdowns !--- reading page --- cffile action=read file=C:\CFusionMX\wwwroot\Mathmotors\drop.xml variable=xmlmy cfscript drop = xmlparse(xmlmy);//xml thats parsed. dropx = drop.xmlroot;// The xml root. c_dropx = dropx.xmlchildren;// Gets the array for all of the drop down groups. count_c_dropx = arraylen(c_dropx);// Gets the count of arrays,(dropdowns.drop) Needed for a loop. hmm =abba;// fake variable tt = xmlsearch(dropx,/dropdowns/drop[@name='#hmm#']/drop_item/); /* The Search (returns an array, which will give me the info for the dropdown)*/ toto = arraylen(tt); /cfscript !--- One way I've tried --- cfoutput !--- Loop through the drop elements--- cfloop from=1 to=#arraylen(c_dropx)# index=i !--- Set the dropchildren to a variable to be able to loop over--- cfscript yes = dropx.drop[i].xmlchildren; /cfscript !--- Where the drop name's attribute equals abba then I can edit down the tree --- cfif dropx.drop[i].xmlattributes[name] is abba !--- Loop over the yes value, which would be the same as looping over the drop_item elements --- cfloop from=1 to=#arraylen(yes)# index=j !--- Set the dropchildren to a variable to be able to loop over--- cfscript yes = dropx.drop[i].xmlchildren; /cfscript !--- WHere the dropelement's text equals a delete that element @ it's index --- cfif yes[j].xmltext is a cfdump var=#j# !--- Dumps ok, .. returns the postition of audi--- cfdump var=#yes# !--- Dumps ok, .. returns the array needed --- cfscript arraydeleteat(yes, j);/*when this is in, returns the error, without it everything runs fine*/ /cfscript /cfif /cfloop /cfif /cfloop /cfoutput I've also tried ...: With using the xpath syntax (set in the upper cfscript) cfoutput cfloop from=1 to=#arraylen(tt)# index=i cfif #tt[i].xmltext# is a cfscript arraydeleteat(tt, i);/*when this is in, returns the error, without it everything runs fine*/ /cfscript /cfif /cfloop /cfoutput Both of which bail.. the first one bails without an actual error, . just the araydeleteat() being the line it error'd at. But when I looked in to the logs, It says java.lang.IndexOutOfBoundsException and searching google only gave two results, . both of which have no bearing on the situation at hand. The element at position 5 of dimension 1, of array variable TT, cannot be found is the one on the second try, and with it, the array itself is cfdumped, and there is 5 elements in the array ,I've read the docs I've double checked what I know how. What the hell am I doing wrong? Thanks for your help Robby ps I do have updater 2 installed if it has any bearing ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the
Phantom errors
I'm always getting this phantom error when moving existing code up to MX: +++ The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code. Null Pointers are another name for undefined values. The error occurred in C:\Inetpub\dev\ezcart\admin\orders\report.cfm: line 210 +++ The problem is, the error never points to an actual error in the code. It always points to a cfinclude. There is never anything wrong with the code in the cfinclude. That's why I call it the phantom error. CF THINKS there is an error, but it doesn't know where it is so it just tells you the file that it THINKS it is in. :) I always have to disseminate it by removing code from the cfinclude until the error goes away. Then figure out which code that I just removed that I have to replace. And the code I have to replace is always fine. For instance, the other day I had a simple cfswitch that I had to replace with cfif, cfelseif, etc. Anyone have any idea if this is going to be addressed or if I'm just missing something? -- Bud Schneehagen - Tropical Web Creations _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ ColdFusion Solutions / eCommerce Development [EMAIL PROTECTED] http://www.twcreations.com/ 954.721.3452 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFLOCK Error handling
I just want to be sure on the proper usage of CFLOCK, and my question is, where do I use the server scope? Is it for anything that wouldn't fall under application or session? Also, any help (explanations of real life uses) with error handling (cftry, cfcatch, cferror, etc.) would be appreciated. Thanks, Scott Scott Wilhelm Computer Technician/Web Developer St. Lawrence-Lewis BOCES PO Box 231, Outer State Street Canton, NY 13617 P. 315-386-4504 x 164 F. 315-386-3395 W. http://www.sllboces.org E.[EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Phantom errors - case in point
+++ The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code. Null Pointers are another name for undefined values. +++ OK. This code returns the error above: CFIF isDefined('form.includeshipping') textarea rows=10 cols=50 wrap=off CFOUTPUT#variables.shipping#/CFOUTPUT /textarea /CFIF This does not: textarea rows=10 cols=50 wrap=off CFOUTPUT#variables.shipping#/CFOUTPUT /textarea And this does not: CFIF isDefined('form.includeshipping') textarea rows=10 cols=50 wrap=off Static Text /textarea /CFIF It's only if I place the shipping variable inside of the cfif isDefined('form.includeshipping') statement. The error occurs whether or not form.includeshipping is defined. variables.shipping is always defined. Again, am I missing something obvious? Is anyone else experiencing this? -- Bud Schneehagen - Tropical Web Creations _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ ColdFusion Solutions / eCommerce Development [EMAIL PROTECTED] http://www.twcreations.com/ 954.721.3452 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
File size of unzipped files
I have an application that uploads a zip file from the user, unzips the file, and adds a record for each resulting file to a database. I need to determine the file size of each of the files extracted from the zip file so I can add it to the db. I am using CFX_Zip to unzip. Is there an easy way to do determine the file sizes? Thanks, Pam Richmond ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFLOCK Error handling
Scott: The server scope is similar to the application scope, except server scope variables are available to every application/template on the machine. We sometimes use server scope variables for keeping application metrics here. Each time any of our applications detect the start or end of a session, we might increment or decrement a server variable that holds the count of the total number of sessions on the server...gives us a quick view of how busy a server is. Like application and session variables, server variables must be CFLOCKed. -Matt -Original Message- From: Scott Wilhelm [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 8:44 AM To: CF-Talk Subject: CFLOCK Error handling I just want to be sure on the proper usage of CFLOCK, and my question is, where do I use the server scope? Is it for anything that wouldn't fall under application or session? Also, any help (explanations of real life uses) with error handling (cftry, cfcatch, cferror, etc.) would be appreciated. Thanks, Scott Scott Wilhelm Computer Technician/Web Developer St. Lawrence-Lewis BOCES PO Box 231, Outer State Street Canton, NY 13617 P. 315-386-4504 x 164 F. 315-386-3395 W. http://www.sllboces.org E.[EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Differences in SELECT type=multiple on POST and GET methods
That did the trick, thanks! Very annoying to realize these differences between POST and GET this late in the game ;-) I'll test later to see if Mozilla does the same thing. Pete - Original Message - From: Everett; Al [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Friday, February 14, 2003 3:44 PM Subject: RE: Differences in SELECT type=multiple on POST and GET methods The application I'm working on originally used POST methods for form submissions. On SELECT TYPE=MULTIPLE fields, the output was handled very nicely and the data was posted as somefield=value1,value2,value3 if multiple items were selected. This made dealing with the values very simple for many reasons. However, for various reasons, I have had to convert everything over to use the GET method for form submission. On the same SELECT TYPE=MULTIPLE field, the data is now sent as somefield=value1somefield=value2somefield=value3 Is there a simple way to convert the data that looks like somefield=value1somefield=value2somefield=value3 into values that look like somefield=value1,value2,value3? Do I loop through it treating SOMEFIELD as a collection? Is there an easier or more straightforward way of doing this? I'm using CF5 Ent. Well, I would have thought that URL.somefield is still value1,value2,value3 but that's apparently not true. Hmph. You could treat the string as a list with as the delimiter and use a loop. cfset newstring= cfloop list=#CGI.QUERYSTRING# index=i delimiter= cfif ListFirst(i,=) EQ somefield cfset newstring=ListAppend(newstring,ListLast(i,=),,) /cfif /cfloop ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFLOCK Error handling
One more difference between Server and Application vars - server variables do not expire. === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc Member of Team Macromedia Email: [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Matthew Fusfield [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 8:08 AM To: CF-Talk Subject: RE: CFLOCK Error handling Scott: The server scope is similar to the application scope, except server scope variables are available to every application/template on the machine. We sometimes use server scope variables for keeping application metrics here. Each time any of our applications detect the start or end of a session, we might increment or decrement a server variable that holds the count of the total number of sessions on the server...gives us a quick view of how busy a server is. Like application and session variables, server variables must be CFLOCKed. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Phantom errors - case in point
Are you sure that variables.shipping is _ALWAYS_ defined? Are you sure there is no case where it is not? If you add cftry !--- your code --- cfcatch #cfcatch.message# cfcatch /cftry what happens? WG -Original Message- From: Bud [mailto:[EMAIL PROTECTED]] Sent: 18 February 2003 14:00 To: CF-Talk Subject: Phantom errors - case in point +++ The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code. Null Pointers are another name for undefined values. +++ OK. This code returns the error above: CFIF isDefined('form.includeshipping') textarea rows=10 cols=50 wrap=off CFOUTPUT#variables.shipping#/CFOUTPUT /textarea /CFIF This does not: textarea rows=10 cols=50 wrap=off CFOUTPUT#variables.shipping#/CFOUTPUT /textarea And this does not: CFIF isDefined('form.includeshipping') textarea rows=10 cols=50 wrap=off Static Text /textarea /CFIF It's only if I place the shipping variable inside of the cfif isDefined('form.includeshipping') statement. The error occurs whether or not form.includeshipping is defined. variables.shipping is always defined. Again, am I missing something obvious? Is anyone else experiencing this? -- Bud Schneehagen - Tropical Web Creations _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ ColdFusion Solutions / eCommerce Development [EMAIL PROTECTED] http://www.twcreations.com/ 954.721.3452 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: File size of unzipped files
I'd first check to see if cfx_zip has an option to get that info for you. If not, when you unzip, simply use cfdirectory to get a list of the files and their sizes. === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc Member of Team Macromedia Email: [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Richmond, Pamela [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 8:01 AM To: CF-Talk Subject: File size of unzipped files I have an application that uploads a zip file from the user, unzips the file, and adds a record for each resulting file to a database. I need to determine the file size of each of the files extracted from the zip file so I can add it to the db. I am using CFX_Zip to unzip. Is there an easy way to do determine the file sizes? Thanks, Pam Richmond ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Phantom errors continued
OK. I'm REALLY at a loss now. This doesn't return an error. CFIF isDefined('form.includeorders') textarea rows=10 cols=50 wrap=off CFOUTPUT#orders#/CFOUTPUT /textarea /CFIF If I copy that code and paste it right under it, still no error. If I copy it and paste it a THIRD time, I get the error. I ended up checking like that because I have 5 of these statements in my code for different variables. I can use any 2 of them. This is depressing. Searching the KB for undefined value or null pointer returns 0 results. -- Bud Schneehagen - Tropical Web Creations _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ ColdFusion Solutions / eCommerce Development [EMAIL PROTECTED] http://www.twcreations.com/ 954.721.3452 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CF executing a DTS package for a MS SQL server
I just through together an article which shows how you can invoke a DTS package via SQL using a couple of stored procedures: http://www.pengoworks.com/index.cfm?action=articles:spExecuteDTS -Dan -Original Message- From: jon hall [mailto:[EMAIL PROTECTED]] Sent: Friday, February 14, 2003 4:07 PM To: CF-Talk Subject: Re: CF executing a DTS package for a MS SQL server http://www.sqlmag.com/Articles/Index.cfm?ArticleID=7836 Figure 4 shows a vbscript example that should be easy to port, whether or not CF can handle it is another thing all together... The DTS object model is kinda VB biased. btw, Lumigent was offering a free DTS Object Model poster not too long ago. I got mine hanging on the wall in my office now. I found this page via Google...they may still have some :) http://www.lumigent.com/go/sqlcentral05/ -- jon mailto:[EMAIL PROTECTED] Friday, February 14, 2003, 3:20:23 PM, you wrote: JB Hello All: JB Does anyone have an example of CF executing a DTS package for a MS SQL JB server via a COM object through the CFOBJECT tag? JB Regards, JB James Blaha ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Replacing the #
It is a form variable .. actually it is a Hex color #FF (I need to remove the Pound sign). Paul Giesenhagen QuillDesign - Original Message - From: Pablo Varando [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, February 18, 2003 12:35 AM Subject: Re: Replacing the # OK, where are you getting the variable from.. are you setting at the top with CFSET? or is comeing a DB, etc? Pablo - Original Message - From: Paul Giesenhagen [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, February 18, 2003 12:09 AM Subject: Re: Replacing the # It currently isn't in a CFOUTPUT it errors on the cfset Toughy huh?! Paul Giesenhagen QuillDesign - Original Message - From: Pablo Varando [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, February 18, 2003 12:07 AM Subject: Re: Replacing the # What about this: !--- put this OUTSIDE A CFOUTPUT --- cfset StringToSearch = # !--- Put this anywhere you want in the page --- cfset thisItem = ReplaceNoCase(thisItem, StringToSearch, , ALL) That Should work. give it a try and let me know... Pablo - Original Message - From: Paul Giesenhagen [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, February 17, 2003 11:51 PM Subject: Re: Replacing the # Just tried it, and nope, it didn't work ... Thanks for trying though... Paul Giesenhagen QuillDesign - Original Message - From: Pablo Varando [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, February 17, 2003 11:53 PM Subject: Re: Replacing the # Try this: cfset thisItem = ReplaceNoCase(thisItem, chr(35), , ALL) That should work... Pablo - Original Message - From: Paul Giesenhagen [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, February 17, 2003 10:45 PM Subject: Replacing the # I am trying to check a variable to make sure it doesn't have a # sign in the variable and if it does, I want to remove it. Here is what I have, but it errors out with 1 (makes sense), but it doesn't replace if I have two! Any suggestions? cfset thisItem = ReplaceNoCase(thisItem, #, , ALL) !--- Errors out --- cfset thisItem = ReplaceNoCase(thisItem, ##, , ALL) !--- Doesn't replace --- Thanks Paul Giesenhagen QuillDesign ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Phantom errors continued
Can you show us a simplest case ? (i.e. the simplest case that breaks) WG -Original Message- From: Bud [mailto:[EMAIL PROTECTED]] Sent: 18 February 2003 14:18 To: CF-Talk Subject: Phantom errors continued OK. I'm REALLY at a loss now. This doesn't return an error. CFIF isDefined('form.includeorders') textarea rows=10 cols=50 wrap=off CFOUTPUT#orders#/CFOUTPUT /textarea /CFIF If I copy that code and paste it right under it, still no error. If I copy it and paste it a THIRD time, I get the error. I ended up checking like that because I have 5 of these statements in my code for different variables. I can use any 2 of them. This is depressing. Searching the KB for undefined value or null pointer returns 0 results. -- Bud Schneehagen - Tropical Web Creations _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ ColdFusion Solutions / eCommerce Development [EMAIL PROTECTED] http://www.twcreations.com/ 954.721.3452 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFTransaction and looping through multiple inserts
I'm entering a series of answers into a table, so I have a loop like this: cfloop index=QuestionID list=#Form.SurveyQuestionIDList# !--- Get the answer. --- CFSET NumericAnswer=Form[AnswerQuestionID] !--- Run the query. --- cfquery datasource=#Datasource# name=InsertSurveyAnswers INSERT INTO SurveyAnswers(QuestionID, SurveySubjectID, NumericAnswer, SurveyDate) VALUES (#QuestionID#, #Form.SubjectID#, #NumericAnswer#,#Form.DateSurveyEntered#) /cfquery /CFLOOP If I want to use CFTransaction, would I set it up like this? CFSET CommitWrite=True cftransaction action=begin cftry cfloop index=QuestionID list=#Form.SurveyQuestionIDList# !--- Get the answer. --- CFSET NumericAnswer=Form[AnswerQuestionID] !--- Run the query. --- cfquery datasource=#Datasource# name=InsertSurveyAnswers INSERT INTO SurveyAnswers(QuestionID, SurveySubjectID, NumericAnswer, SurveyDate) VALUES (#QuestionID#, #Form.SubjectID#, #NumericAnswer#,#Form.DateSurveyEntered#) /cfquery /CFLOOP cfcatch type='database' cfset CommitWrite=FALSE /cfcatch /cftry cfif CommitWrite is 'TRUE' cftransaction action='Commit' cfelse cftransaction action='Rollback' /cfif /cftransaction Or like this? CFSET CommitWrite=True cftransaction action=begin cfloop index=QuestionID list=#Form.SurveyQuestionIDList# !--- Get the answer. --- CFSET NumericAnswer=Form[AnswerQuestionID] !--- Run the query. --- cftry cfquery datasource=#Datasource# name=InsertSurveyAnswers INSERT INTO SurveyAnswers(QuestionID, SurveySubjectID, NumericAnswer, SurveyDate) VALUES (#QuestionID#, #Form.SubjectID#, #NumericAnswer#,#Form.DateSurveyEntered#) /cfquery cfcatch type='database' cfset CommitWrite=FALSE /cfcatch /cftry /CFLOOP cfif CommitWrite is 'TRUE' cftransaction action='Commit' cfelse cftransaction action='Rollback' /cfif /cftransaction Or can CFTransaction be used in this situation? T ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Phantom errors - the workaround
OK. Guess CFMX just doesn't like too many cfoutputs in a row or something. Altough I've been taught that it's best to use cfoutput around just your variables when possible so CF doesn't try and patse all the code inside, I fixed it by placing a single cfoutput around the entire block of code. CFIF isDefined('form.includeorders') textarea rows=10 cols=50 wrap=off CFOUTPUT#orders#/CFOUTPUT /textarea /CFIF (4 more times with different variables) To... CFOUTPUT CFIF isDefined('form.includeorders') textarea rows=10 cols=50 wrap=off #orders# /textarea /CFIF (4 more times with different variables) /CFOUTPUT Nightmare. -- Bud Schneehagen - Tropical Web Creations _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ ColdFusion Solutions / eCommerce Development [EMAIL PROTECTED] http://www.twcreations.com/ 954.721.3452 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFTransaction and looping through multiple inserts
Thane, No need to have a separate CommitWrite variable. Just do this: cftransaction!--- Begin is implied --- cftry cfloop ...DB Inserts here... /cfloop cfcatch type=Database cftransaction action=rollback/ /cfcatch /cftry /cftransaction!--- Commit is implied --- Provided you want all inserts to be performed or none at all...otherwise you need to adjust where the loop is etc. André -Original Message- From: Thane Sherrington [mailto:[EMAIL PROTECTED]] Sent: 18 February 2003 14:43 To: CF-Talk Subject: CFTransaction and looping through multiple inserts I'm entering a series of answers into a table, so I have a loop like this: cfloop index=QuestionID list=#Form.SurveyQuestionIDList# !--- Get the answer. --- CFSET NumericAnswer=Form[AnswerQuestionID] !--- Run the query. --- cfquery datasource=#Datasource# name=InsertSurveyAnswers INSERT INTO SurveyAnswers(QuestionID, SurveySubjectID, NumericAnswer, SurveyDate) VALUES (#QuestionID#, #Form.SubjectID#, #NumericAnswer#,#Form.DateSurveyEntered#) /cfquery /CFLOOP If I want to use CFTransaction, would I set it up like this? CFSET CommitWrite=True cftransaction action=begin cftry cfloop index=QuestionID list=#Form.SurveyQuestionIDList# !--- Get the answer. --- CFSET NumericAnswer=Form[AnswerQuestionID] !--- Run the query. --- cfquery datasource=#Datasource# name=InsertSurveyAnswers INSERT INTO SurveyAnswers(QuestionID, SurveySubjectID,NumericAnswer, SurveyDate) VALUES (#QuestionID#, #Form.SubjectID#, #NumericAnswer#,#Form.DateSurveyEntered#) /cfquery /CFLOOP cfcatch type='database' cfset CommitWrite=FALSE /cfcatch /cftry cfif CommitWrite is 'TRUE' cftransaction action='Commit' cfelse cftransaction action='Rollback' /cfif /cftransaction Or like this? CFSET CommitWrite=True cftransaction action=begin cfloop index=QuestionID list=#Form.SurveyQuestionIDList# !--- Get the answer. --- CFSET NumericAnswer=Form[AnswerQuestionID] !--- Run the query. --- cftry cfquery datasource=#Datasource# name=InsertSurveyAnswers INSERT INTO SurveyAnswers(QuestionID, SurveySubjectID,NumericAnswer, SurveyDate) VALUES (#QuestionID#, #Form.SubjectID#, #NumericAnswer#,#Form.DateSurveyEntered#) /cfquery cfcatch type='database' cfset CommitWrite=FALSE /cfcatch /cftry /CFLOOP cfif CommitWrite is 'TRUE' cftransaction action='Commit' cfelse cftransaction action='Rollback' /cfif /cftransaction Or can CFTransaction be used in this situation? T ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Replacing the #
Paul, Just wrote and tried this on CF5 cfif IsDefined(form.thisColour) cfset cleanColour = replace(form.thisColour,chr(35),,ALL) cfoutput#form.thisColour# - #cleanColour#br/cfoutput /cfif form name=test action=test.cfm method=post input name=thisColour type=text size=10 maxlength=10br input type=submit name=submit value=submit /form It lets me enter #ff and outputs the form variable with the hash still in there and the form variable without the hash quiet happily. What's the error you are getting with your code? Are you sure that your form variable is defined? Regards Stephen - Original Message - From: Paul Giesenhagen [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, February 18, 2003 2:31 PM Subject: Re: Replacing the # It is a form variable .. actually it is a Hex color #FF (I need to remove the Pound sign). Paul Giesenhagen QuillDesign - Original Message - From: Pablo Varando [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, February 18, 2003 12:35 AM Subject: Re: Replacing the # OK, where are you getting the variable from.. are you setting at the top with CFSET? or is comeing a DB, etc? Pablo - Original Message - From: Paul Giesenhagen [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, February 18, 2003 12:09 AM Subject: Re: Replacing the # It currently isn't in a CFOUTPUT it errors on the cfset Toughy huh?! Paul Giesenhagen QuillDesign - Original Message - From: Pablo Varando [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, February 18, 2003 12:07 AM Subject: Re: Replacing the # What about this: !--- put this OUTSIDE A CFOUTPUT --- cfset StringToSearch = # !--- Put this anywhere you want in the page --- cfset thisItem = ReplaceNoCase(thisItem, StringToSearch, , ALL) That Should work. give it a try and let me know... Pablo - Original Message - From: Paul Giesenhagen [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, February 17, 2003 11:51 PM Subject: Re: Replacing the # Just tried it, and nope, it didn't work ... Thanks for trying though... Paul Giesenhagen QuillDesign - Original Message - From: Pablo Varando [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, February 17, 2003 11:53 PM Subject: Re: Replacing the # Try this: cfset thisItem = ReplaceNoCase(thisItem, chr(35), , ALL) That should work... Pablo - Original Message - From: Paul Giesenhagen [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, February 17, 2003 10:45 PM Subject: Replacing the # I am trying to check a variable to make sure it doesn't have a # sign in the variable and if it does, I want to remove it. Here is what I have, but it errors out with 1 (makes sense), but it doesn't replace if I have two! Any suggestions? cfset thisItem = ReplaceNoCase(thisItem, #, , ALL) !--- Errors out --- cfset thisItem = ReplaceNoCase(thisItem, ##, , ALL) !--- Doesn't replace --- Thanks Paul Giesenhagen QuillDesign ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Phantom errors - case in point
On 2/18/03, webguy penned: Are you sure that variables.shipping is _ALWAYS_ defined? Are you sure there is no case where it is not? Normally it isn't. I usually check whether form.includeshipping is defined first, then create my variables.shipping variable. Then the code where the error occurs. To test, I removed the isDefined('form.includeshipping') check and created the variable.shipping variable (and the other 4) no matter what. The thing is, if it WASN'T defined, then CF would tell me it wasn't defined and tell me the line of code where I was calling it. With these phantom errors, there is really nothing wrong, so CF just points to the cfinclude that calls the file. That doesn't help much when your included file is hundreds of lines long. :) But as you'll see from my workaround, the error was caused by the placement of the cfoutput tag, which is totally nonsensical. I mean, either should be acceptable, but I was taught that the way I had it first is preferable. I mean, sometimes it's hard to find errors when your code IS screwed up. When CFMX creates errors on acceptable code, it REALLY makes it hard to find them. -- Bud Schneehagen - Tropical Web Creations _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ ColdFusion Solutions / eCommerce Development [EMAIL PROTECTED] http://www.twcreations.com/ 954.721.3452 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Phantom errors continued
On 2/18/03, webguy penned: Can you show us a simplest case ? (i.e. the simplest case that breaks) This DOES NOT return an error: CFIF isDefined('form.includeorders') textarea rows=10 cols=50 wrap=off CFOUTPUT#orders#/CFOUTPUT /textarea /CFIF CFIF isDefined('form.includeorders') textarea rows=10 cols=50 wrap=off CFOUTPUT#orders#/CFOUTPUT /textarea /CFIF This DOES. It doesn't matter whether #orders# or form.includeorders are repeated or different variables (like the actual code). I did this for testing purposes because if it works once, it should work twice (which it does as shown above) and hence should work 3 times (which it doesn't): CFIF isDefined('form.includeorders') textarea rows=10 cols=50 wrap=off CFOUTPUT#orders#/CFOUTPUT /textarea /CFIF CFIF isDefined('form.includeorders') textarea rows=10 cols=50 wrap=off CFOUTPUT#orders#/CFOUTPUT /textarea /CFIF CFIF isDefined('form.includeorders') textarea rows=10 cols=50 wrap=off CFOUTPUT#orders#/CFOUTPUT /textarea /CFIF This is the fix: CFOUTPUT CFIF isDefined('form.includeorders') textarea rows=10 cols=50 wrap=off #orders# /textarea /CFIF CFIF isDefined('form.includeorders') textarea rows=10 cols=50 wrap=off #orders# /textarea /CFIF CFIF isDefined('form.includeorders') textarea rows=10 cols=50 wrap=off #orders# /textarea /CFIF /CFOUTPUT Make sense to you??? -- Bud Schneehagen - Tropical Web Creations _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ ColdFusion Solutions / eCommerce Development [EMAIL PROTECTED] http://www.twcreations.com/ 954.721.3452 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Link to named anchor
Hi All, On page 1, I Have a link which looks like this: a href=page2.cfm#foo?#SESSION.URLToken#Page 2/a On page 2, the named anchor towards the bottom of this long page in the HTML is: a name=foo/a Can't get the link to jump to the appropriate section on page 2. I've tried the following with no luck: cfoutputa href=page2.cfm##foo?#SESSION.URLToken#/cfoutput a href=page2.cfm#foo?cfoutput#SESSION.URLToken#/cfoutput BTW: Works OK without the CFML Session Tag as: a href=page2.cfm#fooPage 2/a Thanks, Mark ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Link to named anchor
never tried it, but what happens if you reverse it? page2.cfm?#session.urltoken##foo Probably wont work but just a thought -Original Message- From: Mark Leder [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 10:21 AM To: CF-Talk Subject: Link to named anchor Hi All, On page 1, I Have a link which looks like this: a href=page2.cfm#foo?#SESSION.URLToken#Page 2/a On page 2, the named anchor towards the bottom of this long page in the HTML is: a name=foo/a Can't get the link to jump to the appropriate section on page 2. I've tried the following with no luck: cfoutputa href=page2.cfm##foo?#SESSION.URLToken#/cfoutput a href=page2.cfm#foo?cfoutput#SESSION.URLToken#/cfoutput BTW: Works OK without the CFML Session Tag as: a href=page2.cfm#fooPage 2/a Thanks, Mark ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Link to named anchor
Can't get the link to jump to the appropriate section on page 2. I've tried the following with no luck: Put the named anchor at the end of the URL: cfoutputa href=page2.cfm?#SESSION.URLToken###foo/cfoutput Tim. --- OUR NEW SITE IS NOW LIVE Visit our new website at http://www.rawnet.com/ and race around the beautiful Bracknell streets at http://xmas.rawnet.com/ --- Tim Blair Web Application Engineer, Rawnet Limited Direct Phone : +44 (0) 1344 393 441 Switchboard : +44 (0) 1344 393 040 --- This message may contain information which is legally privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any unauthorised disclosure, copying, distribution or use of this information is strictly prohibited. Such notification notwithstanding, any comments, opinions, information or conclusions expressed in this message are those of the originator, not of rawnet limited, unless otherwise explicitly and independently indicated by an authorised representative of rawnet limited. --- ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: OT - Canadian sales tax question
Here's the way Amazon.ca did it for me. It was shipped from outside the province so no PST. SubTotal: 32.89 SH :5.90 Total: 38.79 GST: 2.71 PST: 0.00 - Grand Total: 41.50 - Original Message - From: Bud [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, February 17, 2003 3:37 PM Subject: OT - Canadian sales tax question Howdy. I have a couple quick questions regarding Canadian sales tax: 1) Are shipping charges taxed? If so, in all provinces or just some? 2) Are the rules pretty close to what they are in the US? You have to collect the sales tax if you have Nexus in the Province the order is shipping to? Thanks! -- Bud Schneehagen - Tropical Web Creations _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ ColdFusion Solutions / eCommerce Development [EMAIL PROTECTED] http://www.twcreations.com/ 954.721.3452 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Link to named anchor
Well shouldn't it be on emore pund sign? Like: page2.cfm?#session.urltoken###foo Patric C never tried it, but what happens if you reverse it? C page2.cfm?#session.urltoken##foo C Probably wont work but just a thought C -Original Message- C From: Mark Leder [mailto:[EMAIL PROTECTED]] C Sent: Tuesday, February 18, 2003 10:21 AM C To: CF-Talk C Subject: Link to named anchor C Hi All, C On page 1, I Have a link which looks like this: a C href=page2.cfm#foo?#SESSION.URLToken#Page 2/a C On page 2, the named anchor towards the bottom of this long page in the HTML C is: a name=foo/a C Can't get the link to jump to the appropriate section on page 2. C I've tried the following with no luck: C cfoutputa C href=page2.cfm##foo?#SESSION.URLToken#/cfoutput C a C href=page2.cfm#foo?cfoutput#SESSION.URLToken#/cfoutput C BTW: Works OK without the CFML Session Tag as: a href=page2.cfm#fooPage C 2/a C Thanks, Mark C ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Link to named anchor
On page 1, I Have a link which looks like this: a href=page2.cfm#foo?#SESSION.URLToken#Page 2/a You need a double hash. a href=page2.cfm##foo?#session.urltoken#Page 2/a The double hash tell CF to put a single hash in its place when the cfoutput is processed. Regards Stephen ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Phantom errors continued
Sorry I wasn't clear. I meant a complete simpliest Case, a case that anyone can replicate. With your example, we don't know if form.includes is actually defined. For example this code works for me cfparam default= name=form.includeorders / cfparam default= name=orders / CFIF isDefined('form.includeorders') textarea rows=10 cols=50 wrap=off CFOUTPUT#orders#/CFOUTPUT /textarea /CFIF CFIF isDefined('form.includeorders') textarea rows=10 cols=50 wrap=off CFOUTPUT#orders#/CFOUTPUT /textarea /CFIF CFIF isDefined('form.includeorders') textarea rows=10 cols=50 wrap=off CFOUTPUT#orders#/CFOUTPUT /textarea /CFIF A complete simpliest Case is always the best why to show a bug. WG -Original Message- From: Bud [mailto:[EMAIL PROTECTED]] Sent: 18 February 2003 15:03 To: CF-Talk Subject: RE: Phantom errors continued On 2/18/03, webguy penned: Can you show us a simplest case ? (i.e. the simplest case that breaks) This DOES NOT return an error: CFIF isDefined('form.includeorders') textarea rows=10 cols=50 wrap=off CFOUTPUT#orders#/CFOUTPUT /textarea /CFIF CFIF isDefined('form.includeorders') textarea rows=10 cols=50 wrap=off CFOUTPUT#orders#/CFOUTPUT /textarea /CFIF This DOES. It doesn't matter whether #orders# or form.includeorders are repeated or different variables (like the actual code). I did this for testing purposes because if it works once, it should work twice (which it does as shown above) and hence should work 3 times (which it doesn't): CFIF isDefined('form.includeorders') textarea rows=10 cols=50 wrap=off CFOUTPUT#orders#/CFOUTPUT /textarea /CFIF CFIF isDefined('form.includeorders') textarea rows=10 cols=50 wrap=off CFOUTPUT#orders#/CFOUTPUT /textarea /CFIF CFIF isDefined('form.includeorders') textarea rows=10 cols=50 wrap=off CFOUTPUT#orders#/CFOUTPUT /textarea /CFIF This is the fix: CFOUTPUT CFIF isDefined('form.includeorders') textarea rows=10 cols=50 wrap=off #orders# /textarea /CFIF CFIF isDefined('form.includeorders') textarea rows=10 cols=50 wrap=off #orders# /textarea /CFIF CFIF isDefined('form.includeorders') textarea rows=10 cols=50 wrap=off #orders# /textarea /CFIF /CFOUTPUT Make sense to you??? -- ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Link to named anchor
That worked - thanks for filling in the blank in my brain :o) Thanks, Mark -Original Message- From: CFDEV [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 10:26 AM To: CF-Talk Subject: RE: Link to named anchor never tried it, but what happens if you reverse it? page2.cfm?#session.urltoken##foo Probably wont work but just a thought -Original Message- From: Mark Leder [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 10:21 AM To: CF-Talk Subject: Link to named anchor Hi All, On page 1, I Have a link which looks like this: a href=page2.cfm#foo?#SESSION.URLToken#Page 2/a On page 2, the named anchor towards the bottom of this long page in the HTML is: a name=foo/a Can't get the link to jump to the appropriate section on page 2. I've tried the following with no luck: cfoutputa href=page2.cfm##foo?#SESSION.URLToken#/cfoutput a href=page2.cfm#foo?cfoutput#SESSION.URLToken#/cfoutput BTW: Works OK without the CFML Session Tag as: a href=page2.cfm#fooPage 2/a Thanks, Mark ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFTransaction and looping through multiple inserts
No need to have a separate CommitWrite variable. Just do this: cftransaction!--- Begin is implied --- cftry cfloop ...DB Inserts here... /cfloop cfcatch type=Database cftransaction action=rollback/ /cfcatch /cftry /cftransaction!--- Commit is implied --- Provided you want all inserts to be performed or none at all...otherwise you need to adjust where the loop is etc. There's no need to have a CFTRY/CFCATCH just to rollback, either - if any query fails, the entire transaction will rollback automatically. You only need to use ACTION=COMMIT or ACTION=ROLLBACK within a CFTRANSACTION tag if you want a partial commit or rollback. cftransaction isolation=a_level_that_will_be_safe_for_your_transaction cfloop ... DB inserts here ... /cfloop /cftransaction Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Link to named anchor
Glad to assist, and thanks for telling me it worked, just never tried it honestly. -Original Message- From: Mark Leder [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 10:34 AM To: CF-Talk Subject: RE: Link to named anchor That worked - thanks for filling in the blank in my brain :o) Thanks, Mark -Original Message- From: CFDEV [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 10:26 AM To: CF-Talk Subject: RE: Link to named anchor never tried it, but what happens if you reverse it? page2.cfm?#session.urltoken##foo Probably wont work but just a thought -Original Message- From: Mark Leder [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 10:21 AM To: CF-Talk Subject: Link to named anchor Hi All, On page 1, I Have a link which looks like this: a href=page2.cfm#foo?#SESSION.URLToken#Page 2/a On page 2, the named anchor towards the bottom of this long page in the HTML is: a name=foo/a Can't get the link to jump to the appropriate section on page 2. I've tried the following with no luck: cfoutputa href=page2.cfm##foo?#SESSION.URLToken#/cfoutput a href=page2.cfm#foo?cfoutput#SESSION.URLToken#/cfoutput BTW: Works OK without the CFML Session Tag as: a href=page2.cfm#fooPage 2/a Thanks, Mark ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Anyone ever seen this error on CF 4.52
We have moved our production server from the DMZ to Internal, changing its IP Address. Since the move, users have been receiving the following error: An error occurred while evaluating the expression: #application.dsn#. Error resolving parameter APPLICATION.DSN. The application variable DSN does not exist. The cause of this error is very likely one of the following things The name of the application variable has been misspelled. The application variable has not yet been created. The application variable has timed out. Prior to the move of the server we never experienced this problem. Now it is happening quite often. The application variable has NOT been misspelled. The application variable HAS been created. The application variable should NOT have timed out as it is set to the default value of 2 days. Could the IP Address change have affected the Application Variable settings in some way? Is there a way to clear ALL the application variables and reset the timeout to 2 hours? TIA for your help. Debbie M. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFTransaction and looping through multiple inserts
Doh! That's true! Only need to explicitly rollback for example if there is something else inside of the transaction tags that is NOT a db query and hence won't necessarily exit the transaction automatically e.g. cftransaction ...DB Queries cf_chargecreditcard cfif chargeError cftransaction action=rollback/ /cfif /cftransaction ...but...this was not what the original question was so I'll shut up now! André -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: 18 February 2003 16:00 To: CF-Talk Subject: RE: CFTransaction and looping through multiple inserts No need to have a separate CommitWrite variable. Just do this: cftransaction!--- Begin is implied --- cftry cfloop ...DB Inserts here... /cfloop cfcatch type=Database cftransaction action=rollback/ /cfcatch /cftry /cftransaction!--- Commit is implied --- Provided you want all inserts to be performed or none at all...otherwise you need to adjust where the loop is etc. There's no need to have a CFTRY/CFCATCH just to rollback, either - if any query fails, the entire transaction will rollback automatically. You only need to use ACTION=COMMIT or ACTION=ROLLBACK within a CFTRANSACTION tag if you want a partial commit or rollback. cftransaction isolation=a_level_that_will_be_safe_for_your_transaction cfloop ... DB inserts here ... /cfloop /cftransaction Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Anyone ever seen this error on CF 4.52
Are you sure the application.cfm tag where the DSN variable was establish was copied over to the new server? The only way to reset the application variables that I know of is to stop and restart the CF Application Server services. -Original Message- From: Debbie McDaniel [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 11:10 AM To: CF-Talk Subject: Anyone ever seen this error on CF 4.52 We have moved our production server from the DMZ to Internal, changing its IP Address. Since the move, users have been receiving the following error: An error occurred while evaluating the expression: #application.dsn#. Error resolving parameter APPLICATION.DSN. The application variable DSN does not exist. The cause of this error is very likely one of the following things The name of the application variable has been misspelled. The application variable has not yet been created. The application variable has timed out. Prior to the move of the server we never experienced this problem. Now it is happening quite often. The application variable has NOT been misspelled. The application variable HAS been created. The application variable should NOT have timed out as it is set to the default value of 2 days. Could the IP Address change have affected the Application Variable settings in some way? Is there a way to clear ALL the application variables and reset the timeout to 2 hours? TIA for your help. Debbie M. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Set HTTP Headers
I am working on a project where I need to create a new HTTP Header variable. I thought this was what the cfheader tag was for, but I am not being able to make it work. What am I missing here? cfheader name=testVar value=testVarValue When I do cfset x = getHTTPRequestData() cfdump var=#x# ... I do not see the testVar header. Thanks -- Jeff ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Anyone ever seen this error on CF 4.52
Did you move the box /change IP or did you rebuild on a new box? - Original Message - From: Debbie McDaniel [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, February 18, 2003 11:10 AM Subject: Anyone ever seen this error on CF 4.52 We have moved our production server from the DMZ to Internal, changing its IP Address. Since the move, users have been receiving the following error: An error occurred while evaluating the expression: #application.dsn#. Error resolving parameter APPLICATION.DSN. The application variable DSN does not exist. The cause of this error is very likely one of the following things The name of the application variable has been misspelled. The application variable has not yet been created. The application variable has timed out. Prior to the move of the server we never experienced this problem. Now it is happening quite often. The application variable has NOT been misspelled. The application variable HAS been created. The application variable should NOT have timed out as it is set to the default value of 2 days. Could the IP Address change have affected the Application Variable settings in some way? Is there a way to clear ALL the application variables and reset the timeout to 2 hours? TIA for your help. Debbie M. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Set HTTP Headers
Hi Jeff, I am working on a project where I need to create a new HTTP Header variable. I thought this was what the cfheader tag was for, but I am not being able to make it work. What am I missing here? cfheader name=testVar value=testVarValue -- A header is something you send to the client in the response stream. So doing getHTTPRequestDate() like you do below is getting the request stream (what the client is sending to you). If you want to see the headers you're sending back to the client, there are a couple tools that plug into IE that let you see that kinda thing, or, if you want to get really geeky, break out Network Monitor in Windows 2000 and view the TCP/IP packets and filter for HTTP data. AJ Aaron Johnson [EMAIL PROTECTED] http://cephas.net/blog/ ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Set HTTP Headers
I am working on a project where I need to create a new HTTP Header variable. I thought this was what the cfheader tag was for, but I am not being able to make it work. What am I missing here? cfheader name=testVar value=testVarValue When I do cfset x = getHTTPRequestData() cfdump var=#x# ... I do not see the testVar header. The CFHEADER tag lets you set an HTTP response header, which will be returned to the browser from the server. The GetHTTPRequestData() function returns the HTTP request headers and body sent from the browser to the server. So, nothing you set with CFHEADER in one page will be visible to GetHTTPRequestData() in another. What are you trying to do, exactly? Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Set HTTP Headers
Okay, that makes since. Now let me explain the problem better. I am building some functionality to read a set of header variables and do some processing on them. As a test, I was trying to insert certain values into the header and then call my functions to make sure they work correctly. So basically you are saying that I need to set the header variables and then somehow call or go to another page that runs the function in question? Thanks -- Jeff -Original Message- From: Aaron Johnson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 10:31 AM To: CF-Talk Subject: RE: Set HTTP Headers Hi Jeff, I am working on a project where I need to create a new HTTP Header variable. I thought this was what the cfheader tag was for, but I am not being able to make it work. What am I missing here? cfheader name=testVar value=testVarValue -- A header is something you send to the client in the response stream. So doing getHTTPRequestDate() like you do below is getting the request stream (what the client is sending to you). If you want to see the headers you're sending back to the client, there are a couple tools that plug into IE that let you see that kinda thing, or, if you want to get really geeky, break out Network Monitor in Windows 2000 and view the TCP/IP packets and filter for HTTP data. AJ Aaron Johnson [EMAIL PROTECTED] http://cephas.net/blog/ ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Set HTTP Headers
Jeff, You could also do a CFHTTP call to the page you are setting the headers on. Then cfdump cfhttp.header for the raw response header you get back from your page or cfdump cfhttp.responseHeader (which is a Structure) or use cfhttp.responseHeader[testVar] to see if you get testVarValue as expected etc. André -Original Message- From: Aaron Johnson [mailto:[EMAIL PROTECTED]] Sent: 18 February 2003 16:31 To: CF-Talk Subject: RE: Set HTTP Headers Hi Jeff, I am working on a project where I need to create a new HTTP Header variable. I thought this was what the cfheader tag was for, but I am not being able to make it work. What am I missing here? cfheader name=testVar value=testVarValue -- A header is something you send to the client in the response stream. So doing getHTTPRequestDate() like you do below is getting the request stream (what the client is sending to you). If you want to see the headers you're sending back to the client, there are a couple tools that plug into IE that let you see that kinda thing, or, if you want to get really geeky, break out Network Monitor in Windows 2000 and view the TCP/IP packets and filter for HTTP data. AJ Aaron Johnson [EMAIL PROTECTED] http://cephas.net/blog/ ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Set HTTP Headers
Jeff, You might want to try a tool like HTTP Analyzer (www.coolfusion.com) It will easily let you see what you are sending down to the browser. getHTTPRequestData() will only show you what the browser sends you when it makes its request. Matt -Original Message- From: Jeff Chastain [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 11:27 AM To: CF-Talk Subject: Set HTTP Headers I am working on a project where I need to create a new HTTP Header variable. I thought this was what the cfheader tag was for, but I am not being able to make it work. What am I missing here? cfheader name=testVar value=testVarValue When I do cfset x = getHTTPRequestData() cfdump var=#x# ... I do not see the testVar header. Thanks -- Jeff ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Set HTTP Headers
The headers that are sent by the browser are all that I am interested in at this point. I am just trying to figure out how to pass in some test data. Thanks -- Jeff -Original Message- From: Matthew Fusfield [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 10:47 AM To: CF-Talk Subject: RE: Set HTTP Headers Jeff, You might want to try a tool like HTTP Analyzer (www.coolfusion.com) It will easily let you see what you are sending down to the browser. getHTTPRequestData() will only show you what the browser sends you when it makes its request. Matt -Original Message- From: Jeff Chastain [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 11:27 AM To: CF-Talk Subject: Set HTTP Headers I am working on a project where I need to create a new HTTP Header variable. I thought this was what the cfheader tag was for, but I am not being able to make it work. What am I missing here? cfheader name=testVar value=testVarValue When I do cfset x = getHTTPRequestData() cfdump var=#x# ... I do not see the testVar header. Thanks -- Jeff ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Set HTTP Headers
-- cfheader : Generates custom HTTP response headers to return to the client. sets header in the response --- getHTTPRequestData(): --- Makes HTTP request headers and body available to CFML pages. Useful for capturing SOAP --- request data, which can be delivered in an HTTP header. gets header in the request WG -Original Message- From: Jeff Chastain [mailto:[EMAIL PROTECTED]] Sent: 18 February 2003 16:27 To: CF-Talk Subject: Set HTTP Headers I am working on a project where I need to create a new HTTP Header variable. I thought this was what the cfheader tag was for, but I am not being able to make it work. What am I missing here? cfheader name=testVar value=testVarValue When I do cfset x = getHTTPRequestData() cfdump var=#x# ... I do not see the testVar header. Thanks -- Jeff ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Set HTTP Headers
Jeff, Are you trying to read request headers i.e. those set by the browser when requesting one of your pages, or are you trying to read response headers set by another server e.g. when you request a resource/page programmatically via cfhttp? André -Original Message- From: Jeff Chastain [mailto:[EMAIL PROTECTED]] Sent: 18 February 2003 16:42 To: CF-Talk Subject: RE: Set HTTP Headers Okay, that makes since. Now let me explain the problem better. I am building some functionality to read a set of header variables and do some processing on them. As a test, I was trying to insert certain values into the header and then call my functions to make sure they work correctly. So basically you are saying that I need to set the header variables and then somehow call or go to another page that runs the function in question? Thanks -- Jeff -Original Message- From: Aaron Johnson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 10:31 AM To: CF-Talk Subject: RE: Set HTTP Headers Hi Jeff, I am working on a project where I need to create a new HTTP Header variable. I thought this was what the cfheader tag was for, but I am not being able to make it work. What am I missing here? cfheader name=testVar value=testVarValue -- A header is something you send to the client in the response stream. So doing getHTTPRequestDate() like you do below is getting the request stream (what the client is sending to you). If you want to see the headers you're sending back to the client, there are a couple tools that plug into IE that let you see that kinda thing, or, if you want to get really geeky, break out Network Monitor in Windows 2000 and view the TCP/IP packets and filter for HTTP data. AJ Aaron Johnson [EMAIL PROTECTED] http://cephas.net/blog/ ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Set HTTP Headers
HTTP Analyzer = handy app.. of course wget -d url gets them too.. (www.cygwin.com) There is a http view headers plugin for mozilla at mozdev.org A little buggy though... WG -Original Message- From: Matthew Fusfield [mailto:[EMAIL PROTECTED]] Sent: 18 February 2003 16:47 To: CF-Talk Subject: RE: Set HTTP Headers Jeff, You might want to try a tool like HTTP Analyzer (www.coolfusion.com) It will easily let you see what you are sending down to the browser. getHTTPRequestData() will only show you what the browser sends you when it makes its request. Matt -Original Message- From: Jeff Chastain [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 11:27 AM To: CF-Talk Subject: Set HTTP Headers I am working on a project where I need to create a new HTTP Header variable. I thought this was what the cfheader tag was for, but I am not being able to make it work. What am I missing here? cfheader name=testVar value=testVarValue When I do cfset x = getHTTPRequestData() cfdump var=#x# ... I do not see the testVar header. Thanks -- Jeff ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Set HTTP Headers
_All_ headers are sent by the browser WG -Original Message- From: Jeff Chastain [mailto:[EMAIL PROTECTED]] Sent: 18 February 2003 16:50 To: CF-Talk Subject: RE: Set HTTP Headers The headers that are sent by the browser are all that I am interested in at this point. I am just trying to figure out how to pass in some test data. Thanks -- Jeff -Original Message- From: Matthew Fusfield [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 10:47 AM To: CF-Talk Subject: RE: Set HTTP Headers Jeff, You might want to try a tool like HTTP Analyzer (www.coolfusion.com) It will easily let you see what you are sending down to the browser. getHTTPRequestData() will only show you what the browser sends you when it makes its request. Matt -Original Message- From: Jeff Chastain [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 11:27 AM To: CF-Talk Subject: Set HTTP Headers I am working on a project where I need to create a new HTTP Header variable. I thought this was what the cfheader tag was for, but I am not being able to make it work. What am I missing here? cfheader name=testVar value=testVarValue When I do cfset x = getHTTPRequestData() cfdump var=#x# ... I do not see the testVar header. Thanks -- Jeff ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Set HTTP Headers
Okay, I can see how this works. However, is there a way to set header variables such that they can be read using the getHTTPRequestData function - i.e. the same a function that read the standard HTTP headers would use to read the actual header variables? Thanks -- Jeff -Original Message- From: Andre Mohamed [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 10:43 AM To: CF-Talk Subject: RE: Set HTTP Headers Jeff, You could also do a CFHTTP call to the page you are setting the headers on. Then cfdump cfhttp.header for the raw response header you get back from your page or cfdump cfhttp.responseHeader (which is a Structure) or use cfhttp.responseHeader[testVar] to see if you get testVarValue as expected etc. André -Original Message- From: Aaron Johnson [mailto:[EMAIL PROTECTED]] Sent: 18 February 2003 16:31 To: CF-Talk Subject: RE: Set HTTP Headers Hi Jeff, I am working on a project where I need to create a new HTTP Header variable. I thought this was what the cfheader tag was for, but I am not being able to make it work. What am I missing here? cfheader name=testVar value=testVarValue -- A header is something you send to the client in the response stream. So doing getHTTPRequestDate() like you do below is getting the request stream (what the client is sending to you). If you want to see the headers you're sending back to the client, there are a couple tools that plug into IE that let you see that kinda thing, or, if you want to get really geeky, break out Network Monitor in Windows 2000 and view the TCP/IP packets and filter for HTTP data. AJ Aaron Johnson [EMAIL PROTECTED] http://cephas.net/blog/ ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Set HTTP Headers
I have an function that is to serve as an interface to another application. The other application sets a series of variables in the HTTP header that can be seen by my application using getHTTPRequestData. This is done completely transparent - I have no idea how they are actually doing it. I am trying to build a test area on my dev box to simulate the live production area described above. Basically I am trying to set various values in the HTTP header and let my function attempt to interpret them without having to be on the production server. -- Jeff -Original Message- From: Andre Mohamed [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 10:52 AM To: CF-Talk Subject: RE: Set HTTP Headers Jeff, Are you trying to read request headers i.e. those set by the browser when requesting one of your pages, or are you trying to read response headers set by another server e.g. when you request a resource/page programmatically via cfhttp? André -Original Message- From: Jeff Chastain [mailto:[EMAIL PROTECTED]] Sent: 18 February 2003 16:42 To: CF-Talk Subject: RE: Set HTTP Headers Okay, that makes since. Now let me explain the problem better. I am building some functionality to read a set of header variables and do some processing on them. As a test, I was trying to insert certain values into the header and then call my functions to make sure they work correctly. So basically you are saying that I need to set the header variables and then somehow call or go to another page that runs the function in question? Thanks -- Jeff -Original Message- From: Aaron Johnson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 10:31 AM To: CF-Talk Subject: RE: Set HTTP Headers Hi Jeff, I am working on a project where I need to create a new HTTP Header variable. I thought this was what the cfheader tag was for, but I am not being able to make it work. What am I missing here? cfheader name=testVar value=testVarValue -- A header is something you send to the client in the response stream. So doing getHTTPRequestDate() like you do below is getting the request stream (what the client is sending to you). If you want to see the headers you're sending back to the client, there are a couple tools that plug into IE that let you see that kinda thing, or, if you want to get really geeky, break out Network Monitor in Windows 2000 and view the TCP/IP packets and filter for HTTP data. AJ Aaron Johnson [EMAIL PROTECTED] http://cephas.net/blog/ ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Set HTTP Headers
Jeff, If you want to pass in some test data you need some kind of custom browser or HTTP client that lets you set some headers when making requests to your page. There are a few of these around, or you could write a simple Java/VB app to do it. Alternatively, a load testing tool (probably overkill) e.g. MS WAS lets you set some headers. André -Original Message- From: Jeff Chastain [mailto:[EMAIL PROTECTED]] Sent: 18 February 2003 16:50 To: CF-Talk Subject: RE: Set HTTP Headers The headers that are sent by the browser are all that I am interested in at this point. I am just trying to figure out how to pass in some test data. Thanks -- Jeff -Original Message- From: Matthew Fusfield [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 10:47 AM To: CF-Talk Subject: RE: Set HTTP Headers Jeff, You might want to try a tool like HTTP Analyzer (www.coolfusion.com) It will easily let you see what you are sending down to the browser. getHTTPRequestData() will only show you what the browser sends you when it makes its request. Matt -Original Message- From: Jeff Chastain [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 11:27 AM To: CF-Talk Subject: Set HTTP Headers I am working on a project where I need to create a new HTTP Header variable. I thought this was what the cfheader tag was for, but I am not being able to make it work. What am I missing here? cfheader name=testVar value=testVarValue When I do cfset x = getHTTPRequestData() cfdump var=#x# ... I do not see the testVar header. Thanks -- Jeff ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFlocation in a Site-wide Error Handler with CFMX and caffeine
Am I hopped up on too much caffeine this AM, or is this a change in MX with using Site-wide Error Handlers. I have two sites (same client different sites) hosted on the same server. I need to have different display error pages for each client but I would like to use the same Error Handler page and simply CFlocation off to the correct display error page. I do not seem to be able to use a CFlocation in the .cfm file that have defined as a Site-wide Error Handler in the CF admin. Does anyone know if one of the other methods will work? cfoutput scriptlocation='#myURL#';/script /cfoutput Or cfheader statuscode=301 cfheader name=Location value=http://domain/; Thanks Mark W. Breneman -Macromedia Certified ColdFusion Developer -Network / Web Server Administrator Vivid Media [EMAIL PROTECTED] www.vividmedia.com 608.270.9770 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFlocation in a Site-wide Error Handler with CFMX and caffeine
Mark W. Breneman wrote: cfheader statuscode=301 cfheader name=Location value=http://domain/; I am not familiar with your problem, but *don't* use a 301 for an error- redirect. A 301 is a permanent redirect which a browser is allowed to cache. Use a 302 or if a change from POST to GET is required and the browser sends headers indicating HTTP/1.1 capabilities a 307. Jochem ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Set HTTP Headers
The headers that are sent by the browser are all that I am interested in at this point. I am just trying to figure out how to pass in some test data. You can use telnet, netcat or some other command-line HTTP client. Or, you can use different browsers, which will send different headers; my assumption is that you're trying to differentiate between browsers. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
.mht files
I recently received a web page archive where all of the images that are in the webpage are contained in a single file (.mht - web archive file). Does anybody know if there are issues with posting this webpage as it is or must I convert the page to standard HTML? Thanks Matthew Small IT Supervisor Showstopper National Dance Competitions 3660 Old Kings Hwy Murrells Inlet, SC 29576 843-357-1847 http://www.showstopperonline.com ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Set HTTP Headers
Jeff Chastain wrote: The headers that are sent by the browser are all that I am interested in at this point. I am just trying to figure out how to pass in some test data. You need a custom browser for that. Telnet is a nice one ;-) The reason for this is quite simple actually. Suppose that just any website could tell any browser from now on you will send this header, with 'this' being a unique identification. Sounds like something the EFF and the /. crowd would go rather nuts about, wouldn't they? Jochem ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Set HTTP Headers
Okay, let me clear this up then, because setting http header variables can be done. I have an instance of a PlumTree portal sitting on a set of production servers. I am trying to put together another application that PlumTree can be nice and talk to. Now, PlumTree passes information from the portal itself to third party applications via the http header. So somehow the PlumTree portal is manipulating the http header before it calls my function. The http header when I receive it (i.e. I can dump the header variables and see the values) includes things like ... CSP-CAN-SET = 'Gadget,User' CSP-GATEWAY-TYPE = 'PlumTree' CSP-PROTOCOL-VERSION = '1.1' My function can then, through the use of getHttpRequestData, see/read/use these header values. I am attempting to test my function on a development box - separate from the PlumTree system - and was trying to figure out how to set these variables before calling my function - i.e. make it look like PlumTree is doing the calling. Hopefully this is more clear. Thanks -- Jeff -Original Message- From: Jochem van Dieten [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 11:23 AM To: CF-Talk Subject: Re: Set HTTP Headers Jeff Chastain wrote: The headers that are sent by the browser are all that I am interested in at this point. I am just trying to figure out how to pass in some test data. You need a custom browser for that. Telnet is a nice one ;-) The reason for this is quite simple actually. Suppose that just any website could tell any browser from now on you will send this header, with 'this' being a unique identification. Sounds like something the EFF and the /. crowd would go rather nuts about, wouldn't they? Jochem ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Set HTTP Headers
Jeff, It may well be that PlumTree is manipulating the headers before calling third party pages but that doesn't necessarily mean it is doing it via CF code. You can do v.limited header manipulation using CFHTTP...well, you can set the user-agent header, and you can set some cookies but other than that I'm not aware of another way using purely CF. It is not that difficult to write a CFX or JSP Custom Tag...or indeed access java.net.URL class to open a connection to port 80 or whatever and then manually/programmatically create an HTTP request (including the desired headers) to another resource...well, its not that difficult if you know some Java, but may be you don't! As other people have suggested, a quick and dirty way of testing is to use Telnet and manually create the requests- headers included. How much work do you want to do? André -Original Message- From: Jeff Chastain [mailto:[EMAIL PROTECTED]] Sent: 18 February 2003 17:43 To: CF-Talk Subject: RE: Set HTTP Headers Okay, let me clear this up then, because setting http header variables can be done. I have an instance of a PlumTree portal sitting on a set of production servers. I am trying to put together another application that PlumTree can be nice and talk to. Now, PlumTree passes information from the portal itself to third party applications via the http header. So somehow the PlumTree portal is manipulating the http header before it calls my function. The http header when I receive it (i.e. I can dump the header variables and see the values) includes things like ... CSP-CAN-SET = 'Gadget,User' CSP-GATEWAY-TYPE = 'PlumTree' CSP-PROTOCOL-VERSION = '1.1' My function can then, through the use of getHttpRequestData, see/read/use these header values. I am attempting to test my function on a development box - separate from the PlumTree system - and was trying to figure out how to set these variables before calling my function - i.e. make it look like PlumTree is doing the calling. Hopefully this is more clear. Thanks -- Jeff -Original Message- From: Jochem van Dieten [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 11:23 AM To: CF-Talk Subject: Re: Set HTTP Headers Jeff Chastain wrote: The headers that are sent by the browser are all that I am interested in at this point. I am just trying to figure out how to pass in some test data. You need a custom browser for that. Telnet is a nice one ;-) The reason for this is quite simple actually. Suppose that just any website could tell any browser from now on you will send this header, with 'this' being a unique identification. Sounds like something the EFF and the /. crowd would go rather nuts about, wouldn't they? Jochem ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Set HTTP Headers
No, the PlumTree scripts are actually written in ASP. I did not mean to say that there 'had to be a way' in CF - that is what I was looking for. I will go investigate some of the other options - I just had not done any work with cfheader before and thought that was what it was for. Thanks -- Jeff -Original Message- From: Andre Mohamed [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 11:58 AM To: CF-Talk Subject: RE: Set HTTP Headers Jeff, It may well be that PlumTree is manipulating the headers before calling third party pages but that doesn't necessarily mean it is doing it via CF code. You can do v.limited header manipulation using CFHTTP...well, you can set the user-agent header, and you can set some cookies but other than that I'm not aware of another way using purely CF. It is not that difficult to write a CFX or JSP Custom Tag...or indeed access java.net.URL class to open a connection to port 80 or whatever and then manually/programmatically create an HTTP request (including the desired headers) to another resource...well, its not that difficult if you know some Java, but may be you don't! As other people have suggested, a quick and dirty way of testing is to use Telnet and manually create the requests- headers included. How much work do you want to do? André -Original Message- From: Jeff Chastain [mailto:[EMAIL PROTECTED]] Sent: 18 February 2003 17:43 To: CF-Talk Subject: RE: Set HTTP Headers Okay, let me clear this up then, because setting http header variables can be done. I have an instance of a PlumTree portal sitting on a set of production servers. I am trying to put together another application that PlumTree can be nice and talk to. Now, PlumTree passes information from the portal itself to third party applications via the http header. So somehow the PlumTree portal is manipulating the http header before it calls my function. The http header when I receive it (i.e. I can dump the header variables and see the values) includes things like ... CSP-CAN-SET = 'Gadget,User' CSP-GATEWAY-TYPE = 'PlumTree' CSP-PROTOCOL-VERSION = '1.1' My function can then, through the use of getHttpRequestData, see/read/use these header values. I am attempting to test my function on a development box - separate from the PlumTree system - and was trying to figure out how to set these variables before calling my function - i.e. make it look like PlumTree is doing the calling. Hopefully this is more clear. Thanks -- Jeff -Original Message- From: Jochem van Dieten [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 11:23 AM To: CF-Talk Subject: Re: Set HTTP Headers Jeff Chastain wrote: The headers that are sent by the browser are all that I am interested in at this point. I am just trying to figure out how to pass in some test data. You need a custom browser for that. Telnet is a nice one ;-) The reason for this is quite simple actually. Suppose that just any website could tell any browser from now on you will send this header, with 'this' being a unique identification. Sounds like something the EFF and the /. crowd would go rather nuts about, wouldn't they? Jochem ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFLOCK Error handling
Scott: The server scope is similar to the application scope, except server scope variables are available to every application/template on the machine. We sometimes use server scope variables for keeping application metrics here. Each time any of our applications detect the start or end of a session, we might increment or decrement a server variable that holds the count of the total number of sessions on the server...gives us a quick view of how busy a server is. Think of server level things like this. That's what the server scope is for. We use it to cache several registry entries we've set such as server names (ID on our network, not speciffically the server name), environments (for example dev,int,tst,prod), and architecture (firewall positioning, etc). The kind of stuff that's applicable to anything that runs on the box. Jim Davis ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
IIS Authentication
Has anyone had issues with IIS Authentication after upgrading to MX? None of my folder-level security is working now.. wah Thanks in advance. Candace K. Cottrell, Web Developer The Children's Medical Center One Children's Plaza Dayton, OH 45404 937-641-4293 http://www.childrensdayton.org [EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Set HTTP Headers
You can do v.limited header manipulation using CFHTTP... well, you can set the user-agent header, and you can set some cookies but other than that I'm not aware of another way using purely CF. You can set any request headers you want with CFHTTP, as long as you're willing to use METHOD=POST. You'd simply use CFHTTPPARAM with TYPE=CGI. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Set HTTP Headers
Dave - I am not 100% following you here. Could you provide an example? Thanks -- Jeff -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 1:13 PM To: CF-Talk Subject: RE: Set HTTP Headers You can do v.limited header manipulation using CFHTTP... well, you can set the user-agent header, and you can set some cookies but other than that I'm not aware of another way using purely CF. You can set any request headers you want with CFHTTP, as long as you're willing to use METHOD=POST. You'd simply use CFHTTPPARAM with TYPE=CGI. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Set HTTP Headers
I have an instance of a PlumTree portal sitting on a set of production servers. I am trying to put together another application that PlumTree can be nice and talk to. Now, PlumTree passes information from the portal itself to third party applications via the http header. So somehow the PlumTree portal is manipulating the http header before it calls my function. The http header when I receive it (i.e. I can dump the header variables and see the values) includes things like ... CSP-CAN-SET = 'Gadget,User' CSP-GATEWAY-TYPE = 'PlumTree' CSP-PROTOCOL-VERSION = '1.1' My function can then, through the use of getHttpRequestData, see/read/use these header values. I am attempting to test my function on a development box - separate from the PlumTree system - and was trying to figure out how to set these variables before calling my function - i.e. make it look like PlumTree is doing the calling. Again, a command-line HTTP client will do this just fine. I'd use netcat for this, since it'll let you write a text file with the headers you want. You can use netcat on Unix or Windows platforms. The Windows version is available here: http://www.atstake.com/research/tools/network_utilities/ Your text file might look something like this: GET /yourdirectory/yourfile.cfm HTTP/1.0 Host: www.yourserver.com Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, application/x-shockwave-flash, */* Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.0.3705) Connection: Keep-Alive Csp-Can-Set: 'Gadget,User' Csp-Gateway-Type: 'PlumTree' Csp-Protocol-Version: '1.1' You could then call it like this: nc -vv www.yourserver.com 80 yourheaders.txt Note that the quotes in your headers aren't standard; I just copied the values in your example. I don't know if they should be there or not. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Set HTTP Headers
You can set any request headers you want with CFHTTP, as long as you're willing to use METHOD=POST. You'd simply use CFHTTPPARAM with TYPE=CGI. Dave - I am not 100% following you here. Could you provide an example? cfhttp url=http://www.yourserver.com/yourdirectory/yourfile.cfm; method=post cfhttpparam type=cgi name=Host value=www.yourserver.com /cfhttp I seem to recall reading that you could send headers with CFHTTP using METHOD=GET if you chain them to the end of the USERAGENT parameter, too, but I haven't tried that myself. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: .mht files
I recently received a web page archive where all of the images that are in the webpage are contained in a single file (.mht - web archive file). Does anybody know if there are issues with posting this webpage as it is or must I convert the page to standard HTML? If by posting, you mean putting it on your web server so others can use it, you'll have to convert it to standard HTML if you want anyone to be able to use it without downloading the whole thing and viewing it in Internet Explorer, I think. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: IIS Authentication
You did go through all the TechNotes and Release Notes before updating, right? Uh-huhsure. :) Implementing NT Authentication with CFMX http://www.macromedia.com/v1/Handlers/index.cfm?ID=23741Method=Full For future reference KB Search Page http://www.macromedia.com/v1/support/knowledgebase/searchform.cfm General list of Server KBs (watch the wrap) http://www.macromedia.com/v1/support/KnowledgeBase/search.cfm?SEARCHMETHOD= orSEARCHSTRING=FILTERKEYWORDS=650 Security bulletins http://www.macromedia.com/v1/developer/securityzone/securitybulletins.cfm -Original Message- From: Candace Cottrell [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 12:37 PM To: CF-Talk Subject: IIS Authentication Has anyone had issues with IIS Authentication after upgrading to MX? None of my folder-level security is working now.. wah Thanks in advance. Candace K. Cottrell, Web Developer The Children's Medical Center One Children's Plaza Dayton, OH 45404 937-641-4293 http://www.childrensdayton.org [EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: IIS Authentication
I think I just figured out that these two really don't play nice together and there isn't anything I can do. Candace K. Cottrell, Web Developer The Children's Medical Center One Children's Plaza Dayton, OH 45404 937-641-4293 http://www.childrensdayton.org [EMAIL PROTECTED] [EMAIL PROTECTED] 2/18/2003 1:36:55 PM Has anyone had issues with IIS Authentication after upgrading to MX? None of my folder-level security is working now.. wah Thanks in advance. Candace K. Cottrell, Web Developer The Children's Medical Center One Children's Plaza Dayton, OH 45404 937-641-4293 http://www.childrensdayton.org [EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: IIS Authentication
Has anyone had issues with IIS Authentication after upgrading to MX? None of my folder-level security is working now.. wah There's a different DLL used to integrate IIS with CF, and you'll need to set permissions on that DLL appropriately. In addition, there are two ways you can integrate IIS with CFMX - using an ISAPI filter, or using an ISAPI extension. I imagine that using the filter may bypass IIS security in some situations, while using the extension should not. You may wish to configure your IIS connector to act as an extension instead of a filter, if you haven't already. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CF Studio adjustment
When I have autocomplete enabled (which is often as it speeds my coding) and I start an input tag I get to the attribute type, which gives me a list (Hidden, Text, etc.). How can I force these values to lower case? Is there a file I can adjust? cutter ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: IIS Authentication
Are you running CFMX as a filter or as an ISAPI extension? If you are running it as a filter, check out the following MM security update... http://www.macromedia.com/v1/handlers/index.cfm?ID=23734 I'm guessing that's your problem. HTH, Jeff Garza - Original Message - From: Candace Cottrell [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, February 18, 2003 11:36 AM Subject: IIS Authentication Has anyone had issues with IIS Authentication after upgrading to MX? None of my folder-level security is working now.. wah Thanks in advance. Candace K. Cottrell, Web Developer The Children's Medical Center One Children's Plaza Dayton, OH 45404 937-641-4293 http://www.childrensdayton.org [EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Replacing Apostrophes Quotes
What tricks does everyone use to replace apostrophes quotes from forms? Thanks! Scott Scott Wilhelm Computer Technician/Web Developer St. Lawrence-Lewis BOCES PO Box 231, Outer State Street Canton, NY 13617 P. 315-386-4504 x 164 F. 315-386-3395 W. http://www.sllboces.org E.[EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: IIS Authentication
what problems are you having? Kevin. - Original Message - From: Candace Cottrell [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, February 18, 2003 2:29 PM Subject: Re: IIS Authentication I think I just figured out that these two really don't play nice together and there isn't anything I can do. Candace K. Cottrell, Web Developer The Children's Medical Center One Children's Plaza Dayton, OH 45404 937-641-4293 http://www.childrensdayton.org [EMAIL PROTECTED] [EMAIL PROTECTED] 2/18/2003 1:36:55 PM Has anyone had issues with IIS Authentication after upgrading to MX? None of my folder-level security is working now.. wah Thanks in advance. Candace K. Cottrell, Web Developer The Children's Medical Center One Children's Plaza Dayton, OH 45404 937-641-4293 http://www.childrensdayton.org [EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF Studio adjustment
options/settings/Markup Languages/Lowercase all inserted tags David Murphy www.cfugcny.org = = = Original message = = = When I have autocomplete enabled (which is often as it speeds my coding) and I start an input tag I get to the attribute type, which gives me a list (Hidden, Text, etc.). How can I force these values to lower case? Is there a file I can adjust? cutter ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFHTTP
Hi all, How do I pass the following CFHTTP only when a text link is clicked? I tried wrapping it in a a href=/a but I couldn't get it to work. Should I be doing this some other way besides cfhttp? What I want to do is pass hidden vars between servers (not using plain hidden fields inside a form which can be exposed). cfhttp url=https://www.somesite.com/default1.cfm; method=post resolveurl=yes cfhttpparam type=url name=p value=C197EBA6-EFF2-4A28-85ABDC3EEEA6CECA cfhttpparam type=url name=a value=aTestString cfhttpparam type=url name=s value=sTestString /cfhttp Thanks, Mark ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CF Studio adjustment
There is a checkbox under Markup Language. Options - Settings - MarkupLanguage. Rick -Original Message- From: Cutter (CF_Talk) [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 4:46 PM To: CF-Talk Subject: CF Studio adjustment When I have autocomplete enabled (which is often as it speeds my coding) and I start an input tag I get to the attribute type, which gives me a list (Hidden, Text, etc.). How can I force these values to lower case? Is there a file I can adjust? cutter ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Replacing Apostrophes Quotes
Use htmlEditFormat whenever you want to display data that you don't want interpreted as HTML. eg. input type=text value=#htmlEditFormat(thisField)# - Original Message - From: Scott Wilhelm [EMAIL PROTECTED] Date: Tuesday, February 18, 2003 12:39 pm Subject: Replacing Apostrophes Quotes What tricks does everyone use to replace apostrophes quotes from forms? Thanks! Scott Scott Wilhelm Computer Technician/Web Developer St. Lawrence-Lewis BOCES PO Box 231, Outer State Street Canton, NY 13617 P. 315-386-4504 x 164 F. 315-386-3395 W. http://www.sllboces.org E.[EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
days in a month
Hello. I'm trying to simplify the code for a drop down list of total # of possible days in a month (31). to look something like what I'm using to display months in a year, which looks like this: select name=firstmonth size=1 cfloop index=firstmonth FROM=1 TO=12 cfoutput option value=#firstmonth##MonthasString(firstmonth)# /cfoutput /cfloop /option /select I tried the code below but it only returns the number 31 in the drop down box (I'm not sure this function was meant for this type of thing anyway): select name=firstday cfloop index=firstday FROM=1 TO=31 cfoutput option value=#firstday##daysinmonth(firstday)# /cfoutput /cfloop /option /select Tim ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFHTTP
How do I pass the following CFHTTP only when a text link is clicked? I tried wrapping it in a a href=/a but I couldn't get it to work. Should I be doing this some other way besides cfhttp? What I want to do is pass hidden vars between servers (not using plain hidden fields inside a form which can be exposed). When the user clicks the link, you can send them to a page which runs the CFHTTP tag. That's about it, really. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: days in a month
You are calling the daysInMonth function on a number, not a real date, and you don't need it anyway. Just change the option line to option value=#firstday##firstday#/option === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc Member of Team Macromedia Email: [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Tim Laureska [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 2:25 PM To: CF-Talk Subject: days in a month Hello. I'm trying to simplify the code for a drop down list of total # of possible days in a month (31). to look something like what I'm using to display months in a year, which looks like this: select name=firstmonth size=1 cfloop index=firstmonth FROM=1 TO=12 cfoutput option value=#firstmonth##MonthasString(firstmonth)# /cfoutput /cfloop /option /select I tried the code below but it only returns the number 31 in the drop down box (I'm not sure this function was meant for this type of thing anyway): select name=firstday cfloop index=firstday FROM=1 TO=31 cfoutput option value=#firstday##daysinmonth(firstday)# /cfoutput /cfloop /option /select Tim ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: IIS Authentication
Thanks, I appreciate it, but I have already done what they suggest: Modify Application Mappings Right-click on the applicable web site. Select Properties. Navigate to Home Directory tab. Click on the Configuration button. On the App Mappings tab, double-click on the .cfm mapping. On the Add/Edit Application Extension Mapping tab, check the Check that file exists checkbox. Click OK. Repeat this step for all other extensions that are subject to NT Authentication. For example .cfc, .cfml, or .dbm. Once all necessary extensions have been adjusted, please make sure to click on Apply under the App Mappings tab. Click OK. Click OK on the Home Directory Tab. This is to ensure that all your changes will take effect. Repeat steps A-K for all web sites that need to use NT Authentication for ColdFusion pages. Candace K. Cottrell, Web Developer The Children's Medical Center One Children's Plaza Dayton, OH 45404 937-641-4293 http://www.childrensdayton.org [EMAIL PROTECTED] [EMAIL PROTECTED] 2/18/2003 2:36:22 PM You did go through all the TechNotes and Release Notes before updating, right? Uh-huhsure. :) Implementing NT Authentication with CFMX http://www.macromedia.com/v1/Handlers/index.cfm?ID=23741Method=Full For future reference KB Search Page http://www.macromedia.com/v1/support/knowledgebase/searchform.cfm General list of Server KBs (watch the wrap) http://www.macromedia.com/v1/support/KnowledgeBase/search.cfm?SEARCHMETHOD= orSEARCHSTRING=FILTERKEYWORDS=650 Security bulletins http://www.macromedia.com/v1/developer/securityzone/securitybulletins.cfm -Original Message- From: Candace Cottrell [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 12:37 PM To: CF-Talk Subject: IIS Authentication Has anyone had issues with IIS Authentication after upgrading to MX? None of my folder-level security is working now.. wah Thanks in advance. Candace K. Cottrell, Web Developer The Children's Medical Center One Children's Plaza Dayton, OH 45404 937-641-4293 http://www.childrensdayton.org [EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: IIS Authentication
Even after making all the necessary technoted changes, my supposed-to-be-secure pages are still accessible w/ no login. I have rebooted, restarted IIS, CFMX, you name it. I will just build some simple file logins until I can integrate a better system. Candace K. Cottrell, Web Developer The Children's Medical Center One Children's Plaza Dayton, OH 45404 937-641-4293 http://www.childrensdayton.org [EMAIL PROTECTED] [EMAIL PROTECTED] 2/18/2003 2:40:23 PM what problems are you having? Kevin. - Original Message - From: Candace Cottrell [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, February 18, 2003 2:29 PM Subject: Re: IIS Authentication I think I just figured out that these two really don't play nice together and there isn't anything I can do. Candace K. Cottrell, Web Developer The Children's Medical Center One Children's Plaza Dayton, OH 45404 937-641-4293 http://www.childrensdayton.org [EMAIL PROTECTED] [EMAIL PROTECTED] 2/18/2003 1:36:55 PM Has anyone had issues with IIS Authentication after upgrading to MX? None of my folder-level security is working now.. wah Thanks in advance. Candace K. Cottrell, Web Developer The Children's Medical Center One Children's Plaza Dayton, OH 45404 937-641-4293 http://www.childrensdayton.org [EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: days in a month
cfset theMonth = 1 select name=firstday cfloop index=theDay FROM=1 TO=#daysinmonth(theMonth)# cfoutput option value=#theDay##theDay# /cfoutput /cfloop /option /select - Original Message - From: Tim Laureska [EMAIL PROTECTED] Date: Tuesday, February 18, 2003 1:24 pm Subject: days in a month Hello. I'm trying to simplify the code for a drop down list of total # of possible days in a month (31). to look something like what I'm usingto display months in a year, which looks like this: select name=firstmonth size=1 cfloop index=firstmonth FROM=1 TO=12 cfoutput option value=#firstmonth##MonthasString(firstmonth)# /cfoutput /cfloop /option /select I tried the code below but it only returns the number 31 in the drop down box (I'm not sure this function was meant for this type of thing anyway): select name=firstday cfloop index=firstday FROM=1 TO=31 cfoutput option value=#firstday##daysinmonth(firstday)# /cfoutput /cfloop /option /select Tim ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: days in a month
tim.. select name=monthList cfloop from=1 to=#DaysInMonth(dateFormat(Now(),'mm/y'))# index=i step=1 cfoutput option value=#i##i# /cfoutput /cfloop /select try this... ...tony Tony Weeg Senior Web Developer UnCertified Advanced ColdFusion Developer Information System Design Navtrak, Inc. Mobile workforce monitoring, mapping reporting www.navtrak.net 410.548.2337 -Original Message- From: Tim Laureska [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 3:25 PM To: CF-Talk Subject: days in a month Hello. I'm trying to simplify the code for a drop down list of total # of possible days in a month (31). to look something like what I'm using to display months in a year, which looks like this: select name=firstmonth size=1 cfloop index=firstmonth FROM=1 TO=12 cfoutput option value=#firstmonth##MonthasString(firstmonth)# /cfoutput /cfloop /option /select I tried the code below but it only returns the number 31 in the drop down box (I'm not sure this function was meant for this type of thing anyway): select name=firstday cfloop index=firstday FROM=1 TO=31 cfoutput option value=#firstday##daysinmonth(firstday)# /cfoutput /cfloop /option /select Tim ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: days in a month
Daysinmonth() requires a date as a parameter. It'll give you the number of days for the relevant month. E.g. daysinmonth(now()) = 28. For your code, you probably don't know which month so it's best left as 31 I'm guessing. - Original Message - From: Tim Laureska [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, February 19, 2003 9:24 AM Subject: days in a month Hello. I'm trying to simplify the code for a drop down list of total # of possible days in a month (31). to look something like what I'm using to display months in a year, which looks like this: select name=firstmonth size=1 cfloop index=firstmonth FROM=1 TO=12 cfoutput option value=#firstmonth##MonthasString(firstmonth)# /cfoutput /cfloop /option /select I tried the code below but it only returns the number 31 in the drop down box (I'm not sure this function was meant for this type of thing anyway): select name=firstday cfloop index=firstday FROM=1 TO=31 cfoutput option value=#firstday##daysinmonth(firstday)# /cfoutput /cfloop /option /select Tim ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF Studio adjustment
David, Thanks, but this option is already selected in the editor. I guess that only applies to the tag name itself. Cutter [EMAIL PROTECTED] wrote: options/settings/Markup Languages/Lowercase all inserted tags David Murphy www.cfugcny.org = = = Original message = = = When I have autocomplete enabled (which is often as it speeds my coding) and I start an input tag I get to the attribute type, which gives me a list (Hidden, Text, etc.). How can I force these values to lower case? Is there a file I can adjust? cutter ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
OT: subdomain config in IIS?
Hi all, could someone give me some help on how to do a subdomain (such as insecure.blah.com) inside of a top level domain? I did this once before a long time ago and unfortunately have forgotten how I did it in the interim. I tried doing it with dns, where blah.com goes to one IP. Created blah.blah.com and pointed that to a different IP, then created a different web site in IIS for that IP, with different root folders etc. It resolves just fine, pings and traces properly to the IP but if I try it in the browser I get dumped off to my default web site's home page. Thx, --- Matt Robertson, [EMAIL PROTECTED] MSB Designs, Inc. http://mysecretbase.com --- ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: days in a month
Thanks to all that responded... Raymond yours appeared the easiest... I need to understand loops better or something, that was just too easy... If someone would humor me or is real bored, could you explain why/mechanics of how this works to produce the number list 1-31: select name=firstday cfloop index=firstday FROM=1 TO=31 cfoutput option value=#firstday##firstday#/option /cfoutput /cfloop /option /select -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 3:18 PM To: CF-Talk Subject: RE: days in a month You are calling the daysInMonth function on a number, not a real date, and you don't need it anyway. Just change the option line to option value=#firstday##firstday#/option === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc Member of Team Macromedia Email: [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Tim Laureska [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 2:25 PM To: CF-Talk Subject: days in a month Hello. I'm trying to simplify the code for a drop down list of total # of possible days in a month (31). to look something like what I'm using to display months in a year, which looks like this: select name=firstmonth size=1 cfloop index=firstmonth FROM=1 TO=12 cfoutput option value=#firstmonth##MonthasString(firstmonth)# /cfoutput /cfloop /option /select I tried the code below but it only returns the number 31 in the drop down box (I'm not sure this function was meant for this type of thing anyway): select name=firstday cfloop index=firstday FROM=1 TO=31 cfoutput option value=#firstday##daysinmonth(firstday)# /cfoutput /cfloop /option /select Tim ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: subdomain config in IIS?
Try setting up host headers for that site then in IIS... Scott -Original Message- From: Matt Robertson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 3:38 PM To: CF-Talk Subject: OT: subdomain config in IIS? Hi all, could someone give me some help on how to do a subdomain (such as insecure.blah.com) inside of a top level domain? I did this once before a long time ago and unfortunately have forgotten how I did it in the interim. I tried doing it with dns, where blah.com goes to one IP. Created blah.blah.com and pointed that to a different IP, then created a different web site in IIS for that IP, with different root folders etc. It resolves just fine, pings and traces properly to the IP but if I try it in the browser I get dumped off to my default web site's home page. Thx, --- Matt Robertson, [EMAIL PROTECTED] MSB Designs, Inc. http://mysecretbase.com --- ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: days in a month
To make things easier, let's remove the HTML and just do: cfloop index=firstday from=1 to=31 cfoutput#firstday#/cfoutput /cfloop This looks much simpler, right? The mechanics of this is very simple. The CFLOOP tag simply says to loop from one number to another. In this case, it is from 1 to 31. The index=firstday means that CF should create a variable, named firstDay, that will hold the current index of the loop. Make sense? === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc Member of Team Macromedia Email: [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Tim Laureska [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 2:55 PM To: CF-Talk Subject: RE: days in a month Thanks to all that responded... Raymond yours appeared the easiest... I need to understand loops better or something, that was just too easy... If someone would humor me or is real bored, could you explain why/mechanics of how this works to produce the number list 1-31: select name=firstday cfloop index=firstday FROM=1 TO=31 cfoutput option value=#firstday##firstday#/option /cfoutput /cfloop /option /select -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 3:18 PM To: CF-Talk Subject: RE: days in a month You are calling the daysInMonth function on a number, not a real date, and you don't need it anyway. Just change the option line to option value=#firstday##firstday#/option == = Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc Member of Team Macromedia Email: [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Tim Laureska [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 2:25 PM To: CF-Talk Subject: days in a month Hello. I'm trying to simplify the code for a drop down list of total # of possible days in a month (31). to look something like what I'm using to display months in a year, which looks like this: select name=firstmonth size=1 cfloop index=firstmonth FROM=1 TO=12 cfoutput option value=#firstmonth##MonthasString(firstmonth)# /cfoutput /cfloop /option /select I tried the code below but it only returns the number 31 in the drop down box (I'm not sure this function was meant for this type of thing anyway): select name=firstday cfloop index=firstday FROM=1 TO=31 cfoutput option value=#firstday##daysinmonth(firstday)# /cfoutput /cfloop /option /select Tim ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF Studio adjustment
That's bizarre, it works like you would expect it to on my version of Studio (5.0). If I unckeck it all my attributes are in ALL CAPS. DM = = = Original message = = = David, Thanks, but this option is already selected in the editor. I guess that only applies to the tag name itself. Cutter [EMAIL PROTECTED] wrote: options/settings/Markup Languages/Lowercase all inserted tags David Murphy www.cfugcny.org = = = Original message = = = When I have autocomplete enabled (which is often as it speeds my coding) and I start an input tag I get to the attribute type, which gives me a list (Hidden, Text, etc.). How can I force these values to lower case? Is there a file I can adjust? cutter ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: -OT- Passing Javascript variables
At 04:40 PM 2/17/03 -0500, Ben Doom wrote: It depends on what you mean by 'pass this variable back.' If you just want to stick it in, for example, a hidden form field you could do opener.document.myform.myfield.value = document.popupform.popupfield.value; window.close(); Thanks. That solved it for me. T ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CF Studio adjustment
\program files\macromedia\cfstudio\extensions\tagdefs\html\Input.vtm a little bit down in the file... (line 528 actually) check it... replace whats there with... ATTRIB NAME=TYPE CONTROL=tabInputType TYPE=Enumerated ATTRIBOPTION VALUE=text CAPTION=Text/ ATTRIBOPTION VALUE=password CAPTION=Password/ ATTRIBOPTION VALUE=radio CAPTION=Radio/ ATTRIBOPTION VALUE=checkbox CAPTION=Checkbox/ ATTRIBOPTION VALUE=image CAPTION=Image/ ATTRIBOPTION VALUE=file CAPTION=File/ ATTRIBOPTION VALUE=hidden CAPTION=Hidden/ ATTRIBOPTION VALUE=button CAPTION=Button/ ATTRIBOPTION VALUE=submit CAPTION=Submit/ ATTRIBOPTION VALUE=reset CAPTION=Reset/ /ATTRIB :) works for me. ...tony Tony Weeg Senior Web Developer UnCertified Advanced ColdFusion Developer Information System Design Navtrak, Inc. Mobile workforce monitoring, mapping reporting www.navtrak.net 410.548.2337 -Original Message- From: Cutter (CF_Talk) [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 6:47 PM To: CF-Talk Subject: Re: CF Studio adjustment David, Thanks, but this option is already selected in the editor. I guess that only applies to the tag name itself. Cutter [EMAIL PROTECTED] wrote: options/settings/Markup Languages/Lowercase all inserted tags David Murphy www.cfugcny.org = = = Original message = = = When I have autocomplete enabled (which is often as it speeds my coding) and I start an input tag I get to the attribute type, which gives me a list (Hidden, Text, etc.). How can I force these values to lower case? Is there a file I can adjust? cutter ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: IIS Authentication
Candace Cottrell wrote: Even after making all the necessary technoted changes, my supposed-to-be-secure pages are still accessible w/ no login. I have rebooted, restarted IIS, CFMX, you name it. I will just build some simple file logins until I can integrate a better system. Try removing the Jrun filter (keep the script mappings though). Jesse ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: days in a month
tim the value of whatever you set the index parameter to ends up equaling the iteration that the value of the loop is. ...tony Tony Weeg Senior Web Developer UnCertified Advanced ColdFusion Developer Information System Design Navtrak, Inc. Mobile workforce monitoring, mapping reporting www.navtrak.net 410.548.2337 -Original Message- From: Tim Laureska [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 3:55 PM To: CF-Talk Subject: RE: days in a month Thanks to all that responded... Raymond yours appeared the easiest... I need to understand loops better or something, that was just too easy... If someone would humor me or is real bored, could you explain why/mechanics of how this works to produce the number list 1-31: select name=firstday cfloop index=firstday FROM=1 TO=31 cfoutput option value=#firstday##firstday#/option /cfoutput /cfloop /option /select -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 3:18 PM To: CF-Talk Subject: RE: days in a month You are calling the daysInMonth function on a number, not a real date, and you don't need it anyway. Just change the option line to option value=#firstday##firstday#/option === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc Member of Team Macromedia Email: [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Tim Laureska [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 2:25 PM To: CF-Talk Subject: days in a month Hello. I'm trying to simplify the code for a drop down list of total # of possible days in a month (31). to look something like what I'm using to display months in a year, which looks like this: select name=firstmonth size=1 cfloop index=firstmonth FROM=1 TO=12 cfoutput option value=#firstmonth##MonthasString(firstmonth)# /cfoutput /cfloop /option /select I tried the code below but it only returns the number 31 in the drop down box (I'm not sure this function was meant for this type of thing anyway): select name=firstday cfloop index=firstday FROM=1 TO=31 cfoutput option value=#firstday##daysinmonth(firstday)# /cfoutput /cfloop /option /select Tim ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
[RESOLVED]: CF Studio adjustment
Now I found it. Looking in the wrong folder at the wrong file altogether. cutter Cutter (CF_Talk) wrote: David, Thanks, but this option is already selected in the editor. I guess that only applies to the tag name itself. Cutter [EMAIL PROTECTED] wrote: options/settings/Markup Languages/Lowercase all inserted tags David Murphy www.cfugcny.org = = = Original message = = = When I have autocomplete enabled (which is often as it speeds my coding) and I start an input tag I get to the attribute type, which gives me a list (Hidden, Text, etc.). How can I force these values to lower case? Is there a file I can adjust? cutter ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFTransaction and looping through multiple inserts
At 02:52 PM 2/18/03 +, Andre Mohamed wrote: Thane, No need to have a separate CommitWrite variable. Just do this: cftransaction!--- Begin is implied --- cftry cfloop ...DB Inserts here... /cfloop cfcatch type=Database cftransaction action=rollback/ /cfcatch /cftry /cftransaction!--- Commit is implied --- Provided you want all inserts to be performed or none at all...otherwise you need to adjust where the loop is etc. Ok. Thanks. T ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4