Re: OT: Server Hardware
The Celeron 2.6 does not have Hyperthreading...for about $100 more you can get the a regular 2.4 w/hyperthreading, well worth it for the apps you are going to be running. Like others have said though, you are going to be memory bound long before you are CPU bound. -- mailto:[EMAIL PROTECTED] Monday, October 13, 2003, 9:29:03 PM, you wrote: YA Hello, YA I'm looking into buying a new box and I was wondering if anyone has any YA comments/suggestions on the following: YA Price is an issue, so this is the main guts of the server I've been YA looking at... YA Intel Celeron 2.6GHz Processor YA 1GB PC2700 DDR Memory YA (2) 120GB ATA100 RAID Hard Drives YA ATA100 IDE RAID Controller Card YA This would be running on a Linux OS, probably either RedHat or Debian. YA I would also be purchasing a CFMX 6.1 license, our new project demands YA verity so I believe that eliminates BlueDragon(if I find out otherwise I YA will be looking at each as a possible option). YA Also, I would be using MySQL and/or PostgreSQL on this same box. YA Has anyone had experiencing running servers with Celeron processors? YA Would there be any difference between a Celeron processor or P4? YA (besides slight difference in processing speed) YA Anything at all? YA :-) YA There is another box that I've seen with a comparable price, with a P4 YA 2.4GHz, slightly more expensive and with 512MB less RAM. That is YA probably my second option. YA TIA, [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
CF Problem with Langauges (??)
Hi all! Lately I have changed my Cold Fusion host to one abroad (outside Greece). Eversince I am trying to make Greek appear propertly on my pages. Although I have managed to make most pages appear ok in Greek, I still haven't managed to do the same with pages that use the CFSearch tag. Although my host has installed the European/Asian Language Pack, replaced their cfxneo.dll (under c:\cfusionMX\lib\) with the double byted cfxneo from the MM website and restarted all their Cold Fusion services, I still can't retrieve search results in Greek properly. I hardcoded the search term (which is in Greek) on cfsearch tag in order to be sure that the encoding does not get lost after the FORM posting takes place but still nothing was retrieved. The same web page on my server here, runs great (I used the same verity collection, by replacing the files that verity created for my collection on the host computer with the ones it created on my server, just to be sure that it is not a cfindex fault). The cfm page that uses CFSEARCH also uses these encoding lines at its top cfprocessingdirective pageencoding=iso-8859-7 cfcontent type=text/html; charset=iso-8859-7 (iso-8859-7 is for Greek encoding) The Greek characters are all represented by question marks (?? ?? ??? ... etc) which I believe means that character information has been lost. I also noticed that when I changed cfcontent to cfcontent type=text/html; charset=utf-8 Greek again didn't come out right, but instead of question marks, different characters were returned (Ie ?aneanaoYo oui ni?i ... etc). That seemed more promising. I realise that both cftags should be pointing at the same encoding values, cause one determines the output encoding while the other sets the encoding of the data which forms the page content. Furthermore we changed their default Java Encoding to Greek as well, but that still didn;t do any good. (all of the above were tested by using null as a search string since Greek words returned no results on my host) After everything I have tried I can't come to the conclusion whether it is a verity problem or not. The only problems I get are on the pages that use the Cfsearch tag and only on my host. Everything works great on my computer. I run out of ideas! Don;t know what to try next, so if anyone can help, will be a life saviour to me! Thanks in advance, Stavros ___ Join Excite! - http://www.excite.com The most personalized portal on the Web! [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re:CF Problem with Langauges (??)
The Greek characters are all represented by question marks (?? ?? ??? ... etc) which I believe means that character Don't know if its related (you don't mention any database) but as far as MySQL + CFMX is concerned, you need to add this in the connection string of your Data Source (if using a MySQL database) useUnicode=truecharacterEncoding=iso-8859-1 HTH - mga [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: OT: Server Hardware
Yves Arsenault wrote: Intel Celeron 2.6GHz Processor 1GB PC2700 DDR Memory Use ECC. Or at the very least run memtest86 for a few dozen cycles when the system is delivered. (2) 120GB ATA100 RAID Hard Drives Run badblocks through a few cycles when the system is delivered. ATA100 IDE RAID Controller Card How many channels? Which RAID type? Anything at all? What load do you expect? What database size? How large are the collections you want to index? Jochem [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re:CF Problem with Langauges (??)
Thanks Mauricio for the tip, but no database is involved in this. Only verity's CFSEARCH and I am really not certain whether the problem is in CFSEARCH, or CF encoding, or JVM Encoding or even on the host computers locale settings. But thanks for the Tip, it will come in handy definately! Stavros [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: flash remoting and dotted directories
Why is using a Flash site to talk to MySQl via CFCs a wierd config ? -Original Message- From: Mauricio Giraldo [mailto:[EMAIL PROTECTED] Sent: 14 October 2003 03:26 To: CF-Talk Subject: flash remoting and dotted directories Hi I am developing a flash-based site that uses CFCs to communicate with a MySQL database under Windows (yea... I know it's a weird config). Right now we have the site under a name-based hosting provider (I know there are other CFMX ISPs out there... I didn't choose...). http://siteIP/flashservices/gateway http://siteIP/flashservices/gateway is returning a blank page (good news... Remoting is up). However, our site is under something like H:/username/site.dot.com/ (note the dots in my directory name). The problem is: Do you have any tips for mapping my CFCs in Flash? I am trying something like: NetServices.setDefaultGatewayUrl(http://siteIP/flashservices/gateway); this.conn = NetServices.createGatewayConnection(); this.service = this.conn.getService(cfc.cfcname,this); Suppose there is a directory named cfc in which all CFCs are stored (cfc is inside site.dot.com). Any help will be appreciated Mauricio _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: List with commas
Did you try the #listqualify()# function? -- Original Message -- From: Jones, Becky [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date:Thu, 9 Oct 2003 12:37:57 -0400 that did it! thank u so much! -Original Message- From: Scott Weikert [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2003 12:33 PM To: CF-Talk Subject: Re: List with commas At 10:25 AM 10/9/2003, you wrote: Hi, I want to do something that seems like it should be easy, but i cant figure it out. i want to take my query results and output it with double quotes around each item with a comma seperated inbetween. Any help would be appreciated.My query returns a bunch of tiles.i want it to output like so: Test 1, Test 2, Test 3 cfset NewList = cfloop query=yourquery cfset NewList = ListAppend(NewList, '' variablename '') /cfloop In case it's tough to read, that's singlequote-doublequote-singlequote around variablename. Or, you could do a normal NewList = ValueList(queryname.variablename), then Replace(NewList, ',', ',', 'all') then cfset NewList = '' NewList '' _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: OT: Server Hardware
I agree, there's insufficient reason to use Celeron chips, especially in a server (I wouldn't even get one for a workstation). I consider them to be less than desirable for all uses, I'd find somewhere else to cut that 100. - Calvin - Original Message - From: [EMAIL PROTECTED] To: CF-Talk Sent: Tuesday, October 14, 2003 2:34 AM Subject: Re: OT: Server Hardware The Celeron 2.6 does not have Hyperthreading...for about $100 more you can get the a regular 2.4 w/hyperthreading, well worth it for the apps you are going to be running. Like others have said though, you are going to be memory bound long before you are CPU bound. -- mailto:[EMAIL PROTECTED] Monday, October 13, 2003, 9:29:03 PM, you wrote: YA Hello, YA I'm looking into buying a new box and I was wondering if anyone has any YA comments/suggestions on the following: YA Price is an issue, so this is the main guts of the server I've been YA looking at... YA Intel Celeron 2.6GHz Processor YA 1GB PC2700 DDR Memory YA (2) 120GB ATA100 RAID Hard Drives YA ATA100 IDE RAID Controller Card YA This would be running on a Linux OS, probably either RedHat or Debian. YA I would also be purchasing a CFMX 6.1 license, our new project demands YA verity so I believe that eliminates BlueDragon(if I find out otherwise I YA will be looking at each as a possible option). YA Also, I would be using MySQL and/or PostgreSQL on this same box. YA Has anyone had experiencing running servers with Celeron processors? YA Would there be any difference between a Celeron processor or P4? YA (besides slight difference in processing speed) YA Anything at all? YA :-) YA There is another box that I've seen with a comparable price, with a P4 YA 2.4GHz, slightly more expensive and with 512MB less RAM. That is YA probably my second option. YA TIA, [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
developing java cfx
According the the CF docs reload=always is supposed to keep me from having to restart CF everytime I recompile my cfx tag, but it doesn't seem to be working. How do you guys do it? -- mailto:[EMAIL PROTECTED] [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: developing java cfx
I restart CF, reload=always doesn't appear to work at all -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 14 October 2003 10:28 To: CF-Talk Subject: developing java cfx According the the CF docs reload=always is supposed to keep me from having to restart CF everytime I recompile my cfx tag, but it doesn't seem to be working. How do you guys do it? -- mailto:[EMAIL PROTECTED] _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: developing java cfx
This is a known issue, no way around it as far as I recall other than getting your code right first time :-) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 14 October 2003 10:28 To: CF-Talk Subject: developing java cfx According the the CF docs reload=always is supposed to keep me from having to restart CF everytime I recompile my cfx tag, but it doesn't seem to be working. How do you guys do it? -- mailto:[EMAIL PROTECTED] _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: developing java cfx
No wonder those Java guys get paid so much! -- mailto:[EMAIL PROTECTED] Tuesday, October 14, 2003, 6:43:47 AM, you wrote: AM This is a known issue, no way around it as far as I recall other than AM getting your code right first time :-) AM -Original Message- AM From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] AM Sent: 14 October 2003 10:28 AM To: CF-Talk AM Subject: developing java cfx AM According the the CF docs reload=always is supposed to keep me from AM having to restart CF everytime I recompile my cfx tag, but it doesn't AM seem to be working. How do you guys do it? [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Secure email
Off the top of everybodies heads, can they think of an easy way of sending secure email from Coldfusion MX, or is it something the email server handles? Ta very much Neil [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Counting Mail Messages In A Folder
Are the messages actual files or are they stored in some sort of exchange like database? If they are actual files, then it should be easy using cfdirectory alone,the windows file system as Brook suggested or even with java (java.io.File). You'll just need to done a little recursion inside the mail store folder, not hard at all. This custom tag recurses through an entire dir tree and returns a query which you could then use QoQ on easily. Calling Page -- cfset basedir = c:\mailroot\ cf_dir basedir = #basedir# cfdump var=#request.filelist# TAG (save as dir.cfm) - cfparam name=request.filelist default=#QueryNew('Filename,FileDate,Size')# cfdirectory action="" directory=#attributes.basedir# name=list cfloop query=list cfif type is File cfscript QueryAddRow(request.filelist); QuerySetCell(request.filelist,FileName,#attributes.basedir##name#); QuerySetCell(request.filelist,FileDate,#DateLastModified#); QuerySetCell(request.filelist,Size,#Size#); /cfscript cfelse cfif NOT (name is . or name is ..) cf_dir basedir = #attributes.basedir##name#\ /cfif /cfif /cfloop -Original Message- From: Gerry Pauline [mailto:[EMAIL PROTECTED] Sent: 13 October 2003 22:26 To: CF-Talk Subject: Counting Mail Messages In A Folder CF-Pros: We have several report utilities written in CF to report on our e-mail system, Ipswitches iMail. We've been asked to look into a utility (acquire/build) to count the number of messages in each folder. Questions: * What is the delimiter for messages in a folder (is it the same for all mail servers, or unique to a particular mailer, again, we use Ipswitches's iMail, latest version) * I believe some of you are iMail users, anyone aware of utility similar to what we are interested in ? Thank you. -Gerry Gerard T. Pauline Computer Systems, DoIT Pace University _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Secure email
On Tuesday 14 Oct 2003 13:08 pm, [EMAIL PROTECTED] wrote: Off the top of everybodies heads, can they think of an easy way of sending secure email from Coldfusion MX, or is it something the email server handles? I'm sure there are plenty of PGP custom tags out there. 'course, it depends what you mean by 'secure' :-) -- Tom Chiverton Advanced ColdFusion Programmer Tel: +44(0)1749 834997 email: [EMAIL PROTECTED] BlueFinger Limited Underwood Business Park Wookey Hole Road, WELLS. BA5 1AF Tel: +44 (0)1749 834900 Fax: +44 (0)1749 834901 web: www.bluefinger.com Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple Quay, BRISTOL. BS1 6EG. *** This E-mail contains confidential information for the addressee only. If you are not the intended recipient, please notify us immediately. You should not use, disclose, distribute or copy this communication if received in error. No binding contract will result from this e-mail until such time as a written document is signed on behalf of the company. BlueFinger Limited cannot accept responsibility for the completeness or accuracy of this message as it has been transmitted over public networks.*** [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CF Problem with Langauges (??)
Here's some info on using Verity with international languagues: http://livedocs.macromedia.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/indexSearch2.htm Don't know if that helps or not, but perhaps it will guide you in the right direction? HTH -Ryan -Original Message- From: Stavros Tekes [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 2:34 AM To: CF-Talk Subject: CF Problem with Langauges (??) Hi all! Lately I have changed my Cold Fusion host to one abroad (outside Greece). Eversince I am trying to make Greek appear propertly on my pages. Although I have managed to make most pages appear ok in Greek, I still haven't managed to do the same with pages that use the CFSearch tag. Although my host has installed the European/Asian Language Pack, replaced their cfxneo.dll (under c:\cfusionMX\lib\) with the double byted cfxneo from the MM website and restarted all their Cold Fusion services, I still can't retrieve search results in Greek properly. I hardcoded the search term (which is in Greek) on cfsearch tag in order to be sure that the encoding does not get lost after the FORM posting takes place but still nothing was retrieved. The same web page on my server here, runs great (I used the same verity collection, by replacing the files that verity created for my collection on the host computer with the ones it created on my server, just to be sure that it is not a cfindex fault). The cfm page that uses CFSEARCH also uses these encoding lines at its top cfprocessingdirective pageencoding=iso-8859-7 cfcontent type=text/html; charset=iso-8859-7 (iso-8859-7 is for Greek encoding) The Greek characters are all represented by question marks (?? ?? ??? ... etc) which I believe means that character information has been lost. I also noticed that when I changed cfcontent to cfcontent type=text/html; charset=utf-8 Greek again didn't come out right, but instead of question marks, different characters were returned (Ie ?aneanaoYo oui ni?i ... etc). That seemed more promising. I realise that both cftags should be pointing at the same encoding values, cause one determines the output encoding while the other sets the encoding of the data which forms the page content. Furthermore we changed their default Java Encoding to Greek as well, but that still didn;t do any good. (all of the above were tested by using null as a search string since Greek words returned no results on my host) After everything I have tried I can't come to the conclusion whether it is a verity problem or not. The only problems I get are on the pages that use the Cfsearch tag and only on my host. Everything works great on my computer. I run out of ideas! Don;t know what to try next, so if anyone can help, will be a life saviour to me! Thanks in advance, Stavros ___ Join Excite! - http://www.excite.com The most personalized portal on the Web! _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: output to printer ??
yeah I know, but want to send to printer that is attached to server, for a lan, for an app that is on the local server :) so, how is it possible? ...tony tony weeg senior web applications architect navtrak, inc. www.navtrak.net [EMAIL PROTECTED] 410.548.2337 -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED] Sent: Saturday, October 11, 2003 5:38 PM To: CF-Talk Subject: Re: output to printer ?? yes it is possible IF the printer is available from the serverbut sending to a client's printer is impossible ;-) Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder Director www.cfug-vancouverisland.com - Original Message - From: Tony Weeg To: CF-Talk Sent: Saturday, October 11, 2003 2:04 PM Subject: output to printer ?? is there a wayto generate some data in some file (cffile), and immediately send that file to the printer installed on the server that is hosting the cfmx? so that if a client wanted to run a batch of reports, have the page(s) generate some files, and then after each one, send that to the printers spool? thanks. tony tony weeg [EMAIL PROTECTED] www.revolutionwebdesign.com rEvOlUtIoN wEb DeSiGn 410.334.6331 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: OT: Server Hardware
Thanks for all your responses. I believe I'll go for the real P4 2.4GHz. We wanted alot of HD space because the main project that we are getting this together for is for a local News Paper that has been archiving all there articles on their site. The site is already built, and so far there is 1.3 Gigs of pdf news clips online. There will be many years worth added on in the near future. The DBs would not be very big in size. Does anyone know if this problem has been experienced on, say Debian? http://www.macromedia.com/support/coldfusion/releasenotes/mx/mx61_known_prob lems.html#verity Thanks again, Yves Arsenault Carrefour Infotech 5, Acadian Dr. Charlottetown, PEI C1C 1M2 [EMAIL PROTECTED] (902)368-1895 ext.242 ICQ #117650823 -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: October 14, 2003 5:40 AM To: CF-Talk Subject: Re: OT: Server Hardware I agree, there's insufficient reason to use Celeron chips, especially in a server (I wouldn't even get one for a workstation). I consider them to be less than desirable for all uses, I'd find somewhere else to cut that 100. - Calvin - Original Message - From: [EMAIL PROTECTED] To: CF-Talk Sent: Tuesday, October 14, 2003 2:34 AM Subject: Re: OT: Server Hardware The Celeron 2.6 does not have Hyperthreading...for about $100 more you can get the a regular 2.4 w/hyperthreading, well worth it for the apps you are going to be running. Like others have said though, you are going to be memory bound long before you are CPU bound. -- mailto:[EMAIL PROTECTED] Monday, October 13, 2003, 9:29:03 PM, you wrote: YA Hello, YA I'm looking into buying a new box and I was wondering if anyone has any YA comments/suggestions on the following: YA Price is an issue, so this is the main guts of the server I've been YA looking at... YA Intel Celeron 2.6GHz Processor YA 1GB PC2700 DDR Memory YA (2) 120GB ATA100 RAID Hard Drives YA ATA100 IDE RAID Controller Card YA This would be running on a Linux OS, probably either RedHat or Debian. YA I would also be purchasing a CFMX 6.1 license, our new project demands YA verity so I believe that eliminates BlueDragon(if I find out otherwise I YA will be looking at each as a possible option). YA Also, I would be using MySQL and/or PostgreSQL on this same box. YA Has anyone had experiencing running servers with Celeron processors? YA Would there be any difference between a Celeron processor or P4? YA (besides slight difference in processing speed) YA Anything at all? YA :-) YA There is another box that I've seen with a comparable price, with a P4 YA 2.4GHz, slightly more expensive and with 512MB less RAM. That is YA probably my second option. YA TIA, [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Date Picker
Calvin Ward wrote: Yeps it is, and if you decide to use it, might I sugget you throw a donation his way? - Calvin - Original Message - From: Lists2 - TriPointTek To: CF-Talk Sent: Sunday, October 12, 2003 7:41 PM Subject: Re: Date Picker jon hall wrote: http://dynarch.com/mishoo/calendar.epl If you have any questions on how to make certain days unselectable let me know...I had to do it for this calendar recently. It has a built in way to enable it, but it's not obvious at first glance. -- That is a sweet calendar. Dan [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: output to printer ??
What happends if you pipe output (on the commandline) to port PRT: or LPT1: (if you have a printer that supports that). - Hugo AhleniusE-Mail: [EMAIL PROTECTED] Project Officer Phone:+46 8 230460 UNEP GRID-ArendalFax:+46 8 230441 Stockholm OfficeMobile:+46 733 467111 WWW: http://www.grida.no - | -Original Message- | From: Tony Weeg [mailto:[EMAIL PROTECTED] | Sent: Tuesday, October 14, 2003 14:48 | To: CF-Talk | Subject: RE: output to printer ?? | | | yeah I know, but want to send to printer that is attached to | server, for a | lan, for an app that is on the local server :) | | so, how is it possible? | | | ...tony | | tony weeg | senior web applications architect | navtrak, inc. | www.navtrak.net | [EMAIL PROTECTED] | 410.548.2337 | | -Original Message- | From: Bryan Stevenson [mailto:[EMAIL PROTECTED] | Sent: Saturday, October 11, 2003 5:38 PM | To: CF-Talk | Subject: Re: output to printer ?? | | yes it is possible IF the printer is available from the serverbut | sending to a client's printer is impossible ;-) | | Bryan Stevenson B.Comm. | VP Director of E-Commerce Development | Electric Edge Systems Group Inc. | t. 250.920.8830 | e. [EMAIL PROTECTED] | | - | Macromedia Associate Partner | www.macromedia.com | - | Vancouver Island ColdFusion Users Group | Founder Director | www.cfug-vancouverisland.com |- Original Message - |From: Tony Weeg |To: CF-Talk |Sent: Saturday, October 11, 2003 2:04 PM |Subject: output to printer ?? | |is there a wayto generate some data in some file (cffile), and |immediately |send that file to the printer installed on the server that | is hosting |the cfmx? |so that if a client wanted to run a batch of reports, have | the page(s) |generate some |files, and then after each one, send that to the printers spool? | |thanks. | |tony | |tony weeg |[EMAIL PROTECTED] |www.revolutionwebdesign.com |rEvOlUtIoN wEb DeSiGn |410.334.6331 | | | | | | [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Counting Mail Messages In A Folder
Craig Brook: Thank you for your responses ! Unfortunately, no, the individual mailitems are not in separate files in each folder. As you both point out, it's not a real problem if they were. I also wasn't as clear as I should have been in describing the issue. The structure is essentially a base folder (a real windows folder), named the same as the individual's email address. Within this folder are a varying number of files in the form:foldername.mbx. So if you stored items from the CFTalk list in folder named ColdFusion, the name of the folder (really a file), would be ColdFusion.mbx. The individual mail items in the folder file are delimited, but upon initial inspection, it is unclear what the exact delimiter is, especially with stored messages that have embedded messages (). I thought that using MESSAGE ID might be OK, but now I'm not so sure. The manager of our email system is contacting Ipswitche to see if they can clarify, but according to him, their tech support is sometimes a little spotty. I have seen several references to iMail on the list, and hoped they someone might be able to provide more definitive information on the way messages were stored. Though not applicable to my particular task, I do like the code examples (I collect code snippets) you both sent, and will save them for future reference. Thank you for your assistance and willingness to share your expertise with us ! -Gerry Gerard T. Pauline Mgr, Internet Applications University WebMaster Computer Systems, DoIT Pace University -Original Message- From: Craig Dudley [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 8:05 AM To: CF-Talk Subject: RE: Counting Mail Messages In A Folder Are the messages actual files or are they stored in some sort of exchange like database? If they are actual files, then it should be easy using cfdirectory alone,the windows file system as Brook suggested or even with java (java.io.File). You'll just need to done a little recursion inside the mail store folder, not hard at all. This custom tag recurses through an entire dir tree and returns a query which you could then use QoQ on easily. Calling Page -- cfset basedir = c:\mailroot\ cf_dir basedir = #basedir# cfdump var=#request.filelist# TAG (save as dir.cfm) - cfparam name=request.filelist default=#QueryNew('Filename,FileDate,Size')# cfdirectory action="" directory=#attributes.basedir# name=list cfloop query=list cfif type is File cfscript QueryAddRow(request.filelist); QuerySetCell(request.filelist,FileName,#attributes.basedir##name#); QuerySetCell(request.filelist,FileDate,#DateLastModified#); QuerySetCell(request.filelist,Size,#Size#); /cfscript cfelse cfif NOT (name is . or name is ..) cf_dir basedir = #attributes.basedir##name#\ /cfif /cfif /cfloop -Original Message- From: Gerry Pauline [mailto:[EMAIL PROTECTED] Sent: 13 October 2003 22:26 To: CF-Talk Subject: Counting Mail Messages In A Folder CF-Pros: We have several report utilities written in CF to report on our e-mail system, Ipswitches iMail. We've been asked to look into a utility (acquire/build) to count the number of messages in each folder. Questions: * What is the delimiter for messages in a folder (is it the same for all mail servers, or unique to a particular mailer, again, we use Ipswitches's iMail, latest version) * I believe some of you are iMail users, anyone aware of utility similar to what we are interested in ? Thank you. -Gerry Gerard T. Pauline Computer Systems, DoIT Pace University [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
.html page extension to process coldfusion code
Hi, I want .html page extensions to process coldfusion code along with .cfm pages in CFMX and CF5.0 on Win2k server with IIS5.0. What exactly I need to change in IIS to make that change and are there any problems in doing that may occure. Will all CF tags and features will work on that .html page with CF code in it. Has anybody faced ever any problem by doing this. Ketan Patel G3 Technology Group, LLC http://www.instantpoistion.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: .html page extension to process coldfusion code
no problems, not until cfmx, when you have to make some xml page changes to get this to work, but in CF5.0 things are great. what changes? there are changes in the iis administrator where you tell the iis server to parse .html pages, the same way iis is told to parse .cfm files, it's the iscf.dll, dll, that you need to set in iis to parse files.heck, I even had it parse .ntk (navtrak) files like it does .cfm files. ...tony tony weeg senior web applications architect navtrak, inc. www.navtrak.net [EMAIL PROTECTED] 410.548.2337 -Original Message- From: Ketan Patel [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 10:09 AM To: CF-Talk Subject: .html page extension to process coldfusion code Hi, I want .html page extensions to process coldfusion code along with .cfm pages in CFMX and CF5.0 on Win2k server with IIS5.0. What exactly I need to change in IIS to make that change and are there any problems in doing that may occure. Will all CF tags and features will work on that .html page with CF code in it. Has anybody faced ever any problem by doing this. Ketan Patel G3 Technology Group, LLC http://www.instantpoistion.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: .html page extension to process coldfusion code
Hey Ketan, This is a relatively easy process.You need to modify/add the .html extension to be filtered by the ColdFusion .dll. In ColdFusion 5.0 this is ISCF.dll and in ColdFusion MX 6.1 it is jrun.dll, they sit in the following folders respectively CFusion\Bin and CFusionMX\runtime\lib\wsconfig\1\jrun.dll. I have not faced any problems with serving .html pages except that the script has to conform to the ColdFusion rules of escaped characters such as # etc... HTH -Original Message- From: Ketan Patel [mailto:[EMAIL PROTECTED] Sent: 14 October 2003 15:08 To: CF-Talk Subject: .html page extension to process coldfusion code Hi, I want .html page extensions to process coldfusion code along with .cfm pages in CFMX and CF5.0 on Win2k server with IIS5.0. What exactly I need to change in IIS to make that change and are there any problems in doing that may occure. Will all CF tags and features will work on that .html page with CF code in it. Has anybody faced ever any problem by doing this. Ketan Patel G3 Technology Group, LLC http://www.instantpoistion.com http://www.instantpoistion.com _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: .html page extension to process coldfusion code
Hi , What changes need to be done in CFMX to get it working. Ketan Patel G3 Technology Group, LLC Graphics III Advertising, Inc. (410)789-7007 or (800)783-1799 It's Not Creative if it doesn't Sell. http://www.g3group.com http://www.g3group.com -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 10:06 AM To: CF-Talk Subject: RE: .html page extension to process coldfusion code no problems, not until cfmx, when you have to make some xml page changes to get this to work, but in CF5.0 things are great. what changes? there are changes in the iis administrator where you tell the iis server to parse .html pages, the same way iis is told to parse .cfm files, it's the iscf.dll, dll, that you need to set in iis to parse files.heck, I even had it parse .ntk (navtrak) files like it does .cfm files. ...tony tony weeg senior web applications architect navtrak, inc. www.navtrak.net [EMAIL PROTECTED] 410.548.2337 -Original Message- From: Ketan Patel [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 10:09 AM To: CF-Talk Subject: .html page extension to process coldfusion code Hi, I want .html page extensions to process coldfusion code along with .cfm pages in CFMX and CF5.0 on Win2k server with IIS5.0. What exactly I need to change in IIS to make that change and are there any problems in doing that may occure. Will all CF tags and features will work on that .html page with CF code in it. Has anybody faced ever any problem by doing this. Ketan Patel G3 Technology Group, LLC http://www.instantpoistion.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Counting Mail Messages In A Folder
Gerry said: The structure is essentially a base folder (a real windows folder), named the same as the individual's email address. Within this folder are a varying number of files in the form: foldername.mbx. So if you stored items from the CFTalk list in folder named ColdFusion, the name of the folder (really a file), would be ColdFusion.mbx. Look for a mailbox to maildir conversion script (there are several free ones, allthough mostly Perl). Both are standard mail storage formats, but mailbox is with all emails in a file and maildir with an email per file. Jochem [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Help with CF and modal window
I second the IFRAME method.As long as a page is within an IFrame or a frameset of some sort in your modal window, the submit will stay within the window.The only drawback is that you have to pass the attributes that you pass into the modal window's URL through to the IFRAME's URL (if you're passing attributes on the URL at all). Robyn -Original Message- From: Daniel Mackey [mailto:[EMAIL PROTECTED] Sent: Friday, October 10, 2003 3:18 PM To: CF-Talk Subject: RE: Help with CF and modal window Hi, I usually put an IFRAME in the modal window: modal.cfm- cfif not isdefined(inFrame) iframe width=100% height=100% src=""> cfelse !-The main page content-- ! _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: .html page extension to process coldfusion code
and on .cfm files, you don't have to conform to cold fusion's # rules? sure you do, its no different, once you have the .html mapping, you are fine. and all the same rules as .cfm files apply. ...tony tony weeg senior web applications architect navtrak, inc. www.navtrak.net [EMAIL PROTECTED] 410.548.2337 -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 10:09 AM To: CF-Talk Subject: RE: .html page extension to process coldfusion code Hey Ketan, This is a relatively easy process.You need to modify/add the .html extension to be filtered by the ColdFusion .dll. In ColdFusion 5.0 this is ISCF.dll and in ColdFusion MX 6.1 it is jrun.dll, they sit in the following folders respectively CFusion\Bin and CFusionMX\runtime\lib\wsconfig\1\jrun.dll. I have not faced any problems with serving .html pages except that the script has to conform to the ColdFusion rules of escaped characters such as # etc... HTH -Original Message- From: Ketan Patel [mailto:[EMAIL PROTECTED] Sent: 14 October 2003 15:08 To: CF-Talk Subject: .html page extension to process coldfusion code Hi, I want .html page extensions to process coldfusion code along with .cfm pages in CFMX and CF5.0 on Win2k server with IIS5.0. What exactly I need to change in IIS to make that change and are there any problems in doing that may occure. Will all CF tags and features will work on that .html page with CF code in it. Has anybody faced ever any problem by doing this. Ketan Patel G3 Technology Group, LLC http://www.instantpoistion.com http://www.instantpoistion.com _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: .html page extension to process coldfusion code
a change noted in neil post. ...tony tony weeg senior web applications architect navtrak, inc. www.navtrak.net [EMAIL PROTECTED] 410.548.2337 -Original Message- From: Ketan Patel [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 10:18 AM To: CF-Talk Subject: RE: .html page extension to process coldfusion code Hi , What changes need to be done in CFMX to get it working. Ketan Patel G3 Technology Group, LLC Graphics III Advertising, Inc. (410)789-7007 or (800)783-1799 It's Not Creative if it doesn't Sell. http://www.g3group.com http://www.g3group.com -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 10:06 AM To: CF-Talk Subject: RE: .html page extension to process coldfusion code no problems, not until cfmx, when you have to make some xml page changes to get this to work, but in CF5.0 things are great. what changes? there are changes in the iis administrator where you tell the iis server to parse .html pages, the same way iis is told to parse .cfm files, it's the iscf.dll, dll, that you need to set in iis to parse files.heck, I even had it parse .ntk (navtrak) files like it does .cfm files. ...tony tony weeg senior web applications architect navtrak, inc. www.navtrak.net [EMAIL PROTECTED] 410.548.2337 -Original Message- From: Ketan Patel [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 10:09 AM To: CF-Talk Subject: .html page extension to process coldfusion code Hi, I want .html page extensions to process coldfusion code along with .cfm pages in CFMX and CF5.0 on Win2k server with IIS5.0. What exactly I need to change in IIS to make that change and are there any problems in doing that may occure. Will all CF tags and features will work on that .html page with CF code in it. Has anybody faced ever any problem by doing this. Ketan Patel G3 Technology Group, LLC http://www.instantpoistion.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: .html page extension to process coldfusion code
oops, he didn't mention this Open the {serverRoot}\WEB-INF\web.xml . You can modify the extension mappings by adding these lines: servlet-mapping servlet-nameCfmServlet/servlet-name url-pattern*.html/url-pattern /servlet-mapping ...tony tony weeg senior web applications architect navtrak, inc. www.navtrak.net [EMAIL PROTECTED] 410.548.2337 -Original Message- From: Ketan Patel [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 10:18 AM To: CF-Talk Subject: RE: .html page extension to process coldfusion code Hi , What changes need to be done in CFMX to get it working. Ketan Patel G3 Technology Group, LLC Graphics III Advertising, Inc. (410)789-7007 or (800)783-1799 It's Not Creative if it doesn't Sell. http://www.g3group.com http://www.g3group.com -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 10:06 AM To: CF-Talk Subject: RE: .html page extension to process coldfusion code no problems, not until cfmx, when you have to make some xml page changes to get this to work, but in CF5.0 things are great. what changes? there are changes in the iis administrator where you tell the iis server to parse .html pages, the same way iis is told to parse .cfm files, it's the iscf.dll, dll, that you need to set in iis to parse files.heck, I even had it parse .ntk (navtrak) files like it does .cfm files. ...tony tony weeg senior web applications architect navtrak, inc. www.navtrak.net [EMAIL PROTECTED] 410.548.2337 -Original Message- From: Ketan Patel [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 10:09 AM To: CF-Talk Subject: .html page extension to process coldfusion code Hi, I want .html page extensions to process coldfusion code along with .cfm pages in CFMX and CF5.0 on Win2k server with IIS5.0. What exactly I need to change in IIS to make that change and are there any problems in doing that may occure. Will all CF tags and features will work on that .html page with CF code in it. Has anybody faced ever any problem by doing this. Ketan Patel G3 Technology Group, LLC http://www.instantpoistion.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: flash remoting and dotted directories
He is using Flash Remoting. It makes the data transfer between Flash and CF much easier and faster. Clint Tredway www.digital12studios.com Original Message: Return-Path: [EMAIL PROTECTED] Tue Oct 14 01:28:42 2003 Received: from houseoffusion.com [64.118.64.245] by mail16.crystaltech.com with SMTP; Tue, 14 Oct 2003 01:28:42 -0700 Received: from LOCALHOST by LOCALHOST with ESMTP id FF01B99DCCD1904A92A1DFC5C2D766BB Tue, 14 Oct 2003 04:30:25 -0400 Date: Tue, 14 Oct 2003 09:28:12 +0100 From: [EMAIL PROTECTED] [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] Precedence: bulk Reply-To: [EMAIL PROTECTED] Subject: RE: flash remoting and dotted directories To: CF-Talk [EMAIL PROTECTED] MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=_NextPart_000_1066105825_CFX_iMSMail_297287797 Content-Transfer-Encoding: 7bit Why is using a Flash site to talk to MySQl via CFCs a wierd config ? -Original Message- From: Mauricio Giraldo [mailto:[EMAIL PROTECTED] Sent: 14 October 2003 03:26 To: CF-Talk Subject: flash remoting and dotted directories Hi I am developing a flash-based site that uses CFCs to communicate with a MySQL database under Windows (yea... I know it's a weird config). Right now we have the site under a name-based hosting provider (I know there are other CFMX ISPs out there... I didn't choose...). http://siteIP/flashservices/gateway http://siteIP/flashservices/gateway is returning a blank page (good news... Remoting is up). However, our site is under something like H:/username/site.dot.com/ (note the dots in my directory name). The problem is: Do you have any tips for mapping my CFCs in Flash? I am trying something like: NetServices.setDefaultGatewayUrl(http://siteIP/flashservices/gateway); this.conn = NetServices.createGatewayConnection(); this.service = this.conn.getService(cfc.cfcname,this); Suppose there is a directory named cfc in which all CFCs are stored (cfc is inside site.dot.com). Any help will be appreciated Mauricio _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: project/bug management system
Tim, some time ago Phil Cruz was offering a Fusebox 3.0 Bug Tracking system called “TTOOLS” which we purchased a license for, it was not too expensive and helps us but I can’t locate it on the web.His email in our records was [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] .Perhaps you could drop him a line.Hth. Kind Regards - Mike Brunt Webapper Services LLC Web Site http://www.webapper.com Blog http://www.webapper.net Webapper Web Application Specialists -Original Message- From: Tim Do [mailto:[EMAIL PROTECTED] Sent: Monday, October 13, 2003 1:51 PM To: CF-Talk Subject: project/bug management system Hello All, Could some of you refer me to a project/bug management system that isn't too expensive and comes with source code to customize?(Preferably CF) Thanks, Tim _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: project/bug management system
ttools was awesome, never heard more about it, from a production version vs. beta version standpoint, but would like to know if its still around? anyone know? ...tony tony weeg senior web applications architect navtrak, inc. www.navtrak.net [EMAIL PROTECTED] 410.548.2337 -Original Message- From: Mike Brunt [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 10:38 AM To: CF-Talk Subject: RE: project/bug management system Tim, some time ago Phil Cruz was offering a Fusebox 3.0 Bug Tracking system called TTOOLS which we purchased a license for, it was not too expensive and helps us but I can't locate it on the web.His email in our records was [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] .Perhaps you could drop him a line.Hth. Kind Regards - Mike Brunt Webapper Services LLC Web Site http://www.webapper.com Blog http://www.webapper.net Webapper Web Application Specialists -Original Message- From: Tim Do [mailto:[EMAIL PROTECTED] Sent: Monday, October 13, 2003 1:51 PM To: CF-Talk Subject: project/bug management system Hello All, Could some of you refer me to a project/bug management system that isn't too expensive and comes with source code to customize?(Preferably CF) Thanks, Tim _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: flash remoting and dotted directories
I am developing a flash-based site that uses CFCs to communicate with a MySQL database under Windows (yea... I know it's a weird config). Why is using a Flash site to talk to MySQl via CFCs a wierd config? He is using Flash Remoting. It makes the data transfer between Flash and CF much easier and faster. Yes, but that's not wierd in any way - that's what it's there for. We've done numerous projects using a flash frontend talking to a CFMX backend (CFCs) running on Linux and using MySQL as the database.If that makes a weird config well then I guess I'm weird.:) 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. --- [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Problem Exporting to Excel on CFMX
Hello All, I have a strange situation happening.I have some code that displays a report and has a link to export the page to excel. My link looks like this a href="" to Excel/a Then to action page has this CFCONTENT TYPE=application/msexcel; name=trackingreport.xls CFHEADER NAME=Content-Disposition VALUE=attachment; filename=trackingreport.xls And then the rest of the code. The strange thing is that this works fine on netscape but does not work for IE.(that's a first for me) When I click on the link I get an error box that says Internet Explorer cannot download ... nt=toamount=list=bylistdate from www.mydomain.com I can't figure out why this is not working. Can anyone point me in the right direction? Thanks in advance. Mike [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: .html page extension to process coldfusion code
Hi Ketan, We have an article that documents the steps for this, just substitute the .dbm for .htm: http://www.macromedia.com/support/coldfusion/ts/documents/tn18289.htm http://www.macromedia.com/support/coldfusion/ts/documents/tn18289.htm Regards, Christine -Original Message- From: Ketan Patel [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 10:18 AM To: CF-Talk Subject: RE: .html page extension to process coldfusion code Hi , What changes need to be done in CFMX to get it working. Ketan Patel G3 Technology Group, LLC Graphics III Advertising, Inc. (410)789-7007 or (800)783-1799 It's Not Creative if it doesn't Sell. http://www.g3group.com http://www.g3group.comhttp://www.g3group.com -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 10:06 AM To: CF-Talk Subject: RE: .html page extension to process coldfusion code no problems, not until cfmx, when you have to make some xml page changes to get this to work, but in CF5.0 things are great. what changes? there are changes in the iis administrator where you tell the iis server to parse .html pages, the same way iis is told to parse .cfm files, it's the iscf.dll, dll, that you need to set in iis to parse files.heck, I even had it parse .ntk (navtrak) files like it does .cfm files. ...tony tony weeg senior web applications architect navtrak, inc. www.navtrak.net [EMAIL PROTECTED] 410.548.2337 -Original Message- From: Ketan Patel [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 10:09 AM To: CF-Talk Subject: .html page extension to process coldfusion code Hi, I want .html page extensions to process coldfusion code along with .cfm pages in CFMX and CF5.0 on Win2k server with IIS5.0. What exactly I need to change in IIS to make that change and are there any problems in doing that may occure. Will all CF tags and features will work on that .html page with CF code in it. Has anybody faced ever any problem by doing this. Ketan Patel G3 Technology Group, LLC http://www.instantpoistion.com http://www.instantpoistion.com _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
CFC question
Hi, this is my first ever CFC, can I pass a query object into a CFC and get at it within a CFFUNCTION? Just a quick example, //invoke cfc CFINVOKE COMPONENT=act_map_action METHOD=WhichMap QUERYOBJECT=q_compileTrail RETURNVARIABLE=Counter CFOUTPUT#Counter#/cfoutput //CFC CFCOMPONENT CFFUNCTION NAME=WhichMap RETURNTYPE=numeric CFSET THIS.Counter=THIS.QUERYOBJECT.RECORDCOUNT /CFFUNCTION /CFCOMPONENT but I get this error, Element QUERYOBJECT.RECORDCOUNT is undefined in THIS. Thanx, J [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
cf and great plains
hello all. has anyone successfully, implemented anything with cold fusion and great plains accounting/billing software.more specifically, has anyone integrated coldfusion with the sql server database that great plains makes use of? thanks. ...tony tony weeg senior web applications architect navtrak, inc. www.navtrak.net [EMAIL PROTECTED] 410.548.2337 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CFC question
When you pass an argument to a CFC method, it isn't available in the This scope, it's available in the Arguments scope: cffunction name=whichMap returnType=numeric cfargument name=theQuery type=query required=true cfreturn arguments.theQuery.recordCount /cffunction You can also leave the arguments. off as long as you have the cfargument tag, but I recommend keeping it in. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CFC question
Thought I was missing something, Thanks Raymond. -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: 14 October 2003 16:18 To: CF-Talk Subject: RE: CFC question When you pass an argument to a CFC method, it isn't available in the This scope, it's available in the Arguments scope: cffunction name=whichMap returnType=numeric cfargument name=theQuery type=query required=true cfreturn arguments.theQuery.recordCount /cffunction You can also leave the arguments. off as long as you have the cfargument tag, but I recommend keeping it in. _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CFC question
Just in case it's not clear, the same would also apply to a UDF written using cffunciton as well. Also, don't forget that when you pass a query (or a struct or another cfc) to a method, you pass it be reference, not by value. So if the method changes the query, you are changing your original query as well. If this bug you, just do cfset foo = blah.method(duplicate(theQuery)) [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Problem Exporting to Excel on CFMX
We've had this problem when the generated Excel files is too big (not exactly sure what too-big is, but ours were about 2mb).IE tries to send it to Excel prematurely. In our case we had a lot of whitespace we removed that fixed the problem. HTH, Sam -- Blog:http://www.rewindlife.com Chart: http://www.blinex.com/products/charting -- -Original Message- From: Mickael [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 10:55 AM To: CF-Talk Subject: Problem Exporting to Excel on CFMX Hello All, I have a strange situation happening.I have some code that displays a report and has a link to export the page to excel. My link looks like this a href=""> efrom#dateto=#url.dateto#fromamount=#url.fromamount#toamoun t=#url.toamount#list=byBillDateExport to Excel/a Then to action page has this CFCONTENT TYPE=application/msexcel; name=trackingreport.xls CFHEADER NAME=Content-Disposition VALUE=attachment; filename=trackingreport.xls And then the rest of the code. The strange thing is that this works fine on netscape but does not work for IE.(that's a first for me) When I click on the link I get an error box that says Internet Explorer cannot download ... nt=toamount=list=bylistdate from www.mydomain.com I can't figure out why this is not working. Can anyone point me in the right direction? Thanks in advance. Mike [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
CFMX Secure FTP
Here's my task: Create a web-based mechanism that can provide a means to transmit large blocks of data (XML data dumps to be exact) from one location to another (usually thousands of miles away). The key requirement is that the data travel encrypted and that it have resume capability. My gut tells me to go w/ some form of secured FTP to transmit the data. I could probably piece together some sort of front-end that shows progress in some manner (I think) through a web console. Does anyone have other suggestions as to a good way to transmit data in such a manner? -Rich [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
java cfx tag - returning integer variable
I'm having trouble setting an integer response variable in my cfx tag. Here is the compiler error: fedex.java:125: setVariable(java.lang.String,java.lang.String) in com.allaire.cfx.Response cannot be applied to (java.lang.String,int) response.setVariable(fedex.statusCode, result); Here is the applicable code. If I change result to any string value it compiles fine. I've even tried casting result to a string...no luck. int result = httpclient.executeMethod(post); response.setVariable(fedex.statusCode, result); response.setVariable(fedex.response, post.getResponseBodyAsString()); Is it possible to return an integer value to CF? -- jon mailto:[EMAIL PROTECTED] [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CFMX Secure FTP
uhhh, why not soap? ...tony tony weeg senior web applications architect navtrak, inc. www.navtrak.net [EMAIL PROTECTED] 410.548.2337 -Original Message- From: Rich Z [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 11:30 AM To: CF-Talk Subject: CFMX Secure FTP Here's my task: Create a web-based mechanism that can provide a means to transmit large blocks of data (XML data dumps to be exact) from one location to another (usually thousands of miles away). The key requirement is that the data travel encrypted and that it have resume capability. My gut tells me to go w/ some form of secured FTP to transmit the data. I could probably piece together some sort of front-end that shows progress in some manner (I think) through a web console. Does anyone have other suggestions as to a good way to transmit data in such a manner? -Rich [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: .html page extension to process coldfusion code
Thanks. Ketan Patel G3 Technology Group, LLC Graphics III Advertising, Inc. (410)789-7007 or (800)783-1799 It's Not Creative if it doesn't Sell. http://www.g3group.com http://www.g3group.com -Original Message- From: Christine Lawson [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 10:56 AM To: CF-Talk Subject: RE: .html page extension to process coldfusion code Hi Ketan, We have an article that documents the steps for this, just substitute the .dbm for .htm: http://www.macromedia.com/support/coldfusion/ts/documents/tn18289.htm http://www.macromedia.com/support/coldfusion/ts/documents/tn18289.htm Regards, Christine -Original Message- From: Ketan Patel [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 10:18 AM To: CF-Talk Subject: RE: .html page extension to process coldfusion code Hi , What changes need to be done in CFMX to get it working. Ketan Patel G3 Technology Group, LLC Graphics III Advertising, Inc. (410)789-7007 or (800)783-1799 It's Not Creative if it doesn't Sell. http://www.g3group.com http://www.g3group.comhttp://www.g3group.com -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 10:06 AM To: CF-Talk Subject: RE: .html page extension to process coldfusion code no problems, not until cfmx, when you have to make some xml page changes to get this to work, but in CF5.0 things are great. what changes? there are changes in the iis administrator where you tell the iis server to parse .html pages, the same way iis is told to parse .cfm files, it's the iscf.dll, dll, that you need to set in iis to parse files.heck, I even had it parse .ntk (navtrak) files like it does .cfm files. ...tony tony weeg senior web applications architect navtrak, inc. www.navtrak.net [EMAIL PROTECTED] 410.548.2337 -Original Message- From: Ketan Patel [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 10:09 AM To: CF-Talk Subject: .html page extension to process coldfusion code Hi, I want .html page extensions to process coldfusion code along with .cfm pages in CFMX and CF5.0 on Win2k server with IIS5.0. What exactly I need to change in IIS to make that change and are there any problems in doing that may occure. Will all CF tags and features will work on that .html page with CF code in it. Has anybody faced ever any problem by doing this. Ketan Patel G3 Technology Group, LLC http://www.instantpoistion.com http://www.instantpoistion.com _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Problem Exporting to Excel on CFMX
Hi Sam, I am not that is the case my file is only 14kb I don't really have that much whitespace in my code.Is there anything else you guys did? Mike - Original Message - From: Samuel Neff To: CF-Talk Sent: Tuesday, October 14, 2003 11:28 AM Subject: RE: Problem Exporting to Excel on CFMX We've had this problem when the generated Excel files is too big (not exactly sure what too-big is, but ours were about 2mb).IE tries to send it to Excel prematurely. In our case we had a lot of whitespace we removed that fixed the problem. HTH, Sam -- Blog:http://www.rewindlife.com Chart: http://www.blinex.com/products/charting -- -Original Message- From: Mickael [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 10:55 AM To: CF-Talk Subject: Problem Exporting to Excel on CFMX Hello All, I have a strange situation happening.I have some code that displays a report and has a link to export the page to excel. My link looks like this a href=""> efrom#dateto=#url.dateto#fromamount=#url.fromamount#toamoun t=#url.toamount#list=byBillDateExport to Excel/a Then to action page has this CFCONTENT TYPE=application/msexcel; name=trackingreport.xls CFHEADER NAME=Content-Disposition VALUE=attachment; filename=trackingreport.xls And then the rest of the code. The strange thing is that this works fine on netscape but does not work for IE.(that's a first for me) When I click on the link I get an error box that says Internet Explorer cannot download ... nt=toamount=list=bylistdate from www.mydomain.com I can't figure out why this is not working. Can anyone point me in the right direction? Thanks in advance. Mike [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CFMX Secure FTP
replied to quick. here is some info on soap http://www.soaprpc.com/tutorials/ ...tony tony weeg senior web applications architect navtrak, inc. www.navtrak.net [EMAIL PROTECTED] 410.548.2337 -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 11:35 AM To: CF-Talk Subject: RE: CFMX Secure FTP uhhh, why not soap? ...tony tony weeg senior web applications architect navtrak, inc. www.navtrak.net [EMAIL PROTECTED] 410.548.2337 -Original Message- From: Rich Z [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 11:30 AM To: CF-Talk Subject: CFMX Secure FTP Here's my task: Create a web-based mechanism that can provide a means to transmit large blocks of data (XML data dumps to be exact) from one location to another (usually thousands of miles away). The key requirement is that the data travel encrypted and that it have resume capability. My gut tells me to go w/ some form of secured FTP to transmit the data. I could probably piece together some sort of front-end that shows progress in some manner (I think) through a web console. Does anyone have other suggestions as to a good way to transmit data in such a manner? -Rich [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
OT: Project mgmt system / issue tracker
Hello All, Could some of you refer me to a project/issue management system that isn't too expensive and comes with source code to customize?(Preferably CF) Thanks, Tim [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Problem Exporting to Excel on CFMX
why the multiple s CFCONTENT TYPE=application/msexcel; name=trackingreport.xls CFHEADER NAME=Content-Disposition VALUE=attachment; filename=trackingreport.xls ...tony tony weeg senior web applications architect navtrak, inc. www.navtrak.net [EMAIL PROTECTED] 410.548.2337 -Original Message- From: Mickael [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 11:38 AM To: CF-Talk Subject: Re: Problem Exporting to Excel on CFMX Hi Sam, I am not that is the case my file is only 14kb I don't really have that much whitespace in my code.Is there anything else you guys did? Mike - Original Message - From: Samuel Neff To: CF-Talk Sent: Tuesday, October 14, 2003 11:28 AM Subject: RE: Problem Exporting to Excel on CFMX We've had this problem when the generated Excel files is too big (not exactly sure what too-big is, but ours were about 2mb).IE tries to send it to Excel prematurely. In our case we had a lot of whitespace we removed that fixed the problem. HTH, Sam -- Blog:http://www.rewindlife.com Chart: http://www.blinex.com/products/charting -- -Original Message- From: Mickael [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 10:55 AM To: CF-Talk Subject: Problem Exporting to Excel on CFMX Hello All, I have a strange situation happening.I have some code that displays a report and has a link to export the page to excel. My link looks like this a href=""> efrom#dateto=#url.dateto#fromamount=#url.fromamount#toamoun t=#url.toamount#list=byBillDateExport to Excel/a Then to action page has this CFCONTENT TYPE=application/msexcel; name=trackingreport.xls CFHEADER NAME=Content-Disposition VALUE=attachment; filename=trackingreport.xls And then the rest of the code. The strange thing is that this works fine on netscape but does not work for IE.(that's a first for me) When I click on the link I get an error box that says Internet Explorer cannot download ... nt=toamount=list=bylistdate from www.mydomain.com I can't figure out why this is not working. Can anyone point me in the right direction? Thanks in advance. Mike [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: java cfx tag - returning integer variable
setVariable will ony return strings, just turn the int into a string. Try, response.setVariable(fedex.statusCode, result.toString() ); or String strResult = result.toString(); response.setVariable(fedex.statusCode, strResult ); -Original Message- From: jon hall [mailto:[EMAIL PROTECTED] Sent: 14 October 2003 16:35 To: CF-Talk Subject: java cfx tag - returning integer variable I'm having trouble setting an integer response variable in my cfx tag. Here is the compiler error: fedex.java:125: setVariable(java.lang.String,java.lang.String) in com.allaire.cfx.Response cannot be applied to (java.lang.String,int) response.setVariable(fedex.statusCode, result); Here is the applicable code. If I change result to any string value it compiles fine. I've even tried casting result to a string...no luck. int result = httpclient.executeMethod(post); response.setVariable(fedex.statusCode, result); response.setVariable(fedex.response, post.getResponseBodyAsString()); Is it possible to return an integer value to CF? -- jon mailto:[EMAIL PROTECTED] [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Counting Mail Messages In A Folder
Jochem: Thank you for the information ! Yesterday when I scanned the PERL sites, I used the text in the subject line that I sent to this list. Looking for mailbox to maildir conversion script from your note returned numerous hits. Though I'm only interested in counting the number of messages, seeing what the programs parse on is very helpful (I'm looking at mb2md.pl and perfect_maildir). These two programs seem to parse on the From , beginning at the start of the line. Thank you for assistance and expertise, it is much appreciated ! -Gerry -Original Message- From: Jochem van Dieten [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 10:13 AM To: CF-Talk Subject: RE: Counting Mail Messages In A Folder Gerry said: The structure is essentially a base folder (a real windows folder), named the same as the individual's email address. Within this folder are a varying number of files in the form: foldername.mbx. So if you stored items from the CFTalk list in folder named ColdFusion, the name of the folder (really a file), would be ColdFusion.mbx. Look for a mailbox to maildir conversion script (there are several free ones, allthough mostly Perl). Both are standard mail storage formats, but mailbox is with all emails in a file and maildir with an email per file. Jochem [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CFMX Secure FTP
Does this support resuming large file transfers that break? -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 11:38 AM To: CF-Talk Subject: RE: CFMX Secure FTP replied to quick. here is some info on soap http://www.soaprpc.com/tutorials/ ...tony tony weeg senior web applications architect navtrak, inc. www.navtrak.net [EMAIL PROTECTED] 410.548.2337 -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 11:35 AM To: CF-Talk Subject: RE: CFMX Secure FTP uhhh, why not soap? ...tony tony weeg senior web applications architect navtrak, inc. www.navtrak.net [EMAIL PROTECTED] 410.548.2337 -Original Message- From: Rich Z [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 11:30 AM To: CF-Talk Subject: CFMX Secure FTP Here's my task: Create a web-based mechanism that can provide a means to transmit large blocks of data (XML data dumps to be exact) from one location to another (usually thousands of miles away). The key requirement is that the data travel encrypted and that it have resume capability. My gut tells me to go w/ some form of secured FTP to transmit the data. I could probably piece together some sort of front-end that shows progress in some manner (I think) through a web console. Does anyone have other suggestions as to a good way to transmit data in such a manner? -Rich _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Problem Exporting to Excel on CFMX
I am actually working on code that was inherited.I have tried it without and with the quotes still not working. But it works fine in Netscape the way it is displayed below which is strange. Mike - Original Message - From: Tony Weeg To: CF-Talk Sent: Tuesday, October 14, 2003 11:39 AM Subject: RE: Problem Exporting to Excel on CFMX why the multiple s CFCONTENT TYPE=application/msexcel; name=trackingreport.xls CFHEADER NAME=Content-Disposition VALUE=attachment; filename=trackingreport.xls ...tony tony weeg senior web applications architect navtrak, inc. www.navtrak.net [EMAIL PROTECTED] 410.548.2337 -Original Message- From: Mickael [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 11:38 AM To: CF-Talk Subject: Re: Problem Exporting to Excel on CFMX Hi Sam, I am not that is the case my file is only 14kb I don't really have that much whitespace in my code.Is there anything else you guys did? Mike - Original Message - From: Samuel Neff To: CF-Talk Sent: Tuesday, October 14, 2003 11:28 AM Subject: RE: Problem Exporting to Excel on CFMX We've had this problem when the generated Excel files is too big (not exactly sure what too-big is, but ours were about 2mb).IE tries to send it to Excel prematurely. In our case we had a lot of whitespace we removed that fixed the problem. HTH, Sam -- Blog:http://www.rewindlife.com Chart: http://www.blinex.com/products/charting -- -Original Message- From: Mickael [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 10:55 AM To: CF-Talk Subject: Problem Exporting to Excel on CFMX Hello All, I have a strange situation happening.I have some code that displays a report and has a link to export the page to excel. My link looks like this a href=""> efrom#dateto=#url.dateto#fromamount=#url.fromamount#toamoun t=#url.toamount#list=byBillDateExport to Excel/a Then to action page has this CFCONTENT TYPE=application/msexcel; name=trackingreport.xls CFHEADER NAME=Content-Disposition VALUE=attachment; filename=trackingreport.xls And then the rest of the code. The strange thing is that this works fine on netscape but does not work for IE.(that's a first for me) When I click on the link I get an error box that says Internet Explorer cannot download ... nt=toamount=list=bylistdate from www.mydomain.com I can't figure out why this is not working. Can anyone point me in the right direction? Thanks in advance. Mike [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Problem Exporting to Excel on CFMX
do you have the actual full code? ...tony tony weeg senior web applications architect navtrak, inc. www.navtrak.net [EMAIL PROTECTED] 410.548.2337 -Original Message- From: Mickael [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 11:54 AM To: CF-Talk Subject: Re: Problem Exporting to Excel on CFMX I am actually working on code that was inherited.I have tried it without and with the quotes still not working. But it works fine in Netscape the way it is displayed below which is strange. Mike - Original Message - From: Tony Weeg To: CF-Talk Sent: Tuesday, October 14, 2003 11:39 AM Subject: RE: Problem Exporting to Excel on CFMX why the multiple s CFCONTENT TYPE=application/msexcel; name=trackingreport.xls CFHEADER NAME=Content-Disposition VALUE=attachment; filename=trackingreport.xls ...tony tony weeg senior web applications architect navtrak, inc. www.navtrak.net [EMAIL PROTECTED] 410.548.2337 -Original Message- From: Mickael [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 11:38 AM To: CF-Talk Subject: Re: Problem Exporting to Excel on CFMX Hi Sam, I am not that is the case my file is only 14kb I don't really have that much whitespace in my code.Is there anything else you guys did? Mike - Original Message - From: Samuel Neff To: CF-Talk Sent: Tuesday, October 14, 2003 11:28 AM Subject: RE: Problem Exporting to Excel on CFMX We've had this problem when the generated Excel files is too big (not exactly sure what too-big is, but ours were about 2mb).IE tries to send it to Excel prematurely. In our case we had a lot of whitespace we removed that fixed the problem. HTH, Sam -- Blog:http://www.rewindlife.com Chart: http://www.blinex.com/products/charting -- -Original Message- From: Mickael [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 10:55 AM To: CF-Talk Subject: Problem Exporting to Excel on CFMX Hello All, I have a strange situation happening.I have some code that displays a report and has a link to export the page to excel. My link looks like this a href=""> efrom#dateto=#url.dateto#fromamount=#url.fromamount#toamoun t=#url.toamount#list=byBillDateExport to Excel/a Then to action page has this CFCONTENT TYPE=application/msexcel; name=trackingreport.xls CFHEADER NAME=Content-Disposition VALUE=attachment; filename=trackingreport.xls And then the rest of the code. The strange thing is that this works fine on netscape but does not work for IE.(that's a first for me) When I click on the link I get an error box that says Internet Explorer cannot download ... nt=toamount=list=bylistdate from www.mydomain.com I can't figure out why this is not working. Can anyone point me in the right direction? Thanks in advance. Mike [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: java cfx tag - returning integer variable
Quick followup for the archives, the compiler was still saying int cannot be dereferenced, but this got me on the right track, and Integer.toString(result) did the trick. -- jon mailto:[EMAIL PROTECTED] Tuesday, October 14, 2003, 11:35:56 AM, you wrote: CD setVariable will ony return strings, just turn the int into a string. CD Try, CD response.setVariable(fedex.statusCode, result.toString() ); CD or CD String strResult = result.toString(); CD response.setVariable(fedex.statusCode, strResult ); CD -Original Message- CD From: jon hall [mailto:[EMAIL PROTECTED] CD Sent: 14 October 2003 16:35 CD To: CF-Talk CD Subject: java cfx tag - returning integer variable CD I'm having trouble setting an integer response variable in my cfx tag. CD Here is the compiler error: CD fedex.java:125: setVariable(java.lang.String,java.lang.String) in CD com.allaire.cfx.Response CD cannot be applied to (java.lang.String,int) CD response.setVariable(fedex.statusCode, result); CD Here is the applicable code. If I change result to any string value it CD compiles fine. I've even tried casting result to a string...no luck. CD int result = httpclient.executeMethod(post); CD response.setVariable(fedex.statusCode, result); CD response.setVariable(fedex.response, post.getResponseBodyAsString()); CD Is it possible to return an integer value to CF? [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re:flash remoting and dotted directories
Why is using a Flash site to talk to MySQl via CFCs a wierd config ? I meant MySQL in Windows with CFM using ODBC. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
CFC OOP - recursive error handling
Now that I have begun to delve deeper into CFC development, and the Object Oriented model, I have run into a speedbump. I have a cffunction that is recursive, and along the path of processing there are several errors checks that occur. Some minor, that continue processing, and some major that halt processing. Now, I need to find a smart way to handle these errors. Does anyone have an idea? A struct, array, string,db ??? How should the data set be structured??? I want to be able to return all non-critical errors to the user, and only abort if there is a critical error. Also, there's been much coverage on using VAR to keep the scope of a variable local to a CFFUNCTION instance, but how can I make sure that my variable spans the scope of the entire call (including recursions), without scoping any other calls? Should I use a Request scope, or is there something better? I fear using session scope as the user may have multiple requests to my CFC running concurrently. TIA, Igor cccfug.org [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: flash remoting and dotted directories
Yes thats what I was thinking.Nothing wierd about that,perfectly normal/good use of CFCs -Original Message- From: Tim Blair [mailto:[EMAIL PROTECTED] Sent: 14 October 2003 15:40 To: CF-Talk Subject: RE: flash remoting and dotted directories I am developing a flash-based site that uses CFCs to communicate with a MySQL database under Windows (yea... I know it's a weird config). Why is using a Flash site to talk to MySQl via CFCs a wierd config? He is using Flash Remoting. It makes the data transfer between Flash and CF much easier and faster. Yes, but that's not wierd in any way - that's what it's there for. We've done numerous projects using a flash frontend talking to a CFMX backend (CFCs) running on Linux and using MySQL as the database.If that makes a weird config well then I guess I'm weird.:) Tim. --- OUR NEW SITE IS NOW LIVE Visit our new website at http://www.rawnet.com/ http://www.rawnet.com/ and race around the beautiful Bracknell streets at http://xmas.rawnet.com/ 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. --- _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Problem Exporting to Excel on CFMX
try using this content??? cfcontent type=application/vnd.ms-excel Also, comment out your cfheader and cfconent and make sure your code is running correctly.Make sure you turn off debugging too for this page. Doug -Original Message- From: Mickael [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 10:55 AM To: CF-Talk Subject: Problem Exporting to Excel on CFMX Hello All, I have a strange situation happening.I have some code that displays a report and has a link to export the page to excel. My link looks like this a href="" to Excel/a Then to action page has this CFCONTENT TYPE=application/msexcel; name=trackingreport.xls CFHEADER NAME=Content-Disposition VALUE=attachment; filename=trackingreport.xls And then the rest of the code. The strange thing is that this works fine on netscape but does not work for IE.(that's a first for me) When I click on the link I get an error box that says Internet Explorer cannot download ... nt=toamount=list=bylistdate from www.mydomain.com I can't figure out why this is not working. Can anyone point me in the right direction? Thanks in advance. Mike _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
CFMX forum?
I've noticed a couple of CFMX-based blogging apps out there, but haven't found any off-the-shelf forum apps yet. Are there any good ones? thanks, Gyrus [EMAIL PROTECTED] http://norlonto.net/gyrus/dev/ PGP key available [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CFC OOP - recursive error handling
how can I make sure that my variable spans the scope of the entire call (including recursions), without scoping any other calls? If you're reinstantiating the CFC every time you make a request (i.e. not persisting the instance anywhere such as the session or application scope) then you can just use the variables scope. 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. --- [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: flash remoting and dotted directories
Aha ! I think the wierd config comes from the fact that MYSQL is being used on Windows as opposed to Linux Sorry,I misread ! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 14 October 2003 17:05 To: CF-Talk Subject: RE: flash remoting and dotted directories Yes thats what I was thinking.Nothing wierd about that,perfectly normal/good use of CFCs -Original Message- From: Tim Blair [mailto:[EMAIL PROTECTED] Sent: 14 October 2003 15:40 To: CF-Talk Subject: RE: flash remoting and dotted directories I am developing a flash-based site that uses CFCs to communicate with a MySQL database under Windows (yea... I know it's a weird config). Why is using a Flash site to talk to MySQl via CFCs a wierd config? He is using Flash Remoting. It makes the data transfer between Flash and CF much easier and faster. Yes, but that's not wierd in any way - that's what it's there for. We've done numerous projects using a flash frontend talking to a CFMX backend (CFCs) running on Linux and using MySQL as the database.If that makes a weird config well then I guess I'm weird.:) Tim. --- OUR NEW SITE IS NOW LIVE Visit our new website at http://www.rawnet.com/ http://www.rawnet.com/ http://www.rawnet.com/ and race around the beautiful Bracknell streets at http://xmas.rawnet.com/ http://xmas.rawnet.com/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. --- _ _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CFMX forum?
I think the ones that MACR uses are excellent. If you want a free one, you can download a CFC based one I built a while ago from my web site for free, but it defintely needs a 'prettier' skin. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Web imap email
Anyone know of any free or near free products out there that interface to the IMAP protocol. Robert Everland III Web Developer Fidelity Integrated Financial Solutions A Division of Fidelity National Financial 601 South Lake Destiny Drive Suite 300 Maitland, FL 32751-7263 Phone:407-875-1818 x4568 Fax:407-475-0400 Email:[EMAIL PROTECTED] [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Web imap email
SquirrelMail is very nice.So is TWIG.Both are free use IMAP.I've used them both, and prefer SquirrelMail, but TWIG is a little faster, but not as feature-rich. http://www.squirrelmail.org http://twig.screwdriver.net/ -Original Message- From: Everland, Robert [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 1:08 PM To: CF-Talk Subject: Web imap email Anyone know of any free or near free products out there that interface to the IMAP protocol. Robert Everland III Web Developer Fidelity Integrated Financial Solutions A Division of Fidelity National Financial 601 South Lake Destiny Drive Suite 300 Maitland, FL 32751-7263 Phone:407-875-1818 x4568 Fax:407-475-0400 Email:[EMAIL PROTECTED] [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
re: Speeding up applications
Hi, I have an application that lists directory structuctues on the server using cfdirectory. Some of these directories can be quite large and I'm finding at times its taking longer to display the directories/files. Is there any settings in the CF Administrator that would spped up things. Current;y all settings are default. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Web imap email
Any linux box running Courier-IMAP, or similar packages...These normally run on top of Sendmail, Postfix, qmail, or some other message transfer agent.They're all open source. If you visit the user documentation pages at the Gentoo linux website, they have a guide for setting up an email server, with virtual hosting, and web based IMAP services.The guide is Gentoo specific, but only in terms of installing the packages.Configuration of the packages would be the same regardless of the Linux flavor being used (though file locations may change). ( http://www.gentoo.org/doc/en/virt-mail-howto.xml http://www.gentoo.org/doc/en/virt-mail-howto.xml ) Hope this helps. Shawn -Original Message- From: Everland, Robert [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 11:08 AM To: CF-Talk Subject: Web imap email Anyone know of any free or near free products out there that interface to the IMAP protocol. Robert Everland III Web Developer Fidelity Integrated Financial Solutions A Division of Fidelity National Financial 601 South Lake Destiny Drive Suite 300 Maitland, FL 32751-7263 Phone:407-875-1818 x4568 Fax:407-475-0400 Email:[EMAIL PROTECTED] _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
CFC OOP - recursive error handling
Now that I have begun to delve deeper into CFC development, and the Object Oriented model, I have run into a speedbump. I have a cffunction that is recursive, and along the path of processing there are several errors checks that occur. Some minor, that continue processing, and some major that halt processing. Now, I need to find a smart way to handle these errors. Does anyone have an idea? A struct, array, string,db ??? How should the data set be structured??? I want to be able to return all non-critical errors to the user, and only abort if there is a critical error. Also, there's been much coverage on using VAR to keep the scope of a variable local to a CFFUNCTION instance, but how can I make sure that my variable spans the scope of the entire call (including recursions), without scoping any other calls? Should I use a Request scope, or is there something better? I fear using session scope as the user may have multiple requests to my CFC running concurrently. TIA, Igor cccfug.org [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: multiple inserts, no solution, thx but one more question
Thx for all who wrote. It works now. (I'm using Access2000) RE: The CreateODBCDate. It works well. Thx. I didn't think it was necessary. Combining fields in the SQL usually works well but this seems much better in this case. RE: cftransaction / cftry / cfcatch -- thx, I see why it's necessary. RE: looping the list of dates right now I have: cfset date1=#DateFormat(CreateODBCDate(createdate(form.year1,form.month1,form.day1 )),mm/dd/)# cfset date2=#DateFormat(CreateODBCDate(createdate(form.year2,form.month2,form.day2 )),mm/dd/)# cfset date3=#DateFormat(CreateODBCDate(createdate(form.year3,form.month3,form.day3 )),mm/dd/)# cfset date4=#DateFormat(CreateODBCDate(createdate(form.year4,form.month4,form.day4 )),mm/dd/)# cfset dateList=#date1#,#date2#,#date3#,#date4# It works, but is very inelegant. How would one loop through the above? you can't do a cfloop from=1 to=4 index=myIndex cfset date#myIndex#= ...form.year#myIndex#,form.month#myIndex# ... /cfloop so what would one do it if there were 10 inserts or 50? Gil -Original Message- From: Pete Ruckelshaus [mailto:[EMAIL PROTECTED] Sent: Monday, October 13, 2003 3:16 PM To: CF-Talk Subject: Re: multiple inserts, no solution You didn't mention what DB you are using.I have done exactly this on Oracle, using the following code: cfquery name=FaveItems datasource=#request.app.dsn# INSERT INTOtr_gui_favorites SELECT cfqueryparam cfsqltype=CF_SQL_NUMERIC value=#REQUEST.CFA.REQUESTOR_ID#, cfqueryparam cfsqltype=CF_SQL_VARCHAR value=#type_cd#, column_value FROM ( SELECT column_value from TABLE (cast(numTableType(cfqueryparam cfsqltype=CF_SQL_VARCHAR list=Yes value=#FaveItems# separator=,) as numTableType)) ) /cfquery Obviously, you'll need to make changes to this, but it might require firing the neurons up a bit. Pete - Original Message - From: mayo To: CF-Talk Sent: Monday, October 13, 2003 10:52 AM Subject: multiple inserts, no solution BACKGROUND INFO: I'm creating an admin form allowing a user to enter class schedules. Class Title, Class Description, Class Time, Class Price are all simple inserts. The problem comes in when entering the class dates. There are sometimes one class, sometimes two, four or six. Often times they will be one week apart, but not always. example: Class 1 will meet at 2PM on Tuesday the 1st, the 8th, the 15th, the 22nd. The admin page allows the user to put in the dates desired by clicking on the appropriate calendar day. PROBLEM: One click should allow the user to input 2 or more class dates. A straight loop cfloop from=1 to=#classQty# tries to input multiple class days into the classDate field. example of error below: INSERT INTO classDates ( classID, classDay, classSession, classDates, classTime ) VALUES ( '5', 'Mon', '1', '2003,2003,2003,2003/10,10,10,10/1,8,15,22', '12:00-2:00' ) SOLUTION ???: I had thought that I could do something like the following cfoutput cfloop from=1 to=#FORM.number# index=getClassDate cfset date=#FORM.month##getClassDate#/#FORM.day1##getClassDate#/#FORM.year 1##getClassDate# cfquery name= datasource= INSERT INTO classDates ( classID, classDay, classSession, classDates, classTime ) VALUES ( '#FORM.classID#', '#FORM.classDay#', '#FORM.classSession#', '#date#', '#FORM.classTime#' ) /cfquery /cfloop /cfoutput I see why it doesn't work. So, how does one do multiple inserts of this kind? Gilbert Midonnet [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Symbolic links treated differently? - SOLVED
Thanks for the reply Barney. Its nice to know the source of the issue. Thanks, Casey Cook [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Speeding up applications
There are a variety of ways to speed up things, but nothing in the Admin that really pertains to this. Here are just a few simple ideas: 1) You can speed up the _perceived_ speed of things by using cfflush as you display the directory. 2) You can cache the results of the directory, or even the display, in a persistent variable. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Speeding up applications
--Original Message Text--- From: Raymond Camden Date: Tue, 14 Oct 2003 12:35:52 -0500 There are a variety of ways to speed up things, but nothing in the Admin that really pertains to this. Here are just a few simple ideas: 1) You can speed up the _perceived_ speed of things by using cfflush as you display the directory. I've never used cfflush before. Where would that be placed in my application. At the end of my directory/file display? 2) You can cache the results of the directory, or even the display, in a persistent variable. Yikes...do you have any examples? [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: multiple inserts, no solution, thx but one more question
There is a list form of the cfloop tag, cfloop list=#listVar# index=item cfoutputItem = #Item#/cfoutput /cfloop This will loop over each element in a list placing the value in the variable Item which can then be used in the body of the loop. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA -Original Message- From: mayo [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 10:34 AM To: CF-Talk Subject: RE: multiple inserts, no solution, thx but one more question Thx for all who wrote. It works now. (I'm using Access2000) RE: The CreateODBCDate. It works well. Thx. I didn't think it was necessary. Combining fields in the SQL usually works well but this seems much better in this case. RE: cftransaction / cftry / cfcatch -- thx, I see why it's necessary. RE: looping the list of dates right now I have: cfset date1=#DateFormat(CreateODBCDate(createdate(form.year1,form.month1,form.day1 )),mm/dd/)# cfset date2=#DateFormat(CreateODBCDate(createdate(form.year2,form.month2,form.day2 )),mm/dd/)# cfset date3=#DateFormat(CreateODBCDate(createdate(form.year3,form.month3,form.day3 )),mm/dd/)# cfset date4=#DateFormat(CreateODBCDate(createdate(form.year4,form.month4,form.day4 )),mm/dd/)# cfset dateList=#date1#,#date2#,#date3#,#date4# It works, but is very inelegant. How would one loop through the above? you can't do a cfloop from=1 to=4 index=myIndex cfset date#myIndex#= ...form.year#myIndex#,form.month#myIndex# ... /cfloop so what would one do it if there were 10 inserts or 50? Gil -Original Message- From: Pete Ruckelshaus [mailto:[EMAIL PROTECTED] Sent: Monday, October 13, 2003 3:16 PM To: CF-Talk Subject: Re: multiple inserts, no solution You didn't mention what DB you are using.I have done exactly this on Oracle, using the following code: cfquery name=FaveItems datasource=#request.app.dsn# INSERT INTOtr_gui_favorites SELECT cfqueryparam cfsqltype=CF_SQL_NUMERIC value=#REQUEST.CFA.REQUESTOR_ID#, cfqueryparam cfsqltype=CF_SQL_VARCHAR value=#type_cd#, column_value FROM ( SELECT column_value from TABLE (cast(numTableType(cfqueryparam cfsqltype=CF_SQL_VARCHAR list=Yes value=#FaveItems# separator=,) as numTableType)) ) /cfquery Obviously, you'll need to make changes to this, but it might require firing the neurons up a bit. Pete - Original Message - From: mayo To: CF-Talk Sent: Monday, October 13, 2003 10:52 AM Subject: multiple inserts, no solution BACKGROUND INFO: I'm creating an admin form allowing a user to enter class schedules. Class Title, Class Description, Class Time, Class Price are all simple inserts. The problem comes in when entering the class dates. There are sometimes one class, sometimes two, four or six. Often times they will be one week apart, but not always. example: Class 1 will meet at 2PM on Tuesday the 1st, the 8th, the 15th, the 22nd. The admin page allows the user to put in the dates desired by clicking on the appropriate calendar day. PROBLEM: One click should allow the user to input 2 or more class dates. A straight loop cfloop from=1 to=#classQty# tries to input multiple class days into the classDate field. example of error below: INSERT INTO classDates ( classID, classDay, classSession, classDates, classTime ) VALUES ( '5', 'Mon', '1', '2003,2003,2003,2003/10,10,10,10/1,8,15,22', '12:00-2:00' ) SOLUTION ???: I had thought that I could do something like the following cfoutput cfloop from=1 to=#FORM.number# index=getClassDate cfset date=#FORM.month##getClassDate#/#FORM.day1##getClassDate#/#FORM.year 1##getClassDate# cfquery name= datasource= INSERT INTO classDates ( classID, classDay, classSession, classDates, classTime ) VALUES ( '#FORM.classID#', '#FORM.classDay#', '#FORM.classSession#', '#date#', '#FORM.classTime#' ) /cfquery /cfloop /cfoutput I see why it doesn't work. So, how does one do multiple inserts of this kind? Gilbert Midonnet _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Speeding up applications
1) You can speed up the _perceived_ speed of things by using cfflush as you display the directory. I've never used cfflush before. Where would that be placed in my application. At the end of my directory/file display? It's used while you display. Let's say you are looping over lots and lots of crap, you can use cfflush to output the content as it is generated: cfloop index=x from=1 to=A really, really big number cfoutputx is #x#br/cfoutput cfflush /cfloop There are a few issues with cfflush, see the docs. One thing not mentioned in the docs is a browser issue. IE will help you by not showing anything until it gets enough content. You can use cfoutput#repeatString( ,250)#/cfoutput to force it to display. 2) You can cache the results of the directory, or even the display, in a persistent variable. Yikes...do you have any examples? Sure. Imagine you want to cache the directory of your web root: cfif not isDefined(application.webdir) cfdirectory action="" directory=d:\web name=application.webdir /cfif cfdump var=#application.webdir# [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Speeding up applications
--Original Message Text--- From: Raymond Camden Date: Tue, 14 Oct 2003 12:48:13 -0500 1) You can speed up the _perceived_ speed of things by using cfflush as you display the directory. I've never used cfflush before. Where would that be placed in my application. At the end of my directory/file display? It's used while you display. Let's say you are looping over lots and lots of crap, you can use cfflush to output the content as it is generated: cfloop index=x from=1 to=A really, really big number cfoutputx is #x#br/cfoutput cfflush /cfloop OK...I have one part in my application where I'm doing a cfloop within another cfloop. Do I require the cfflush just once before the last /cfloop? cfloop... cfloop... do crap... /cfloop CFFLUSH /cfloop ?? There are a few issues with cfflush, see the docs. One thing not mentioned in the docs is a browser issue. IE will help you by not showing anything until it gets enough content. You can use cfoutput#repeatString( ,250)#/cfoutput to force it to display. OK. 2) You can cache the results of the directory, or even the display, in a persistent variable. Yikes...do you have any examples? Sure. Imagine you want to cache the directory of your web root: cfif not isDefined(application.webdir) cfdirectory action="" directory=d:\web name=application.webdir /cfif cfdump var=#application.webdir# I see...thanks mon. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re:multiple inserts, no solution, thx but one more question
Gil, See Ian's advice on using a list loop. They are very handy for this situation, when you're using a comma delimited list! To set up your CFSET you'll sill need to use the evaluate function to create your date. This is the reason If you don't want to use a list loop as Ian suggested use the listlen function to determine the length of your comma delimited list in the from field. cfloop from=1 to=#listlen(form.year)# index=myIndex cfset variables.date=#DateFormat(CreateODBCDate(createdate(evalaute(form.year#myIndex#)#,#evalaute(form.month#myIndex#)#,#evaluate(form.day#myIndex#)# )),mm/dd/)# cftransaction cftry INSERT Query cfcatch /cfcatch /cftry /cftransaction /cfloop Jeremy Brodie Gil Wrote: right now I have: cfset date1=#DateFormat(CreateODBCDate(createdate(form.year1,form.month1,form.day1 )),mm/dd/)# cfset date2=#DateFormat(CreateODBCDate(createdate(form.year2,form.month2,form.day2 )),mm/dd/)# cfset date3=#DateFormat(CreateODBCDate(createdate(form.year3,form.month3,form.day3 )),mm/dd/)# cfset date4=#DateFormat(CreateODBCDate(createdate(form.year4,form.month4,form.day4 )),mm/dd/)# cfset dateList=#date1#,#date2#,#date3#,#date4# It works, but is very inelegant. How would one loop through the above? you can't do a cfloop from=1 to=4 index=myIndex cfset date#myIndex#= ...form.year#myIndex#,form.month#myIndex# ... /cfloop [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: developing java cfx
It has to do with where you keep your class file and other settings in the CF administrator.Contact me off list if you would like to know how we have our server set up to avoid this. Jeff Sarsoun -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 6:55 AM To: CF-Talk Subject: Re: developing java cfx No wonder those Java guys get paid so much! -- mailto:[EMAIL PROTECTED] Tuesday, October 14, 2003, 6:43:47 AM, you wrote: AM This is a known issue, no way around it as far as I recall other than AM getting your code right first time :-) AM -Original Message- AM From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] AM Sent: 14 October 2003 10:28 AM To: CF-Talk AM Subject: developing java cfx AM According the the CF docs reload=always is supposed to keep me from AM having to restart CF everytime I recompile my cfx tag, but it doesn't AM seem to be working. How do you guys do it? _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Speeding up applications
OK...I have one part in my application where I'm doing a cfloop within another cfloop. Do I require the cfflush just once before the last /cfloop? cfloop... cfloop... do crap... /cfloop CFFLUSH /cfloop ?? It depends. Imagine the outer loop is looping 10 times, yet the inner loop is looping 1 million times. You'd want the cfflush inside the inner loop. I'd day just play and see. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Speeding up applications
Thanks --Original Message Text--- From: Raymond Camden Date: Tue, 14 Oct 2003 13:04:00 -0500 OK...I have one part in my application where I'm doing a cfloop within another cfloop. Do I require the cfflush just once before the last /cfloop? cfloop... cfloop... do crap... /cfloop CFFLUSH /cfloop ?? It depends. Imagine the outer loop is looping 10 times, yet the inner loop is looping 1 million times. You'd want the cfflush inside the inner loop. I'd day just play and see. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Problem Exporting to Excel on CFMX
Yes I do, there is not much to it.It is only a few templates - Original Message - From: Tony Weeg To: CF-Talk Sent: Tuesday, October 14, 2003 11:56 AM Subject: RE: Problem Exporting to Excel on CFMX do you have the actual full code? ...tony tony weeg senior web applications architect navtrak, inc. www.navtrak.net [EMAIL PROTECTED] 410.548.2337 -Original Message- From: Mickael [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 11:54 AM To: CF-Talk Subject: Re: Problem Exporting to Excel on CFMX I am actually working on code that was inherited.I have tried it without and with the quotes still not working. But it works fine in Netscape the way it is displayed below which is strange. Mike - Original Message - From: Tony Weeg To: CF-Talk Sent: Tuesday, October 14, 2003 11:39 AM Subject: RE: Problem Exporting to Excel on CFMX why the multiple s CFCONTENT TYPE=application/msexcel; name=trackingreport.xls CFHEADER NAME=Content-Disposition VALUE=attachment; filename=trackingreport.xls ...tony tony weeg senior web applications architect navtrak, inc. www.navtrak.net [EMAIL PROTECTED] 410.548.2337 -Original Message- From: Mickael [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 11:38 AM To: CF-Talk Subject: Re: Problem Exporting to Excel on CFMX Hi Sam, I am not that is the case my file is only 14kb I don't really have that much whitespace in my code.Is there anything else you guys did? Mike - Original Message - From: Samuel Neff To: CF-Talk Sent: Tuesday, October 14, 2003 11:28 AM Subject: RE: Problem Exporting to Excel on CFMX We've had this problem when the generated Excel files is too big (not exactly sure what too-big is, but ours were about 2mb).IE tries to send it to Excel prematurely. In our case we had a lot of whitespace we removed that fixed the problem. HTH, Sam -- Blog:http://www.rewindlife.com Chart: http://www.blinex.com/products/charting -- -Original Message- From: Mickael [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 10:55 AM To: CF-Talk Subject: Problem Exporting to Excel on CFMX Hello All, I have a strange situation happening.I have some code that displays a report and has a link to export the page to excel. My link looks like this a href=""> efrom#dateto=#url.dateto#fromamount=#url.fromamount#toamoun t=#url.toamount#list=byBillDateExport to Excel/a Then to action page has this CFCONTENT TYPE=application/msexcel; name=trackingreport.xls CFHEADER NAME=Content-Disposition VALUE=attachment; filename=trackingreport.xls And then the rest of the code. The strange thing is that this works fine on netscape but does not work for IE.(that's a first for me) When I click on the link I get an error box that says Internet Explorer cannot download ... nt=toamount=list=bylistdate from www.mydomain.com I can't figure out why this is not working. Can anyone point me in the right direction? Thanks in advance. Mike [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
cfhttp stability with CF 5.0 on Solaris
Hi all- I have a tag that talks to usps to get pricing information on international shipments. The tag was working fine for awhile, and now 9 times out of 10 the cfhttp.filecontent variable will come back empty. Here is some other information from a dump of the cfhttp variable. DUMP: FILECONTENT: HEADER: HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Tue, 14 Oct 2003 16:06:49 GMT MIMETYPE: Unable to determine MIME type of file. RESPONSE- HEADER: DATE Tue, 14 Oct 2003 16:06:49 GMT RESPONSE- EXPLANATION: OK RESPONSE- HTTP_VERSON: HTTP/1.1 RESPONSE- SERVER: Microsoft-IIS/5.0 RESPONSE- STATUS_CODE: 200 STATUSCODE: 200 Success What is returned from the USPS site is XML. Anyone seen this problem before? I've run the same script on Windows, Linux - everywhere else it works fine. Just can't get it to run on the Solaris box. System info: Solaris version is 5.9 webserver Apache/1.3.27 Ben-SSL/1.48 (Unix) CF professional Version5, 0, 0, 0 OS Build NumberGeneric_112233-04 thanks in advance. _ walker fenton [EMAIL PROTECTED] 303.722.5473 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Problem Exporting to Excel on CFMX
have you tried ditching this idea, using a cfsavecontent block, then writing that whole variable to an excel file, then cflocate'ing the user to that url?then do a cffile action = ""> to the file name?seems easier and you would be taking the browsers bitching out of the equation. ...tony tony weeg senior web applications architect navtrak, inc. www.navtrak.net [EMAIL PROTECTED] 410.548.2337 -Original Message- From: Mickael [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 2:07 PM To: CF-Talk Subject: Re: Problem Exporting to Excel on CFMX Yes I do, there is not much to it.It is only a few templates - Original Message - From: Tony Weeg To: CF-Talk Sent: Tuesday, October 14, 2003 11:56 AM Subject: RE: Problem Exporting to Excel on CFMX do you have the actual full code? ...tony tony weeg senior web applications architect navtrak, inc. www.navtrak.net [EMAIL PROTECTED] 410.548.2337 -Original Message- From: Mickael [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 11:54 AM To: CF-Talk Subject: Re: Problem Exporting to Excel on CFMX I am actually working on code that was inherited.I have tried it without and with the quotes still not working. But it works fine in Netscape the way it is displayed below which is strange. Mike - Original Message - From: Tony Weeg To: CF-Talk Sent: Tuesday, October 14, 2003 11:39 AM Subject: RE: Problem Exporting to Excel on CFMX why the multiple s CFCONTENT TYPE=application/msexcel; name=trackingreport.xls CFHEADER NAME=Content-Disposition VALUE=attachment; filename=trackingreport.xls ...tony tony weeg senior web applications architect navtrak, inc. www.navtrak.net [EMAIL PROTECTED] 410.548.2337 -Original Message- From: Mickael [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 11:38 AM To: CF-Talk Subject: Re: Problem Exporting to Excel on CFMX Hi Sam, I am not that is the case my file is only 14kb I don't really have that much whitespace in my code.Is there anything else you guys did? Mike - Original Message - From: Samuel Neff To: CF-Talk Sent: Tuesday, October 14, 2003 11:28 AM Subject: RE: Problem Exporting to Excel on CFMX We've had this problem when the generated Excel files is too big (not exactly sure what too-big is, but ours were about 2mb).IE tries to send it to Excel prematurely. In our case we had a lot of whitespace we removed that fixed the problem. HTH, Sam -- Blog:http://www.rewindlife.com Chart: http://www.blinex.com/products/charting -- -Original Message- From: Mickael [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 10:55 AM To: CF-Talk Subject: Problem Exporting to Excel on CFMX Hello All, I have a strange situation happening.I have some code that displays a report and has a link to export the page to excel. My link looks like this a href=""> efrom#dateto=#url.dateto#fromamount=#url.fromamount#toamoun t=#url.toamount#list=byBillDateExport to Excel/a Then to action page has this CFCONTENT TYPE=application/msexcel; name=trackingreport.xls CFHEADER NAME=Content-Disposition VALUE=attachment; filename=trackingreport.xls And then the rest of the code. The strange thing is that this works fine on netscape but does not work for IE.(that's a first for me) When I click on the link I get an error box that says Internet Explorer cannot download ... nt=toamount=list=bylistdate from www.mydomain.com I can't figure out why this is not working. Can anyone point me in the right direction? Thanks in advance. Mike [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Setting Locale for Application
what's localized in java is hit miss. Just out of Curiosity... Would it be right to say... CFMX implements the Java API for almost all Basic Functionality, Except for things like Verity Search, maybe some graphing. If CFMX didnt do the above.. How can it be Java Verified / J2EE Certified? My understanding is CFMX Implements GregorianCalendar, so does it implement Localization stuff from Java API's...might be wrong here.. Maybe someone from MM development Team can explain how Localization is Implemented within CFMX. Thanks, Joe Eugene -Original Message- From: Paul Hastings [mailto:[EMAIL PROTECTED] Sent: Monday, October 13, 2003 6:57 PM To: CF-Talk Subject: Re: Setting Locale for Application Do you have a correct way of displaying BERLIN TimeZone (Date/Time) + IN-GERMAN LOCALE? what's localized in java is hit miss. not everything's localized nor is it localized to the same level. and that is all i shall say on the subject. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: multiple inserts, no solution, THX ALL
thx all -Original Message- From: Jeremy Brodie [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 2:02 PM To: CF-Talk Subject: Re:multiple inserts, no solution, thx but one more question Gil, See Ian's advice on using a list loop. They are very handy for this situation, when you're using a comma delimited list! To set up your CFSET you'll sill need to use the evaluate function to create your date. This is the reason If you don't want to use a list loop as Ian suggested use the listlen function to determine the length of your comma delimited list in the from field. cfloop from=1 to=#listlen(form.year)# index=myIndex cfset variables.date=#DateFormat(CreateODBCDate(createdate(evalaute(form.year#myI ndex#)#,#evalaute(form.month#myIndex#)#,#evaluate(form.day#myIndex#)# )),mm/dd/)# cftransaction cftry INSERT Query cfcatch /cfcatch /cftry /cftransaction /cfloop Jeremy Brodie Gil Wrote: right now I have: cfset date1=#DateFormat(CreateODBCDate(createdate(form.year1,form.month1,form.day 1 )),mm/dd/)# cfset date2=#DateFormat(CreateODBCDate(createdate(form.year2,form.month2,form.day 2 )),mm/dd/)# cfset date3=#DateFormat(CreateODBCDate(createdate(form.year3,form.month3,form.day 3 )),mm/dd/)# cfset date4=#DateFormat(CreateODBCDate(createdate(form.year4,form.month4,form.day 4 )),mm/dd/)# cfset dateList=#date1#,#date2#,#date3#,#date4# It works, but is very inelegant. How would one loop through the above? you can't do a cfloop from=1 to=4 index=myIndex cfset date#myIndex#= ...form.year#myIndex#,form.month#myIndex# ... /cfloop [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: .html page extension to process coldfusion code
I have problem when doing this. When I try to go to http://www.mysite.com and the default document is set to be mypage.dbm, I get an error that index.cfm can not be found! Why does it try to find index.cfm? The default document is set to mypage.dbm. If I type http://www.mysite.com/mypage.dbm it works fine. Its just when there is no file name it always looks for index.cfm. I am really stuck on this Brook At 08:42 AM 10/14/2003, you wrote: Thanks. Ketan Patel G3 Technology Group, LLC Graphics III Advertising, Inc. (410)789-7007 or (800)783-1799 It's Not Creative if it doesn't Sell. http://www.g3group.comhttp://www.g3group.com http://www.g3group.com -Original Message- From: Christine Lawson [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 10:56 AM To: CF-Talk Subject: RE: .html page extension to process coldfusion code Hi Ketan, We have an article that documents the steps for this, just substitute the .dbm for .htm: http://www.macromedia.com/support/coldfusion/ts/documents/tn18289.htmhttp://www.macromedia.com/support/coldfusion/ts/documents/tn18289.htm http://www.macromedia.com/support/coldfusion/ts/documents/tn18289.htm Regards, Christine -Original Message- From: Ketan Patel [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 10:18 AM To: CF-Talk Subject: RE: .html page extension to process coldfusion code Hi , What changes need to be done in CFMX to get it working. Ketan Patel G3 Technology Group, LLC Graphics III Advertising, Inc. (410)789-7007 or (800)783-1799 It's Not Creative if it doesn't Sell. http://www.g3group.comhttp://www.g3group.com http://www.g3group.comhttp://www.g3group.com -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 10:06 AM To: CF-Talk Subject: RE: .html page extension to process coldfusion code no problems, not until cfmx, when you have to make some xml page changes to get this to work, but in CF5.0 things are great. what changes? there are changes in the iis administrator where you tell the iis server to parse .html pages, the same way iis is told to parse .cfm files, it's the iscf.dll, dll, that you need to set in iis to parse files.heck, I even had it parse .ntk (navtrak) files like it does .cfm files. ...tony tony weeg senior web applications architect navtrak, inc. www.navtrak.net [EMAIL PROTECTED] 410.548.2337 -Original Message- From: Ketan Patel [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 10:09 AM To: CF-Talk Subject: .html page extension to process coldfusion code Hi, I want .html page extensions to process coldfusion code along with .cfm pages in CFMX and CF5.0 on Win2k server with IIS5.0. What exactly I need to change in IIS to make that change and are there any problems in doing that may occure. Will all CF tags and features will work on that .html page with CF code in it. Has anybody faced ever any problem by doing this. Ketan Patel G3 Technology Group, LLC http://www.instantpoistion.comhttp://www.instantpoistion.com http://www.instantpoistion.com _ -- [ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
CFTRANSACTION in CF5
All, I need to do a transaction on my SQL Server dB which includes a number of database lookups, executing some code between the lookups on the results of each lookup, and then do a series of database inserts/updates based on both the results and on some information passed into this transaction by CF.If there's a problem at any step, all of the inserts/updates have to be rolled back. I'm using CF5. It seems that CFTRANSACTION is the way to go. HOWEVER, I've been told that there have been lots of problems getting CFTRANSACTION to work on CF5, and instead migrated to doing a similar piece of functionality within a stored procedure, which works (and is fast). My sub-questions to you: [0.a]Have you ever failed to get CFTRANSACTION to work correctly in CF5? [0.b]Have you heard of any reasons to avoid CFTRANSACTION in CF5? [0.c]What are the main concerns of using CFTRANSACTION vs. stored procedure when there could be multiple CF servers hitting a remote dB?(Besides just general delay issues with the dB being down during the CFTRANSACTION) [0.d]Which would you do (CFTRANSACTION / stored procedure) for CF5? Why? Thanks in advance! Cheers, +Craig [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
ADMIN: Double HTML Emails
Since the switch to HTML I have been receiving two copies of every mail. I emailed off list week ago without response. Anyone know how I can fix this? Adam Wayne Lehman Web Systems Developer Johns Hopkins Bloomberg School of Public Health Distance Education Division [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Using CFHTTP to download EPSes
Here's my tag: cfhttp url="" method=get path=#request.ImagePath# file=#ad_struct[loopCount].adID##request.filetype#.EPS?a=site/locationt=ts /f:eps Tag works fine for getting the JPG version of the image.But when adding the stuff to request the EPS version, nothing happens.However, if I hard code the EPS request URL into my browser window, works fine. Any thoughts, suggestions? H. ~~ Howard Owens Internet Operations Coordinator Ventura County Star / E.W. Scripps Co. www.venturacountystar.com [EMAIL PROTECTED] AIM: GoCatGo1956 ~~ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: ADMIN: Double HTML Emails
I am experiencing the same problem - Alex -Original Message- From: Adam Wayne Lehman [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 2:34 PM To: CF-Talk Subject: ADMIN: Double HTML Emails Since the switch to HTML I have been receiving two copies of every mail. I emailed off list week ago without response. Anyone know how I can fix this? Adam Wayne Lehman Web Systems Developer Johns Hopkins Bloomberg School of Public Health Distance Education Division _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Mail in Undelivr
Hey All, I'm having a problem where after we upgraded to CFMX, any mail that gets put into Undelivr, that we move back into the Spool, just stays there until the CF services are stopped and started.In CF4.5 that we just upgraded from, if I put mail from Undelivr into the Spool, it would move it immediately. You can understand that we don't to be stopping and starting the CF services unless absolutely necessary. Is there a way to get CFMX to move this e-mail without having to stop and start CF? We use: CFMX 6.0 Solaris 8 Thanks, Kevin [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: .html page extension to process coldfusion code
I supps you have restarted iis and cf? is this cfmx or cf5 ...tony tony weeg senior web applications architect navtrak, inc. www.navtrak.net [EMAIL PROTECTED] 410.548.2337 -Original Message- From: Brook Davies [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 2:33 PM To: CF-Talk Subject: RE: .html page extension to process coldfusion code I have problem when doing this. When I try to go to http://www.mysite.com and the default document is set to be mypage.dbm, I get an error that index.cfm can not be found! Why does it try to find index.cfm? The default document is set to mypage.dbm. If I type http://www.mysite.com/mypage.dbm it works fine. Its just when there is no file name it always looks for index.cfm. I am really stuck on this Brook At 08:42 AM 10/14/2003, you wrote: Thanks. Ketan Patel G3 Technology Group, LLC Graphics III Advertising, Inc. (410)789-7007 or (800)783-1799 It's Not Creative if it doesn't Sell. http://www.g3group.comhttp://www.g3group.com http://www.g3group.com -Original Message- From: Christine Lawson [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 10:56 AM To: CF-Talk Subject: RE: .html page extension to process coldfusion code Hi Ketan, We have an article that documents the steps for this, just substitute the .dbm for .htm: http://www.macromedia.com/support/coldfusion/ts/documents/tn18289.htm http://www.macromedia.com/support/coldfusion/ts/documents/tn18289.htm http://www.macromedia.com/support/coldfusion/ts/documents/tn18289.htm Regards, Christine -Original Message- From: Ketan Patel [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 10:18 AM To: CF-Talk Subject: RE: .html page extension to process coldfusion code Hi , What changes need to be done in CFMX to get it working. Ketan Patel G3 Technology Group, LLC Graphics III Advertising, Inc. (410)789-7007 or (800)783-1799 It's Not Creative if it doesn't Sell. http://www.g3group.comhttp://www.g3group.com http://www.g3group.comhttp://www.g3group.com -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 10:06 AM To: CF-Talk Subject: RE: .html page extension to process coldfusion code no problems, not until cfmx, when you have to make some xml page changes to get this to work, but in CF5.0 things are great. what changes? there are changes in the iis administrator where you tell the iis server to parse .html pages, the same way iis is told to parse .cfm files, it's the iscf.dll, dll, that you need to set in iis to parse files.heck, I even had it parse .ntk (navtrak) files like it does .cfm files. ...tony tony weeg senior web applications architect navtrak, inc. www.navtrak.net [EMAIL PROTECTED] 410.548.2337 -Original Message- From: Ketan Patel [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 10:09 AM To: CF-Talk Subject: .html page extension to process coldfusion code Hi, I want .html page extensions to process coldfusion code along with .cfm pages in CFMX and CF5.0 on Win2k server with IIS5.0. What exactly I need to change in IIS to make that change and are there any problems in doing that may occure. Will all CF tags and features will work on that .html page with CF code in it. Has anybody faced ever any problem by doing this. Ketan Patel G3 Technology Group, LLC http://www.instantpoistion.comhttp://www.instantpoistion.com http://www.instantpoistion.com _ -- [ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: ADMIN: Double HTML Emails
mike, I am NOT experiencing the same problem. ...tony tony weeg senior web applications architect navtrak, inc. www.navtrak.net [EMAIL PROTECTED] 410.548.2337 -Original Message- From: DeMarco, Alex [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 2:36 PM To: CF-Talk Subject: RE: ADMIN: Double HTML Emails I am experiencing the same problem - Alex -Original Message- From: Adam Wayne Lehman [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 2:34 PM To: CF-Talk Subject: ADMIN: Double HTML Emails Since the switch to HTML I have been receiving two copies of every mail. I emailed off list week ago without response. Anyone know how I can fix this? Adam Wayne Lehman Web Systems Developer Johns Hopkins Bloomberg School of Public Health Distance Education Division _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Using CFHTTP to download EPSes
Never mind ... found the problem ... wrong code in one of the attributes. H. ~~ Howard Owens Internet Operations Coordinator Ventura County Star / E.W. Scripps Co. www.venturacountystar.com [EMAIL PROTECTED] AIM: GoCatGo1956 ~~ -Original Message- From: Owens, Howard [SMTP:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 11:32 AM To: CF-Talk Subject: Using CFHTTP to download EPSes Here's my tag: cfhttp url="" method=get path=#request.ImagePath# file=#ad_struct[loopCount].adID##request.filetype#.EPS?a=site/locationt= ts /f:eps Tag works fine for getting the JPG version of the image.But when adding the stuff to request the EPS version, nothing happens.However, if I hard code the EPS request URL into my browser window, works fine. Any thoughts, suggestions? H. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
How to deliver up the page and continuing processing?
How do you (can you) make a CFM template deliver up the current Web page (template) then move on to process other info, e.g., update DB, sends some emails, etc? This is not parallel processing. More like finish and deliver up the current page then proceed on to another template. In this case the info the Web page visitors will be served up is not dependent on completion of all process. Some of the follow on processing could get delayed, and we want to avoid delaying viewing by the user. I know -- a question like this often solicits a ton of responses such as that shouldn't be a concern with good programming, on a good server, etc. Please spare me that lecture :-) Thanks, Nick [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Web imap email
Everland, Robert wrote: Anyone know of any free or near free products out there that interface to the IMAP protocol. Bluedragon http://www.newatlanta.com/ Jochem [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: CFTRANSACTION in CF5
Craig Michael Nathan wrote: My sub-questions to you: [0.a]Have you ever failed to get CFTRANSACTION to work correctly in CF5? No. [0.b]Have you heard of any reasons to avoid CFTRANSACTION in CF5? No. [0.c]What are the main concerns of using CFTRANSACTION vs. stored procedure when there could be multiple CF servers hitting a remote dB?(Besides just general delay issues with the dB being down during the CFTRANSACTION) Why would a db be down duringa transaction? [0.d]Which would you do (CFTRANSACTION / stored procedure) for CF5? Why? Depends on the task at hand. Jochem [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re:ADMIN: Double HTML Emails
I have a clue (9 more and I get a life) about whats happening and will get right on it. Anyone else with duplicate issues, please email me off list. Thanks [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: How to deliver up the page and continuing processing?
No lecture, but CFFLUSH might do the job for you.Build your page to flush the display content as it's available, and though the last /html tag is written, it can still to all sorts of stuff in the background after the page has been painted. - Jim Nick Baker wrote: How do you (can you) make a CFM template deliver up the current Web page (template) then move on to process other info, e.g., update DB, sends some emails, etc? This is not parallel processing. More like finish and deliver up the current page then proceed on to another template. In this case the info the Web page visitors will be served up is not dependent on completion of all process. Some of the follow on processing could get delayed, and we want to avoid delaying viewing by the user. I know -- a question like this often solicits a ton of responses such as that shouldn't be a concern with good programming, on a good server, etc. Please spare me that lecture :-) Thanks, Nick [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Problem Exporting to Excel on CFMX
the cfcontent and cfheader here serve two different purposes.cfcontent tells the browser what type of file it is, in this case Excel (another posted application/vnd.ms-excel which I believe is the more commonly used mime type).I've never see a name= inside a cfcontent tag.I don't think that's correct and I would suggest removing it. The Content-Disposition header tells the browser what to do with the file. In the case of IE, it will often display content inline using OLE which is ugly and hard to use.Declaring it to be an attachment forces it to open in the full application which is usually what's desired. I've always found Netscape to be more reliable for this stuff... all it does is forward stuff to the right app as requested.IE tries to get helpful and messes things up.At least that's my interpretation. Sam -- Blog:http://www.rewindlife.com Chart: http://www.blinex.com/products/charting -- -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 11:40 AM To: CF-Talk Subject: RE: Problem Exporting to Excel on CFMX why the multiple s CFCONTENT TYPE=application/msexcel; name=trackingreport.xls CFHEADER NAME=Content-Disposition VALUE=attachment; filename=trackingreport.xls ...tony [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]