Re: Issues with Script Protect

2008-10-17 Thread Dave Watts
The issue is it keeps getting turned back on in the CFADMIN. I literally log back in, and it's enabled (box checked) I've also checked to make sure it's not just my browser re-selecting it too, I've logged into the CFADMIN from multiple browsers on different computers... It's weird. I've

Re: Is it possible to trigger a link on a web page and trigger a download?

2008-10-17 Thread Dave Watts
Before I go digging around and start trying to code a solution, I'd like to know if what I'm trying to do is even possible. I'm trying to automate the downloading of data from a site. First, I have to go to a login page, enter my username and password, then I'm taken to the download page.

RE: Issues with Script Protect

2008-10-17 Thread Adrian Lynch
It would've been funny if someone else sent a message to CF-Talk titled 'Issues with Script Protect', saying It keeps turning itself off! :OD Taking Dave's point a step futher, hunt down the config file that stores the on/off switch and change it manually. Backup first etc. If it goes wrong, I

Re: Is it possible to trigger a link on a web page and trigger a download?

2008-10-17 Thread Rick Faircloth
Thanks for the feedback, Dave. At least I know it's possible. Rick Dave Watts wrote: Before I go digging around and start trying to code a solution, I'd like to know if what I'm trying to do is even possible. I'm trying to automate the downloading of data from a site. First, I have to go

RE: Imagecr3 vs cf8 cfimage

2008-10-17 Thread Gaulin, Mark
For what it's worth, I've been sing imagecr3 for years but recently could not get the tag to work at all on CF8 on Windows Server 2008 (32bit) (but the tag does work with CF8 on other Windows Oses... go figure). We had to switch to cfimage to get things working again and anecdotally found that

Re: Is it possible to trigger a link on a web page and trigger a download?

2008-10-17 Thread James Holmes
I'll save you a google search and give you the links to Ben Nadel, who's already done all the work: http://www.bennadel.com/blog/725-maintaining-sessions-across-multiple-coldfusion-cfhttp-requests.htm http://www.bennadel.com/projects/cfhttp-session.htm mxAjax / CFAjax docs and other useful

getting the color palette from an image

2008-10-17 Thread Matthew Friedman
I have a tool, here users will upload an image or logo. We use cffile to upload the image, and then resize the image with CFIMAGE. What I need to be able to do is to pull the color palette from the image and then allow the user to select the color they want to set the background of the page.

Re: Is it possible to trigger a link on a web page and trigger a download?

2008-10-17 Thread Rick Faircloth
Thanks, James! I'm on it! :o) Rick James Holmes wrote: I'll save you a google search and give you the links to Ben Nadel, who's already done all the work: http://www.bennadel.com/blog/725-maintaining-sessions-across-multiple-coldfusion-cfhttp-requests.htm

Re: getting the color palette from an image

2008-10-17 Thread Claude Schneegans
How can I do this. Have a look at CFX_MapClick: http://www.contentbox.com/claude/customtags/mapClick/viewmapClick.cfm It won't give you the palette, but it will allow your users to click anywhere on an image, including GIF and JPEG images, and get the color of the pixel they clicked on. This

onMissingTemplate() as a controller - somewhat...

2008-10-17 Thread Jason Fill
I am currently trying to plan out an application and am curious about what other think about something I have in mind. I would like the URLs to be in the form of domain.com/thepagename-pageid.cfm. Simple as thatbut the page will not actually exist. My thought was just to use the

Re: onMissingTemplate() as a controller - somewhat...

2008-10-17 Thread Barney Boisvert
Just set up a simple app that uses the mechanism and do a quick load test. That'll at least give you an idea. Though I'd be surprised if there is an appreciable delay for doing it that way. cheers, barneyb On 10/17/08, Jason Fill [EMAIL PROTECTED] wrote: I am currently trying to plan out an

RE: CFMail Alternatives

2008-10-17 Thread webmaster
Are there any side effects to turn off the spooler? How does it treat the mail then? Does it just send it directly to the mail server each time the cfmail tag is processed? -Original Message- From: Mike Chabot [mailto:[EMAIL PROTECTED] Sent: Friday, October 17, 2008 12:52 AM To: cf-talk

RE: CFMail Alternatives

2008-10-17 Thread webmaster
How can I control sending mail to the cf spooler or not from the cfmail tag itself? This seems like it would be the best option. -Original Message- From: Mike Chabot [mailto:[EMAIL PROTECTED] Sent: Thursday, October 16, 2008 10:19 PM To: cf-talk Subject: Re: CFMail Alternatives I

Re: CFMail Alternatives

2008-10-17 Thread Mike Chabot
The cfmail attribute is spoolenable=no which you set for emails that should go out immediately with no spooling delay. It would help if you sent these emails to a server that is set up to handle instant email delivery. If you have one mail server that is handling bulk emails, company emails, and

Re: onMissingTemplate() as a controller - somewhat...

2008-10-17 Thread Michael Dinowitz
It's a valid way of thinking and even warranted an article ( https://secure.houseoffusion.com/Vol2Issue3.cfm). The performance overhead is just as much as any other handler - what's needed to look up the actual template and data. I use this all the time and there is no problem with it that I've

Is it possible to trigger a link on a web page and trigger a download?

2008-10-17 Thread Michael Grove
We use a real simple piece of code to trigger a file download. We save this in a page called download.cfm cfset filePath = C:\foo cfheader name=Content-Disposition value=attachment; filename=#getFileFromPath(filePath)# cfcontent file=#filePath# type=application/x-unknown Then we call it with a

Re: onMissingTemplate() as a controller - somewhat...

2008-10-17 Thread Jason Fill
Michael, Thanks for the information. My subscription started on Vol 2 Issue 4 so I just missed that one :). Anyway, thanks for the info and nice to hear others are using this type of thing as well. ~| Adobe® ColdFusion® 8

Re: onMissingTemplate() as a controller - somewhat...

2008-10-17 Thread s. isaac dealey
It's a valid way of thinking and even warranted an article ( https://secure.houseoffusion.com/Vol2Issue3.cfm). The performance overhead is just as much as any other handler - what's needed to look up the actual template and data. I use this all the time and there is no problem with it that

Mapping files by extension to CFMX

2008-10-17 Thread Claude Schneegans
Hi. I have an application for which .txt files are send to CF 5 simply by mapping the extension txt to the correct dll in CF 5 in IIS, and it works fine. Now I'm trying to do the same with CF7, but the page cannot be loaded, and the IIS log reports a 503 error (system out of resources). There

Mapping files by extension to CFMX

2008-10-17 Thread Claude Schneegans
Hi. I have an application for which .txt files are send to CF 5 simply by mapping the extension txt to the correct dll in CF 5 in IIS, and it works fine. Now I'm trying to do the same with CF7, but the page cannot be loaded, and the IIS log reports a 503 error (system out of resources). There

Re: onMissingTemplate() as a controller - somewhat...

2008-10-17 Thread Judah McAuley
I did this back in the days of CF 5 where I'd use the site-wide error template as a url remapper. It worked. I won't really recommend it though because it is using a tool that was really meant for a different task. Instead, I'd suggest using a url rewriter plugin for your webserver. modrewrite

Re: onMissingTemplate() as a controller - somewhat...

2008-10-17 Thread Michael Dinowitz
I did the same with the global error handler and that was the wrong tool. The onmissingtemplate() handler is a very good tool for this, especially for those who do not have the ability to use a rewriter. As for the intent of the onmissingtemplate() handler, it was discussed while in beta and

Re: Mapping files by extension to CFMX

2008-10-17 Thread Jochem van Dieten
Claude Schneegans wrote: I have an application for which .txt files are send to CF 5 simply by mapping the extension txt to the correct dll in CF 5 in IIS, and it works fine. Now I'm trying to do the same with CF7, but the page cannot be loaded, and the IIS log reports a 503 error

Re: onMissingTemplate() as a controller - somewhat...

2008-10-17 Thread Judah McAuley
Those are some fine points. I presume that in all cases, you have to have your webserver not check for the existence of a file before handing off the request. I'm curious about the efficiency argument there. I can see your point about the webserver not having to look at calls for a js file or

ImageNew, cfImage, IsBinary, CharsetEncode etc.

2008-10-17 Thread Don L
A tough question, some of you might have some good idea... the objective is to save pixels in a Form Textarea to an image file. here's the process I'm taking to tackle it, first, form submission method=post and enctype=multipart/form-data or form submission method=post (without enctype)

Re: CFMail Alternatives

2008-10-17 Thread Matt Robertson
Can't slowly unspooling emails also be attributed to a mail server thats slow in accepting them? I know I have that problem with my SmarterMail-based mail server, although I can live with it because my CF-originating traffic is not all that time-critical. Surprised no one has recommended iMS

Re: onMissingTemplate() as a controller - somewhat...

2008-10-17 Thread Michael Dinowitz
On Fri, Oct 17, 2008 at 4:01 PM, Judah McAuley [EMAIL PROTECTED] wrote: Those are some fine points. I presume that in all cases, you have to have your webserver not check for the existence of a file before handing off the request. Correct. This is why there is a problem when the visitor is

Re: onMissingTemplate() as a controller - somewhat...

2008-10-17 Thread Michael Dinowitz
I almost forgot the most important thing about using onmissingtemplate() for dynamic page generation. It allows an application to be distributed. A CF8 version of blogcfc could be using it to display each blog entry as if it was a real page rather than an obviously generated one with masked

Re: onMissingTemplate() as a controller - somewhat...

2008-10-17 Thread s. isaac dealey
I'm curious about the efficiency argument there. I can see your point about the webserver not having to look at calls for a js file or css file or what have you, but the lookup in the url rewriter is usually a pretty straight forward regex with exclusion rules for file extensions (css, js,

Error: ColdFusion 8 and JDBC

2008-10-17 Thread Fawzi Amadu
I am trying to create a datasource using coldfusion 8. Unfortunately after entering the required parameters (as below), CF DataSource Name: OraElectrack JDBC URL: jdbc:oracle:thin:@10.10.10.11:1521:ORCL Driver Class: oracle.jdbc.OracleDriver I get the following error message: *

RE: CFMail Alternatives

2008-10-17 Thread webmaster
I also am using SmarterMail Enterprise. The main reason I don't think it is SmarterMail is because I have sent mail to that same mail server from an enterprise version of CF and it went out plenty fast. I have also sent mail to that same Mail Server from ListServ products and it also goes out

form info to a cfc

2008-10-17 Thread mikeashields
I've crawled inside and out of the documentation for how to pass html form data to a cfc and display the result (see http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=buildingComponents_15.html) but -- possibly due to If the CFC returns a result using the cfreturn tag, ColdFusion

cfpdf action=thumbnail

2008-10-17 Thread Charlie Griefer
had a request to convert PDF to image. Used cfpdf action=thumbnail ... / and everything worked pretty well. Unfortunately, the resulting image seems a bit smaller than the original PDF. The customer wants to embed the images into an email (versus sending the PDF as an attachment), so

Re: form info to a cfc

2008-10-17 Thread Cutter (CFRelated)
This really depends on what it is you're trying to do. If it's an Ajax submission, you can change the returnFormat to 'plain', and in your CFC send back a formatted block. Your callback method would take the response, which you would write to something on your page. If you just have the cfc as

Re: CFMail Alternatives

2008-10-17 Thread Matt Robertson
Welp, iMS_SE is only $250. And they have a single-threaded free version you can try. Or at least they used to. Check their site. -- [EMAIL PROTECTED] Janitor, The Robertson Team mysecretbase.com On Fri, Oct 17, 2008 at 2:10 PM, [EMAIL PROTECTED] wrote: I also am using SmarterMail

Re: form info to a cfc

2008-10-17 Thread Gerald Guido
You will need to return a value using cfreturn . Try this. cfcomponent cffunction name=getEmp access=remote cfargument name=lastName required=true cfset var empQuery= cfset var MyVar= cfquery name=empQuery datasource=OLO SELECT * FROM owners WHERE family_name = '#arguments.lastName#' /cfquery

Re: form info to a cfc

2008-10-17 Thread Gerald Guido
I miss understood the question. Is there any reason you are using a CFC to display the results? Why not a cfm page? G On Fri, Oct 17, 2008 at 5:14 PM, mikeashields [EMAIL PROTECTED]wrote: I've crawled inside and out of the documentation for how to pass html form data to a cfc and display

LCDS Error

2008-10-17 Thread Jim Rising
Has anyone ever come across this? I have a custom assembler that builds a thread.event for a 'refreshFill' ... and when it is executed, the console returns: 10/17 14:15:55 Error [cfthread-1] - LDS_EVENT_0CAA11BD-A393-3033-D256D53E60A11C73: Error: refreshfill parameter class

Re: onMissingTemplate() as a controller - somewhat...

2008-10-17 Thread Dave Watts
I use this for my clients and for my own sites, even when I have access to the webserver. It can actually be more efficient than a rewriter, not less. A rewriter looks at EVERY request. images, css, js, whatever. The onmissingtemplate() deals with a CF template only and only the one

Re: Imagecr3 vs cf8 cfimage

2008-10-17 Thread Richard Steele
Yep that's it. It doesn't work with CF 64 bit. I just confirmed this with Efflare. Possible re-write next year. Thanks. For what it's worth, I've been sing imagecr3 for years but recently could not get the tag to work at all on CF8 on Windows Server 2008 (32bit) (but the tag does work with CF8

Re: form info to a cfc

2008-10-17 Thread mikeashields
No, I was simply following the cited example wherein the results were to be displayed by the submitting form page as returned by the cfc. Ironically, my next question (after getting the example to work) was going to be how to direct the results to a different page for display). However, I know

Re: form info to a cfc

2008-10-17 Thread Gerald Guido
Change the CFC to this cfcomponent returntype=query cffunction name=getEmp access=remote cfargument name=lastName required=true cfset var empQuery= cfquery name=empQuery datasource=OLO SELECT * FROM owners WHERE family_name = '#arguments.lastName#' /cfquery cfreturn empQuery /cffunction

Re: Mapping files by extension to CFMX

2008-10-17 Thread Claude Schneegans
/WEB-INF/web.xml Thanks a lot. Another thing undocumented and unavailable in the administrator. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial

Re: ImageNew, cfImage, IsBinary, CharsetEncode etc.

2008-10-17 Thread Claude Schneegans
The {textarea} definitely has pixels Just curious, but how do you store pixels in a textarea ? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial

trouble authenticating to ms virtual earth webservice

2008-10-17 Thread Nick G
Has anyone been successful authenticating to the MS virtual earth webservice using Coldfusion? They require digest access authentication ( http://msdn.microsoft.com/en-us/library/aa491865.aspx) but I haven't had any luck getting this work. Anyone?

Re: trouble authenticating to ms virtual earth webservice

2008-10-17 Thread Eric Haskins
Damn!! When I worked for Roomstogo.com I managed to get it working. It was a bit of a process to get the stubs to generate. I may have a copy somewhere in my gmail Ill take a look Eric Haskins On Fri, Oct 17, 2008 at 8:29 PM, Nick G [EMAIL PROTECTED] wrote: Has anyone been successful

Re: CFMail Alternatives

2008-10-17 Thread Al Musella, DPM
I also use smartermail.. and I think that it is the mail server slowing down the process.. not the cf spooler. The cf spooler looks like it is slow because it is waiting for the mail server. I also think this is a good thing.. I have to do strange things to intentionally slow down the

Re: CFMail Alternatives

2008-10-17 Thread Matt Robertson
as maddening as it is, fast mail is a problem as opposed to a solution it seems. I've used a mail trickler to get around this for years. http://mysecretbase.com/Slowing_Down_CFMail_2004.cfm It is far from perfect, but it works. -- [EMAIL PROTECTED] Janitor, The Robertson Team mysecretbase.com