Re: [ACFUG Discuss] corrupt/damaged file?
Let me guess, Ektron eMPower for ColdFusion? I believe they used some incarnation of FCKEditor. If that is indeed the product, then IMHO it is ok to decrypt since the manufacturer has long ago abandoned the product. However, if the manufacturer has modified the editor’s source to suit their app, it may be a tall order to fix... Mischa. From: Jeff Howard Sent: Friday, September 02, 2011 19:30 To: discussion@acfug.org Subject: Re: [ACFUG Discuss] corrupt/damaged file? Thanks. It is just one folder on the site that is doing this but every file in the folder is doing it so that does make sense. It essentially an ancient CMS system and what I'm trying to fix is that the wysiwyg editor is not opening any more. Unfortunately, I have not worked on this site before at all so I need to see the code as to where it is pulling data from to even write new code using cftextarea. Any preferred software for me to be able to view it? Like I said, this code is from 2004 and looks to be a simple text editor. On Fri, Sep 2, 2011 at 7:06 PM, Cameron Childress camer...@gmail.com wrote: This is not a corrupt file, it's an encoded file. In most cases this means that their bought this code from someone who encoded it to prevent them from viewing/stealing the source. There are some decode scripts floating out there on the internet, but please be aware that this could be a sign that your client does not legally own this code or have the right to view it. -Cameron On Fri, Sep 2, 2011 at 6:54 PM, Jeff Howard jeh...@gmail.com wrote: I have a client that is having an issue with an old system not working anymore. They say since IE 8. When I went to look at the code it was unreadable. Has anyone every encountered this issue? Is it salvagable? I've attached a grab of what the file looks like when I open it. The last time the file was modfied was 03/2004. -- Cameron Childress -- p: 678.637.5072 im: cameroncf facebook | twitter | google+ - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
RE: [ACFUG Discuss] CFThread name issue
Thanks Steve, I understand what you're saying, but unless I missed something, my central question is not answered: how do I refer to a thread (from the spawning code) using a scoped variable? The code you refer to uses unscoped variables, which causes scope hunting. Mischa. Date: Thu, 26 May 2011 08:25:00 -0400 Subject: Re: [ACFUG Discuss] CFThread name issue From: nowhid...@gmail.com To: discussion@acfug.org A thread is a forked process... the whole point of running something in a thread is usually that you what to fire and forget Ie do some batch stuff then email the results. OR you want to fork to multiple threads and have them do the batch in multiple threads (possibly shortening your batch by the number of threads you spawn) If you want to find out how long that thread took to process it you can always cflog the results... the CF docs have an example of doing what you want: http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_t_04.html On Wed, May 25, 2011 at 5:51 PM, Mischa Uppelschoten mup...@hotmail.com wrote: I think this is more about naming the thread itself than passing values into it. Let's say I'm not interested in passing values in, or even the outcome of a thread, only how much time it took: cfthread action=RUN name=thread1 !--- long running action with no output here --- /cfthread cfthread action=JOIN name=thread1/cfthread cfoutputThis took #thread1.ElapsedTime# ms./cfoutput How would I code the above and have CF *not* hunt for the scope that thread1 is defined in? From: t...@dynapp.com To: discussion@acfug.org Date: Wed, 25 May 2011 16:19:23 -0500 Subject: RE: [ACFUG Discuss] CFThread name issue I’m thinking that when you send something to thread, you have divorced it from the request scope entirely, hence, your inability to reference it as a request scope variable even with a syntactically correct var name. Based on what you’re posting, I’d say scoping it into variables would solve the problem, yes? Or am I misunderstanding what you’re saying completely? J Troy Jones ___ Troy Jones | Director of Technical Services | Dynapp Inc | 1-800-830-5192 ext. 603 | dynapp.com | facebook.com/dynapp From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Mischa Uppelschoten Sent: Wednesday, May 25, 2011 4:13 PM To: discussion@acfug.org Subject: RE: [ACFUG Discuss] CFThread name issue That's another way of phrasing my question :-) Stuffing them into a struct works, so it's not some sort of issue w/ dot notation cfthread action=RUN name=MyStruct.thread1 works. From: t...@dynapp.com To: discussion@acfug.org Date: Wed, 25 May 2011 15:00:08 -0500 Subject: RE: [ACFUG Discuss] CFThread name issue Can threads be referenced with the request scope? Troy Jones Error! Filename not specified. ___ Troy Jones | Director of Technical Services | Dynapp Inc | 1-800-830-5192 ext. 603 | dynapp.com | facebook.com/dynapp From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Mischa Uppelschoten Sent: Wednesday, May 25, 2011 3:30 PM To: discussion@acfug.org Subject: [ACFUG Discuss] CFThread name issue Running into a headscratcher with cfthread. CF 8 Ent, Win 2k3 This works: cfthread action=RUN name=thread1 cfset thread.myvar = rand() /cfthread cfthread action=JOIN name=thread1/cfthread cfdump var=#thread1.myvar# this throws an error Element THREAD1.MYVAR is undefined in REQUEST: cfthread action=RUN name=request.thread1 cfset thread.myvar = rand() /cfthread cfthread action=JOIN name=request.thread1/cfthread cfdump var=#request.thread1.myvar# What gives? How do I prevent scope hunting when referencing the result of my threads? Thanks! Mischa. No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1375 / Virus Database: 1509/3659 - Release Date: 05/25/11 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1375 / Virus Database: 1509/3659 - Release Date: 05/25/11
RE: [ACFUG Discuss] CFThread name issue
The first way of naming a thread fails, the second one works, but I was under the impression that unless a variable is *prefixed* with an official scope, like http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Variables_30.html it is considered unscoped and CF hunts for it when code refers to it? From: axunderw...@ups.com To: discussion@acfug.org Date: Thu, 26 May 2011 10:23:06 -0400 Subject: RE: [ACFUG Discuss] CFThread name issue Try one of these two...using the variables scope first cfthread action=RUN name=variables.thread1 cfset thread.myvar = rand() /cfthread cfthread action=JOIN name=variables.thread1/cfthread cfdump var=#variables.thread1.myvar# or, try using a separate structure: cfset myScope = StructNew() / cfthread action=RUN name=myScope.thread1 cfset thread.myvar = rand() /cfthread cfthread action=JOIN name=myScope.thread1/cfthread cfdump var=#myScope.thread1.myvar# From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Mischa Uppelschoten Sent: Thursday, May 26, 2011 10:07 AM To: discussion@acfug.org Subject: RE: [ACFUG Discuss] CFThread name issue Thanks Steve, I understand what you're saying, but unless I missed something, my central question is not answered: how do I refer to a thread (from the spawning code) using a scoped variable? The code you refer to uses unscoped variables, which causes scope hunting. Mischa. Date: Thu, 26 May 2011 08:25:00 -0400 Subject: Re: [ACFUG Discuss] CFThread name issue From: nowhid...@gmail.com To: discussion@acfug.org A thread is a forked process... the whole point of running something in a thread is usually that you what to fire and forget Ie do some batch stuff then email the results. OR you want to fork to multiple threads and have them do the batch in multiple threads (possibly shortening your batch by the number of threads you spawn) If you want to find out how long that thread took to process it you can always cflog the results... the CF docs have an example of doing what you want: http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_t_04.html On Wed, May 25, 2011 at 5:51 PM, Mischa Uppelschoten mup...@hotmail.com wrote: I think this is more about naming the thread itself than passing values into it. Let's say I'm not interested in passing values in, or even the outcome of a thread, only how much time it took: cfthread action=RUN name=thread1 !--- long running action with no output here --- /cfthread cfthread action=JOIN name=thread1/cfthread cfoutputThis took #thread1.ElapsedTime# ms./cfoutput How would I code the above and have CF *not* hunt for the scope that thread1 is defined in? From: t...@dynapp.com To: discussion@acfug.org Date: Wed, 25 May 2011 16:19:23 -0500 Subject: RE: [ACFUG Discuss] CFThread name issue I’m thinking that when you send something to thread, you have divorced it from the request scope entirely, hence, your inability to reference it as a request scope variable even with a syntactically correct var name. Based on what you’re posting, I’d say scoping it into variables would solve the problem, yes? Or am I misunderstanding what you’re saying completely? J Troy Jones ___ Troy Jones | Director of Technical Services | Dynapp Inc | 1-800-830-5192 ext. 603 | dynapp.com | facebook.com/dynapp From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Mischa Uppelschoten Sent: Wednesday, May 25, 2011 4:13 PM To: discussion@acfug.org Subject: RE: [ACFUG Discuss] CFThread name issue That's another way of phrasing my question :-) Stuffing them into a struct works, so it's not some sort of issue w/ dot notation cfthread action=RUN name=MyStruct.thread1 works. From: t...@dynapp.com To: discussion@acfug.org Date: Wed, 25 May 2011 15:00:08 -0500 Subject: RE: [ACFUG Discuss] CFThread name issue Can threads be referenced with the request scope? Troy Jones Error! Filename not specified. ___ Troy Jones | Director of Technical Services | Dynapp Inc | 1-800-830-5192 ext. 603 | dynapp.com | facebook.com/dynapp From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Mischa Uppelschoten Sent: Wednesday, May 25, 2011 3:30 PM To: discussion@acfug.org Subject: [ACFUG Discuss] CFThread name issue Running into a headscratcher with cfthread. CF 8 Ent, Win 2k3 This works: cfthread action=RUN name=thread1 cfset thread.myvar = rand() /cfthread cfthread action=JOIN name=thread1/cfthread cfdump var=#thread1.myvar# this throws an error Element THREAD1.MYVAR is undefined in REQUEST: cfthread action=RUN name
RE: [ACFUG Discuss] CFThread name issue
Thanks Allen. Regarding But, that being said, if the second one worked, you now have a scoped thread that you can reference without hunting. Do I understand correctly that cfset myScope = StructNew() / cfset myScope.MyNewVar = bla cfoutput#myScope.MyNewVar#/cfoutput Is considered scoping a variable? I thought it had to be prefixed with request. or variables.? I would think that if you have a udf on your page named MyScope that returns a structure with a key named MyNewVar, that that would take precedence, per http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172e0811cbec09af4-7fdf.html ? From: axunderw...@ups.com To: discussion@acfug.org Date: Thu, 26 May 2011 10:49:49 -0400 Subject: RE: [ACFUG Discuss] CFThread name issue That is correct, it will hunt for it. I don't remember the exact order, but it does happen. But, that being said, if the second one worked, you now have a scoped thread that you can reference without hunting. It used to be the variables scope was used for all unscoped variables. Doesn't seem to be the case any more but I haven't really paid any attention to it until I saw this thread. If creating a struct and naming the thread as a member of that stuct works, you should be good to go. I will warn though - make sure it also works on CF9 - I've had some things fail that were scoped functions on CF9 with insanely obscure errors (these worked with no problem in CF8). I won't go into detail here unless someone wants to know specifics, but make sure you test on 8 and 9. Allen From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Mischa Uppelschoten Sent: Thursday, May 26, 2011 10:37 AM To: discussion@acfug.org Subject: RE: [ACFUG Discuss] CFThread name issue The first way of naming a thread fails, the second one works, but I was under the impression that unless a variable is *prefixed* with an official scope, like http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Variables_30.html it is considered unscoped and CF hunts for it when code refers to it? From: axunderw...@ups.com To: discussion@acfug.org Date: Thu, 26 May 2011 10:23:06 -0400 Subject: RE: [ACFUG Discuss] CFThread name issue Try one of these two...using the variables scope first cfthread action=RUN name=variables.thread1 cfset thread.myvar = rand() /cfthread cfthread action=JOIN name=variables.thread1/cfthread cfdump var=#variables.thread1.myvar# or, try using a separate structure: cfset myScope = StructNew() / cfthread action=RUN name=myScope.thread1 cfset thread.myvar = rand() /cfthread cfthread action=JOIN name=myScope.thread1/cfthread cfdump var=#myScope.thread1.myvar# From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Mischa Uppelschoten Sent: Thursday, May 26, 2011 10:07 AM To: discussion@acfug.org Subject: RE: [ACFUG Discuss] CFThread name issue Thanks Steve, I understand what you're saying, but unless I missed something, my central question is not answered: how do I refer to a thread (from the spawning code) using a scoped variable? The code you refer to uses unscoped variables, which causes scope hunting. Mischa. Date: Thu, 26 May 2011 08:25:00 -0400 Subject: Re: [ACFUG Discuss] CFThread name issue From: nowhid...@gmail.com To: discussion@acfug.org A thread is a forked process... the whole point of running something in a thread is usually that you what to fire and forget Ie do some batch stuff then email the results. OR you want to fork to multiple threads and have them do the batch in multiple threads (possibly shortening your batch by the number of threads you spawn) If you want to find out how long that thread took to process it you can always cflog the results... the CF docs have an example of doing what you want: http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_t_04.html On Wed, May 25, 2011 at 5:51 PM, Mischa Uppelschoten mup...@hotmail.com wrote: I think this is more about naming the thread itself than passing values into it. Let's say I'm not interested in passing values in, or even the outcome of a thread, only how much time it took: cfthread action=RUN name=thread1 !--- long running action with no output here --- /cfthread cfthread action=JOIN name=thread1/cfthread cfoutputThis took #thread1.ElapsedTime# ms./cfoutput How would I code the above and have CF *not* hunt for the scope that thread1 is defined in? From: t...@dynapp.com To: discussion@acfug.org Date: Wed, 25 May 2011 16:19:23 -0500 Subject: RE: [ACFUG Discuss] CFThread name issue I’m thinking that when you send something to thread, you have divorced it from the request scope entirely, hence, your inability to reference it as a request scope variable even with a syntactically correct var name. Based on what you’re posting, I’d say scoping
[ACFUG Discuss] CFThread name issue
Running into a headscratcher with cfthread. CF 8 Ent, Win 2k3 This works: cfthread action=RUN name=thread1 cfset thread.myvar = rand() /cfthread cfthread action=JOIN name=thread1/cfthread cfdump var=#thread1.myvar# this throws an error Element THREAD1.MYVAR is undefined in REQUEST: cfthread action=RUN name=request.thread1 cfset thread.myvar = rand() /cfthread cfthread action=JOIN name=request.thread1/cfthread cfdump var=#request.thread1.myvar# What gives? How do I prevent scope hunting when referencing the result of my threads? Thanks! Mischa. - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
RE: [ACFUG Discuss] CFThread name issue
I think this is more about naming the thread itself than passing values into it. Let's say I'm not interested in passing values in, or even the outcome of a thread, only how much time it took: cfthread action=RUN name=thread1 !--- long running action with no output here --- /cfthread cfthread action=JOIN name=thread1/cfthread cfoutputThis took #thread1.ElapsedTime# ms./cfoutput How would I code the above and have CF *not* hunt for the scope that thread1 is defined in? From: t...@dynapp.com To: discussion@acfug.org Date: Wed, 25 May 2011 16:19:23 -0500 Subject: RE: [ACFUG Discuss] CFThread name issue I’m thinking that when you send something to thread, you have divorced it from the request scope entirely, hence, your inability to reference it as a request scope variable even with a syntactically correct var name. Based on what you’re posting, I’d say scoping it into variables would solve the problem, yes? Or am I misunderstanding what you’re saying completely? J Troy Jones ___ Troy Jones | Director of Technical Services | Dynapp Inc | 1-800-830-5192 ext. 603 | dynapp.com | facebook.com/dynapp From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Mischa Uppelschoten Sent: Wednesday, May 25, 2011 4:13 PM To: discussion@acfug.org Subject: RE: [ACFUG Discuss] CFThread name issue That's another way of phrasing my question :-) Stuffing them into a struct works, so it's not some sort of issue w/ dot notation cfthread action=RUN name=MyStruct.thread1 works. From: t...@dynapp.com To: discussion@acfug.org Date: Wed, 25 May 2011 15:00:08 -0500 Subject: RE: [ACFUG Discuss] CFThread name issue Can threads be referenced with the request scope? Troy Jones Error! Filename not specified. ___ Troy Jones | Director of Technical Services | Dynapp Inc | 1-800-830-5192 ext. 603 | dynapp.com | facebook.com/dynapp From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Mischa Uppelschoten Sent: Wednesday, May 25, 2011 3:30 PM To: discussion@acfug.org Subject: [ACFUG Discuss] CFThread name issue Running into a headscratcher with cfthread. CF 8 Ent, Win 2k3 This works: cfthread action=RUN name=thread1 cfset thread.myvar = rand() /cfthread cfthread action=JOIN name=thread1/cfthread cfdump var=#thread1.myvar# this throws an error Element THREAD1.MYVAR is undefined in REQUEST: cfthread action=RUN name=request.thread1 cfset thread.myvar = rand() /cfthread cfthread action=JOIN name=request.thread1/cfthread cfdump var=#request.thread1.myvar# What gives? How do I prevent scope hunting when referencing the result of my threads? Thanks! Mischa. No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1375 / Virus Database: 1509/3659 - Release Date: 05/25/11 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1375 / Virus Database: 1509/3659 - Release Date: 05/25/11 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: [ACFUG Discuss] Troubleshooting CFHTTP Webservice Call
Have you tried SoapUI? http://www.eviware.com/soapUI/soapui-products-overview.html I’ve used it in the past to troubleshoot exactly these kinds of issues... From: Clarke Bishop Sent: Friday, February 18, 2011 17:33 To: discussion@acfug.org Subject: RE: [ACFUG Discuss] Troubleshooting CFHTTP Webservice Call Changing the Content-Type to text/atom+xml lets me see the xml request. Yea! However, the docs for the RESTful web service say: Your request Content-Type header must be application/atom+xml and your request method must be POST. So, I’m still not much closer to getting this to work. I did try text/atom+xml anyway, but no luck. Right now, I’m asking the server guys for some help, and I’ll keep you posted. Clarke From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Charlie Arehart Sent: Friday, February 18, 2011 5:01 PM To: discussion@acfug.org Subject: RE: [ACFUG Discuss] Troubleshooting CFHTTP Webservice Call That’s an interesting observation, Steve. Looking forward to the news there. /charlie From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Steve Ross Sent: Friday, February 18, 2011 3:40 PM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] Troubleshooting CFHTTP Webservice Call the prefix appliation coldfusion is using to determine that the content of your request should be binary encoded. If you are posting xml it should probably be text/atom+xml instead of appliation/atom+xml -Steve On Fri, Feb 18, 2011 at 3:34 PM, Steve Ross nowhid...@gmail.com wrote: Clarke I misunderstood... I'm seeing the same thing on my end regardless of the type... only until i removed this param did it send the data as xml: cfhttpparam type=header name=Content-Type value=application/atom+xml; charset=utf-8 / On Fri, Feb 18, 2011 at 3:20 PM, Steve Ross nowhid...@gmail.com wrote: In your example it would be: cfhttpparam type=header name=xml value=#payload.Trim()# encoded=no On Fri, Feb 18, 2011 at 3:19 PM, Steve Ross nowhid...@gmail.com wrote: Are you sure this param of type xml is right? CF ignores that when it is received... I wonder if your receiving service needs something like this instead? : cfhttpparam type=header name=xml value=#foo# On Fri, Feb 18, 2011 at 3:07 PM, Steve Ross nowhid...@gmail.com wrote: test cfm: cffile action = read file = #GetDirectoryFromPath(GetCurrentTemplatePath())#test.xml variable = foo charset = utf-8 cfhttp method=post url=http://url.to.your.site.com/test/receiver.cfm; cfhttpparam type=header name=Content-Type value=application/atom+xml; charset=utf-8 / cfhttpparam type=header name=Content-transfer-encoding value=text/ cfhttpparam type=header name=Accept value=application/atom+xml cfhttpparam type=Header name=Accept-Encoding value=* cfhttpparam type=Header name=TE value=deflate;q=0 cfhttpparam type=xml value=#foo# encoded=no /cfhttp receiver cfm: cfsavecontent variable = thedump cfdump var=#GetHttpRequestData()# label=GetHttpResponseData() Values / /cfsavecontent cffile action = write file = #GetDirectoryFromPath(GetCurrentTemplatePath())#/out.html output = #thedump# / open out.html in your browser On Fri, Feb 18, 2011 at 2:37 PM, Clarke Bishop cbis...@resultantsys.com wrote: To better understand how CFHTTP CFHTTPParam work, I’m trying Steve’s idea to just call a local page to see what the header looks like. But the content is showing up as binary like this: Content:HTTP Request Data - binary 606312010910832118101114115105106134494648343210111099001051101036134117116102455634636213106010111011611412132120109108110115613410411611611258474711911911946119514614103475048485347651160934621310323260116105116108101628410410511532105115321161041013210910511010510997108329810803321121511632116105116108101604711610511610810162131032323232326097117116104146213103232323232323260110971091016274041103268016047110971091016213103232323232323260101109971051086210604110100016410112097109112108101469909604710110997105108621310323232323260479711711610414621310323232323260115117109109971141216284104105115321051153211610410132109105110105109971083298108033211215116321151171091099711412146604711511710910997114121621310323232323260991011610111011632116121112101613410411610910834628410410511532105115321161041013211597109112108101327284777632991011610111011646604799101161011101166213103232323232609997116101103141213211610111410961341169710332101013432476213103232323232609997116101103141213211610111410961341169710332116119111343247621310604710111011611412162 I set Content-transfer-encoding=” text” but the data is still binary. I think it might be that it’s getting compressed. Here’s my code: cfhttp method=post url=#hsURL# cfhttpparam type=header name=Content-Type
RE: [ACFUG Discuss] IIS error log Connection dropped
Windows has some options for COM application recycling and automatic shut down. Have you checked the event logs? From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Charlie Arehart Sent: Wednesday, January 12, 2011 9:27 PM To: discussion@acfug.org Subject: RE: [ACFUG Discuss] IIS error log Connection dropped Just an update: he got that info to me, but as I told him, I'm afraid that there's really nothing I can see or offer, since I know nothing about the COM object. Again, he just needs to find what he can from any diagnostics available for it. Perhaps there's some sort of log, or maybe it's writing something in the Windows Event logs. /charlie From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Ajas Mohammed Sent: Wednesday, January 12, 2011 8:49 PM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] IIS error log Connection dropped Thanks Charlie. Yes, I have the exact line of cfml code where this process gets stuck or was stuck this time around. I will email it to you off the list. Thanks again, Ajas Mohammed / - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink http://www.fusionlink.com - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
RE: [ACFUG Discuss] IIS error log Connection dropped
Hi Charlie, On a windows machine, go to to the Component Services MMS snapin, for example (W2K3) by navigating to Start → Administrative Tools → Component services. Then, Component Services → Computers → My Computer → COM+ Applications. Right click on the registered component, properties. Look for the Pooling Recycling tab. It applies only to the component selected. Mischa. From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Charlie Arehart Sent: Thursday, January 13, 2011 11:16 AM To: discussion@acfug.org Subject: RE: [ACFUG Discuss] IIS error log Connection dropped Mischa, I’m curious: are you thinking of the IIS Application pools instead? I know they have recycling and shutdown features, but I’d be surprised to hear that there was any similar mechanism for COM objects. But assuming there is, is that for all of them, somehow? Specific ones? If the latter, how/when would the be registered to participate in such monitoring? Could be compelling, beyond Ajas’s issue. /charlie From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Mischa Uppelschoten Sent: Thursday, January 13, 2011 11:11 AM To: discussion@acfug.org Subject: RE: [ACFUG Discuss] IIS error log Connection dropped Windows has some options for COM application recycling and automatic shut down. Have you checked the event logs? From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Charlie Arehart Sent: Wednesday, January 12, 2011 9:27 PM To: discussion@acfug.org Subject: RE: [ACFUG Discuss] IIS error log Connection dropped Just an update: he got that info to me, but as I told him, I’m afraid that there’s really nothing I can see or offer, since I know nothing about the COM object. Again, he just needs to find what he can from any diagnostics available for it. Perhaps there’s some sort of log, or maybe it’s writing something in the Windows Event logs. /charlie - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink http://www.fusionlink.com - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
RE: [ACFUG Discuss] IIS error log Connection dropped
COM events would be logged in Application. The entry you show does not seem related to COM. I think your best bet is to either wait for or provoke a problem and look in App log for that time period. Do you have any means of calling that object from another platform like .Net or T-SQL? From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Ajas Mohammed Sent: Thursday, January 13, 2011 12:05 PM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] IIS error log Connection dropped Yes, I looked at Event Viewer. The most common or frequent error I see in Event log under System is Error communicating with the Spooler system service. Open the Services snap-in and confirm that the Print Spooler service is running. The source is listed as TermServDevices and eventID is 1114. In Event Viewer, Under Application, I see The configuration information of the performance library C:\WINDOWS\system32\perfts.dll for the TermService service does not match the trusted performance library information stored in the registry. The functions in this library will not be treated as trusted. The source is listed as Perflib and EventID is 2003. Under System, there is another one The WinHTTP Web Proxy Auto-Discovery Service suspended operation. Source is WinHttpAutoProxySvc and Event Id is 12517 Let me know if you need more info. Thanks, Ajas Mohammed / http://ajashadi.blogspot.com We cannot become what we need to be, remaining what we are. No matter what, find a way. Because thats what winners do. You can't improve what you don't measure. Quality is never an accident; it is always the result of high intention, sincere effort, intelligent direction and skillful execution; it represents the wise choice of many alternatives. On Thu, Jan 13, 2011 at 11:16 AM, Charlie Arehart char...@carehart.org wrote: Mischa, I'm curious: are you thinking of the IIS Application pools instead? I know they have recycling and shutdown features, but I'd be surprised to hear that there was any similar mechanism for COM objects. But assuming there is, is that for all of them, somehow? Specific ones? If the latter, how/when would the be registered to participate in such monitoring? Could be compelling, beyond Ajas's issue. /charlie From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Mischa Uppelschoten Sent: Thursday, January 13, 2011 11:11 AM To: discussion@acfug.org Subject: RE: [ACFUG Discuss] IIS error log Connection dropped Windows has some options for COM application recycling and automatic shut down. Have you checked the event logs? From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Charlie Arehart Sent: Wednesday, January 12, 2011 9:27 PM To: discussion@acfug.org Subject: RE: [ACFUG Discuss] IIS error log Connection dropped Just an update: he got that info to me, but as I told him, I'm afraid that there's really nothing I can see or offer, since I know nothing about the COM object. Again, he just needs to find what he can from any diagnostics available for it. Perhaps there's some sort of log, or maybe it's writing something in the Windows Event logs. /charlie - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink http://www.fusionlink.com - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re[2]: [ACFUG Discuss] MAC formatted file name questions
A colon is an illegal character for Windows filenames, but it appears it is used as a pathname separator in "classic Mac OS". (http://en.wikipedia.org/wiki/Filename#Reserved_characters_and_words) It should be possible to intercept the http post and correct the submitted filename before accepting the file with a CFFILE action=""... /m : Message E:\fileuploads\2010-04\parkground:officedepot:chaipeking:cab in: NOLA.pdf (The filename, directory name, or volume label syntax is incorrect) : : On Wed, Apr 7, 2010 at 2:54 PM, Chris Amaro chris.am...@ccscompanies.com: wrote:: : : : Jeff, : : I maintain a CF8/CF9 app infrastructure that serves a mixed windows/mac/ubuntu: environment and have not come across this situation. : : What specific error is being thrown? : : Chris : : : : From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Jeff Howard: Sent: Wednesday, April 07, 2010 1:43 PM: To: discussion@acfug.org: Subject: [ACFUG Discuss] MAC formatted file name questions : : : : : : Hey everyone, : : : : I have an application which allows users to upload supporting files for check: requests. I have a user that is on a MAC uploading a file that looks like: this, E:\fileuploads\2010-04\parkground:officedepot:chaipeking:cab in: NOLA.pdf. This is causing the system to throw an error and not upload the: file. I havent really worked on a MAC and was not really familiar with any: issues related to this. : : : : Does anyone have any tips in dealing with MAC files? Any UDFs to aid in: dealing with them? : : : : Thanks,: Jeff: - : : To unsubscribe from this list, manage your profile @ : http://www.acfug.org?fa=login.edituserform : For more info, see http://www.acfug.org/mailinglists : Archive @ http://www.mail-archive.com/discussion%40acfug.org/ : List hosted by FusionLink : - Mischa UppelschotenVP of TechnologyThe Banker's Exchange, LLC.4200 Highlands Parkway SESuite ASmyrna, GA 30082-5198Phone:(404) 605-0100 ext. 10Fax:(404) 355-7930Web:www.BankersX.comFollow this link for Instant Web Chat:http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN --- Original Message --- From:Jeff Howard jeh...@gmail.com To:discussion@acfug.org Date:Wed, 7 Apr 2010 15:15:50 -0400 Subject:Re: [ACFUG Discuss] MAC formatted file name questions Message E:\fileuploads\2010-04\parkground:officedepot:chaipeking:cab in NOLA.pdf (The filename, directory name, or volume label syntax is incorrect) On Wed, Apr 7, 2010 at 2:54 PM, Chris Amaro chris.am...@ccscompanies.com wrote: Jeff, I maintain a CF8/CF9 app infrastructure that serves a mixed windows/mac/ubuntu environment and have not come across this situation. What specific error is being thrown? Chris From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Jeff HowardSent: Wednesday, April 07, 2010 1:43 PMTo: discussion@acfug.orgSubject: [ACFUG Discuss] MAC formatted file name questions Hey everyone, I have an application which allows users to upload supporting files for check requests. I have a user that is on a MAC uploading a file that looks like this, E:\fileuploads\2010-04\parkground:officedepot:chaipeking:cab in NOLA.pdf. This is causing the system to throw an error and not upload the file. I haven't really worked on a MAC and was not really familiar with any issues related to this. Does anyone have any tips in dealing with MAC files? Any UDFs to aid in dealing with them? Thanks,Jeff- To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re[2]: [ACFUG Discuss] CFFTP putfile timeout error on CF8.01
For troubleshooting reasons, have you tried a tool like FileZilla, or (gasp) command line FTP? http://www.nsftools.com/tips/MSFTP.htm These may reveal more of the errors that are thrown by the remote server. I assume you have no way to get the logs for that FTP server? /m : Well PHP also fails so I'm guessing the ftp port for handshake is open on the: server but not for data transfer (assuming that it uses 2 ports). So will be: talking with the hosting company and find out more.: I thought itsbetter to update you all so that CF doesn't get the blame for no: reason :): --- On Thu, 3/18/10, Amar Lungare mxa...@yahoo.com wrote:: From: Amar Lungare mxa...@yahoo.com: Subject: RE: [ACFUG Discuss] CFFTP putfile timeout error on CF8.01: To: discussion@acfug.org: Date: Thursday, March 18, 2010, 6:03 AM: Thanks for the suggestions. I have already tried the timeout settings for both: the page as well as CFFTP, but nothing works. I'll have to find an: alternative solution to get ftp working. I might try PHP for that part.: Thanks again.: --- On Wed, 3/17/10, Charlie Arehart char...@carehart.org wrote:: From: Charlie Arehart char...@carehart.org: Subject: RE: [ACFUG Discuss] CFFTP putfile timeout error on CF8.01: To: discussion@acfug.org: Date: Wednesday, March 17, 2010, 5:35 PM: : : Ben is the man, alright, and in fact he points out something that trumps my: observation. While he concludes that he too needed the CFSETTING: REQUESTTIMEOUT, I notice that he points out that the CFFTP has its own: TIMEOUT and a big surprise (to me) is that it has a DEFAULT OF 30 SECONDS.: :-(: : So where he was changing that and not the request timeout, if Amar followed: my advice and set only the requesttimeout, I imagine hed still get a: different timeout from the CFFTP operations. I dont know that any of the: other CF tagthat supports a TIMEOUT (CFHTTP, CFMAIL, CFQUERY, etc.) has a: default timeout. Thats a real surprise to hear. I did verify it in the CF: docs. I see now that at least 2 others do: CFLDAP and CFPOP, each with a: default of 60 secs. : : You truly do learn something every day. :-) Thanks for offering that link,: Cody. : BTW, Amar, if you do need to increase that default of 30 seconds, note that: (as Ben indicates in his entry), you need to put that NOT ON THE CFFTP: TYPE=putfile but instead on the CFFTP ACTION="" : : /charlie : : : : From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Cody Wehunt: Sent: Wednesday, March 17, 2010 4:38 PM: To: discussion@acfug.org: Subject: RE: [ACFUG Discuss] CFFTP putfile timeout error on CF8.01 : : Not sure if you have seen this or if it has been mentioned but may help you: out: : : http://www.bennadel.com/blog/1337-My-First-ColdFusion-8-CFFTP-Experience-Rocky: -But-Triumphant.htm : : : : From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Charlie Arehart: Sent: Wednesday, March 17, 2010 4:16 PM: To: discussion@acfug.org: Subject: RE: [ACFUG Discuss] CFFTP putfile timeout error on CF8.01 : : Amar, that error is indicating that the operation has exceeded the page: execution timeout set in the CF Admin. You can override it on a page basis: using CFSETTING REQUESTTIMEOUT=n, where n is in seconds. You can place: that in a page, or in an application.cfm/cfc to affect all pages in that: application. If you do have that already set in the application.cfm, you can: set it on the page to override the application one as well.: : If youre saying that you have set that and its STILL exceeding that: timeout, or you made it a very high number (like an hour) and it STILL times: out, then that begs a different question as to why the FTP operation is: taking so long. As you guys have noted, perhaps there are some hotfixes: related to that. : : But first step seems to rule out this timeout setting being your issue. : : /charlie : - : To unsubscribe from this list, manage your profile @ : http://www.acfug.org?fa=login.edituserform : : For more info, see http://www.acfug.org/mailinglists : Archive @ http://www.mail-archive.com/discussion%40acfug.org/ : List hosted by FusionLink : - : : - : To unsubscribe from this list, manage your profile @ : http://www.acfug.org?fa=login.edituserform : : For more info, see http://www.acfug.org/mailinglists : Archive @ http://www.mail-archive.com/discussion%40acfug.org/ : List hosted by FusionLink : - : : - : To unsubscribe from this list, manage your profile @ : http://www.acfug.org?fa=login.edituserform : : For more info, see http://www.acfug.org/mailinglists : Archive @ http://www.mail-archive.com/discussion%40acfug.org/ : List
re: [ACFUG Discuss] A question on image uploads
I think ImageMagick does most of what you need...? http://www.imagemagick.org/script/index.php at least convert pdf to jpg from the command line. It also does cropping, but that would leave you to figure out how to capture the desired crop dimensions... /m : Hey all, : : Ive been tasked with redesigning a UI for an expense reimbursement system.: One of the desires is to be able to crop images on the fly while uploading: and the possibility of converting pdfs to images. In a meeting, it was: specifically demoed using Googles image upload for a user profile where you: can crop one part of an image to use. : : Does anyone have any recommendations on any software that is fairly lean and: not too pricey that can accomplish this? I read where cfpdf can create: thumbnails from a pdf, but I didnt see where it can convert a pdf to an: image. Cfimage doesnt really have the ability to crop. I found Magic Zoom: but its not quite what Im looking for. : : Any suggestions would be greatly appreciated. : : Thanks, : JeffMischa UppelschotenVP of TechnologyThe Banker's Exchange, LLC.4200 Highlands Parkway SESuite ASmyrna, GA 30082-5198Phone:(404) 605-0100 ext. 10Fax:(404) 355-7930Web:www.BankersX.comFollow this link for Instant Web Chat:http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN --- Original Message --- From:Jeff Howard jeh...@gmail.com To:discussion@acfug.org Date:Mon, 22 Feb 2010 14:22:09 -0500 Subject:[ACFUG Discuss] A question on image uploads Hey all, I've been tasked with redesigning a UI for an expense reimbursement system. One of the desires is to be able to crop images on the fly while uploading and the possibility of converting pdfs to images. In a meeting, it was specifically demoed using Google's image upload for a user profile where you can crop one part of an image to use. Does anyone have any recommendations on any software that is fairly lean and not too pricey that can accomplish this? I read where cfpdf can create thumbnails from a pdf, but I didn't see where it can convert a pdf to an image. Cfimage doesn't really have the ability to crop. I found Magic Zoom but it's not quite what I'm looking for. Any suggestions would be greatly appreciated. Thanks, Jeff - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re[2]: [ACFUG Discuss] SQL Injection
Last time I advertised my property I ended with "SCAMMERS, DON'T BOTHER", and I still got emails from Lagos on where to send the check (advance fee fraud). : Especially the bad English wording. The original ad was lifted directly from: my Realtor's postings. The response to any enquiry was in *really* bad: English.: -dhs: : --: Dean H. Saxe: "A true conservationist is a person who knows that the world is not given by: his fathers, but borrowed from his children." -- John James Audubon: : On Nov 23, 2009, at 11:42 AM, shawn gorrell wrote:: My question is what kind of fool would actually believe you'd rent a house: like yours for $700? You can hardly get a crappy apartment for $700, let: alone a nice, new, big house. The whole thing had red flags all over it. : From: Dean H. Saxe d...@fullfrontalnerdity.com: To: discussion@acfug.org: Sent: Mon, November 23, 2009 2:36:49 PM: Subject: Re: [ACFUG Discuss] SQL Injection: Actually they found my house for sale, then looked at the tax records and: created yahoo accounts as Mr. Saxe Dean H. to then try and rent it for $700. : Bastards.: --: Dean H. Saxe: "A true conservationist is a person who knows that the world is not given by: his fathers, but borrowed from his children." -- John James Audubon: On Nov 23, 2009, at 11:23 AM, Derrick Peavy wrote:: Dear Mr. Dean Saxe of USA,: LMFAO!: Kindly and with God,: _: Derrick Peavy: derr...@derrickpeavy.com: 404-786-5036: Innovation distinguishes between a leader and a follower. -Steve Jobs: _: On Nov 23, 2009, at 1:59 PM, Dean H. Saxe wrote:: You mean like the one who "rented" my house when it was for sale? At least 2: people lost $1k in that scam. And one of them showed up at my door ready to: take possession of the house the day before I moved out!: --: Dean H. Saxe: "A true conservationist is a person who knows that the world is not given by: his fathers, but borrowed from his children." -- John James Audubon: On Nov 23, 2009, at 10:54 AM, shawn gorrell wrote:: To each their own. The plus side of the Nigerian scammer types is they have: many more lulz than APNIC or RIPE. : From: Derrick Peavy derr...@derrickpeavy.com: To: discussion@acfug.org: Sent: Mon, November 23, 2009 1:50:40 PM: Subject: Re: [ACFUG Discuss] SQL Injection: That being said: I still block Afrinic and will continue to do so. Too many past issues with: Nigeria. It may be whackamole, but it's effective enough that i no longer: have to deal with brute force attacks nearly as often. : I consider it low hanging fruit to knock off some of the subnets that are: known to be nasty. Takes 10 minutes and then RONCO - "Set it and Forget it!": _: Derrick Peavy: derr...@derrickpeavy.com: 404-786-5036: Innovation distinguishes between a leader and a follower. -Steve Jobs: _: On Nov 23, 2009, at 11:01 AM, shawn gorrell wrote:: I was just getting ready to say that...: When I first started administering servers I used to get really freaked out by: all of the attack traffic and spent a bunch of time blocking IP's at the: router. Over time I realized that it was just playing whack-a-mole and was: mainly a waste of my time. If you knock them down on one subnet, another will: popup, and your overall attack traffic will be undiminished. All you've done: is waste your own time and mental energy. A better approach is to make sure: your network, server and applications are as tight as they can be (and: validate that regularly), and quit worrying about botnets and script kiddies.: : From: Dean H. Saxe d...@fullfrontalnerdity.com: To: discussion@acfug.org: Sent: Mon, November 23, 2009 10:55:25 AM: Subject: Re: [ACFUG Discuss] SQL Injection: You miss the point. Attackers don't just originate from their home countries,: they bounce through proxies around the world, including where your intended: audience sits.: -dhs: --: Dean H. Saxe: "A true conservationist is a person who knows that the world is not given by: his fathers, but borrowed from his children." -- John James Audubon: On Nov 23, 2009, at 7:49 AM, Troy Jones wrote:: I think that would depend on the intended scope and audience of your site or: server's sites. For example, does someone in Beijing need to browse for a: product that isn't available over the web or sold in any store outside the: contiguous U.S.? Or would someone in Ulan Bator need to set up a pick-up: laundry service in St. Louis? Of course there would be exceptions but I think: it would be worth the small number of legitmate denials todo this.: : image001.jpg: __: _: Troy Jones | Developer/Support Technician | Dynapp Inc | 1-800-830-5192 : ext. 603 | dynapp.com | facebook.com/dynapp: : From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Dean H. Saxe:
[ACFUG Discuss] Javascript across sub domains
More of a js question than CF, but I hope someone might be able to chime in and save me some research time. Source code (html + js) comes from www.domain.com and is loaded in a frame. is the javascript allowed to do a HTTP post (AJAX) to server1.domain.com ? Right now FireBug is not showing any attempt at all, so my guess is that FF is preventing it. Is there anything I can do server side to allow that? Thanks! Mischa. - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re[2]: [ACFUG Discuss] Javascript across sub domains
Thanks John! I'm afraid they are different servers. I have CF running on one box that takes user input. This input needs to be posted to a webservice on the other box. I understand one cannot go from domaina.com to domainb.com for security reasons, but I can't find a good answer on sub domains... : Mischa, : Not sure about JS and subdomains - I wouldn't think it would be a problem, : but I would imagine that the subdomain is pointing to just a folder on the : original domain, yes? if so, just have your AJAX post to the file in that : folder, instead of using the submain in the script itself. : John : -- : From: Mischa Uppelschoten mischa.uppelscho...@bankersx.com : Sent: Monday, November 02, 2009 2:20 PM : To: Web Site discussion@acfug.org : Subject: [ACFUG Discuss] Javascript across sub domains : More of a js question than CF, but I hope someone might be able to chime : in and save me some research time. : : Source code (html + js) comes from www.domain.com and is loaded in a : frame. : : is the javascript allowed to do a HTTP post (AJAX) to server1.domain.com ? : : Right now FireBug is not showing any attempt at all, so my guess is that : FF is preventing it. Is there anything I can do server side to allow that? : : Thanks! : : Mischa. : : : : - : To unsubscribe from this list, manage your profile @ : http://www.acfug.org?fa=gin.edituserform : : For more info, see http://www.acfug.org/mailinglists : Archive @ http://www.mail-archive.com/discussion%40acfug.org/ : List hosted by http://www.fusionlink.com : - : : : : : - : To unsubscribe from this list, manage your profile @ : http://www.acfug.org?fa=login.edituserform : For more info, see http://www.acfug.org/mailinglists : Archive @ http://www.mail-archive.com/discussion%40acfug.org/ : List hosted by http://www.fusionlink.com : - Mischa Uppelschoten VP of Technology The Banker's Exchange, LLC. 4200 Highlands Parkway SE Suite A Smyrna, GA 30082-5198 Phone:(404) 605-0100 ext. 10 Fax:(404) 355-7930 Web:www.BankersX.com Follow this link for Instant Web Chat: http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN -- Original Message -- FROM: John Youngman j...@jg-technologies.net TO:discussion@acfug.org DATE: Mon, 2 Nov 2009 14:30:19 -0500 SUBJECT: Re: [ACFUG Discuss] Javascript across sub domains Mischa, Not sure about JS and subdomains - I wouldn't think it would be a problem, but I would imagine that the subdomain is pointing to just a folder on the original domain, yes? if so, just have your AJAX post to the file in that folder, instead of using the submain in the script itself. John -- From: Mischa Uppelschoten mischa.uppelscho...@bankersx.com Sent: Monday, November 02, 2009 2:20 PM To: Web Site discussion@acfug.org Subject: [ACFUG Discuss] Javascript across sub domains More of a js question than CF, but I hope someone might be able to chime in and save me some research time. Source code (html + js) comes from www.domain.com and is loaded in a frame. is the javascript allowed to do a HTTP post (AJAX) to server1.domain.com ? Right now FireBug is not showing any attempt at all, so my guess is that FF is preventing it. Is there anything I can do server side to allow that? Thanks! Mischa. - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=gin.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re[2]: [ACFUG Discuss] Javascript across sub domains
Thanks Dean! I just tried it, but it breaks other parts of my script. Still, I think you hit the nail on the head and setting document.domain is the solution, were it not for the handiwork of the original author :-( Mischa. : FWIW, this is actually not an issue with the SOP, I misspoke. But to : get around some SOP issues set the domain property: : http://docs.sun.com/source/816-6408-10/document.htm#1193628 : -- : Dean H. Saxe : A true conservationist is a person who knows that the world is not : given by his fathers, but borrowed from his children. -- John James : Audubon : On Nov 2, 2009, at 2:30 PM, John Youngman wrote: : Mischa, : : Not sure about JS and subdomains - I wouldn't think it would be a : problem, but I would imagine that the subdomain is pointing to just : a folder on the original domain, yes? if so, just have your AJAX : post to the file in that folder, instead of using the submain in the : script itself. : : John : : -- : From: Mischa Uppelschoten mischa.uppelscho...@bankersx.com : Sent: Monday, November 02, 2009 2:20 PM : To: Web Site discussion@acfug.org : Subject: [ACFUG Discuss] Javascript across sub domains : : More of a js question than CF, but I hope someone might be able to : chime in and save me some research time. : : Source code (html + js) comes from www.domain.com and is loaded in : a frame. : : is the javascript allowed to do a HTTP post (AJAX) to server1.domain.com : ? : : Right now FireBug is not showing any attempt at all, so my guess is : that FF is preventing it. Is there anything I can do server side to : allow that? : : Thanks! : : Mischa. : : : : - : To unsubscribe from this list, manage your profile @ : http://www.acfug.org?fa=gin.edituserform : : For more info, see http://www.acfug.org/mailinglists : Archive @ http://www.mail-archive.com/discussion%40acfug.org/ : List hosted by http://www.fusionlink.com : - : : : : : : - : To unsubscribe from this list, manage your profile @ : http://www.acfug.org?fa=login.edituserform : : For more info, see http://www.acfug.org/mailinglists : Archive @ http://www.mail-archive.com/discussion%40acfug.org/ : List hosted by http://www.fusionlink.com : - : : : : - : To unsubscribe from this list, manage your profile @ : http://www.acfug.org?fa=login.edituserform : For more info, see http://www.acfug.org/mailinglists : Archive @ http://www.mail-archive.com/discussion%40acfug.org/ : List hosted by http://www.fusionlink.com : - Mischa Uppelschoten VP of Technology The Banker's Exchange, LLC. 4200 Highlands Parkway SE Suite A Smyrna, GA 30082-5198 Phone:(404) 605-0100 ext. 10 Fax:(404) 355-7930 Web:www.BankersX.com Follow this link for Instant Web Chat: http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN -- Original Message -- FROM: Dean H. Saxe d...@fullfrontalnerdity.com TO:discussion@acfug.org DATE: Mon, 2 Nov 2009 14:41:05 -0500 SUBJECT: Re: [ACFUG Discuss] Javascript across sub domains FWIW, this is actually not an issue with the SOP, I misspoke. But to get around some SOP issues set the domain property: http://docs.sun.com/source/816-6408-10/document.htm#1193628 -- Dean H. Saxe A true conservationist is a person who knows that the world is not given by his fathers, but borrowed from his children. -- John James Audubon On Nov 2, 2009, at 2:30 PM, John Youngman wrote: Mischa, Not sure about JS and subdomains - I wouldn't think it would be a problem, but I would imagine that the subdomain is pointing to just a folder on the original domain, yes? if so, just have your AJAX post to the file in that folder, instead of using the submain in the script itself. John -- From: Mischa Uppelschoten mischa.uppelscho...@bankersx.com Sent: Monday, November 02, 2009 2:20 PM To: Web Site discussion@acfug.org Subject: [ACFUG Discuss] Javascript across sub domains More of a js question than CF, but I hope someone might be able to chime in and save me some research time. Source code (html + js) comes from www.domain.com and is loaded in a frame. is the javascript allowed to do a HTTP post (AJAX) to server1.domain.com ? Right now FireBug is not showing any attempt at all, so my guess is that FF is preventing it. Is there anything I can do server side to allow that? Thanks! Mischa. - To unsubscribe from this list
re[2]: [ACFUG Discuss] Development vs Production Application.cfm and other things...
FWIW, I am creating application objects in application.cfc application.Order = createobject("Component", #application.ComponentsLocation# "Order"); this way CF doesn't have to create and destroy these static objects all the time. For development this doesn't work sowell because you'd have to reload your application vars every time you change one of these static cfc's. To help with that, I have defined an OnRequestStart function that does this. There is of course a performance penalty, but for dev that doesn't matter: !--- this resets all application vars for every page request. Do this in dev only! ---cffunction name="OnRequestStart" returntype="void"cflock scope="Application" timeout="10" type="exclusive"cfinvoke component="YourWebSiteRoot.Application" method="onApplicationStart" returnvariable="Foo"/cfinvoke/cflock /cffunction HTH /m : I like to keep the application.cfc the same and use an XML file to store the: application variables and their values that differ on each machine. So, in: the application.cfc on application start, you can execute a component that: can parsethe XML and set application scope vars accordingly. : : Wes : : : From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Ajas Mohammed: Sent: Saturday, October 24, 2009 3:53 PM: To: discussion@acfug.org: Subject: [ACFUG Discuss] Development vs Production Application.cfm and other: things... : : Hi, : : : : Just wondering if anyone can share there Development vs Production: Application.cfm or .cfc techniques. If you have a sample application.cfm or: .cfc file to share, then that would be great. : : : : I will give some background as to how I am doing this right now. I usually set: application variables which of course, have different values in: development vs production. Best example is pathtoSomething application: variable's value which would be different in development and production. : : : : Any other advices are also welcome. : : : : Thanks, : : : : Ajas Mohammed. : : : Mischa UppelschotenVP of TechnologyThe Banker's Exchange, LLC.4200 Highlands Parkway SESuite ASmyrna, GA 30082-5198Phone:(404) 605-0100 ext. 10Fax:(404) 355-7930Web:www.BankersX.comFollow this link for Instant Web Chat:http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN --- Original Message --- From:Wes Byrd w...@dynapp.com To:"discussion@acfug.org" discussion@acfug.org Date:Sat, 24 Oct 2009 17:02:46 -0500 Subject:RE: [ACFUG Discuss] Development vs Production Application.cfm and other things... I like to keep the application.cfc the same and use an XML file to store the application variables and their values that differ on each machine. So, in the application.cfc on application start, you can execute a component that can parse the XML and set application scope vars accordingly. Wes From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Ajas MohammedSent: Saturday, October 24, 2009 3:53 PMTo: discussion@acfug.orgSubject: [ACFUG Discuss] Development vs Production Application.cfm and other things... Hi, Just wondering if anyone can share there Development vs Production Application.cfm or .cfc techniques. If you have a sample application.cfm or .cfc file to share, then that would be great. I will give some background as to how I am doing this right now. I usually set application variables whichof course, have different values in development vs production. Best example is pathtoSomething application variable's value which would be different in development and production. Any other advices are also welcome. Thanks, Ajas Mohammed. - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re[2]: [ACFUG Discuss] SEO and domain fwd
If you're on IIS, you can append some vars that leave the requested url intact... http://placeholderdomain.com/content.cfm?id=5 is redirected to http://realdomain.com/content.cfm?id=5 per http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/41c238b2-1188-488f-bf2d-464383b1bb08.mspx?mfr=true (I assume most web servers have this) /m : thanks! Yeah, going to move it away from register.com and actually host it.: : Douglas Knudsen: http://www.cubicleman.com: this is my signature, like it?: : On Fri, Sep 4, 2009 at 4:20 PM, Cheyenne Throckmorton: cheyenne.throckmor...@gmail.com wrote:: Ah! Thanks Charlie! I didnt realize that was a CF8+ feature. : You really should be able to do it at a higher level than CF but I know one: site I was SEOing the hosting company charged an extra $12/month or something: dumb like that for a 301 redirect. Internet Highway Robbery IMHO. Using CF: was good "insert gesture here" to that ridiculousness; and indeed it was on: CF8.: : : On Fri, Sep 4, 2009 at 4:10 PM, Charlie Arehart char...@carehart.org wrote:: : : : Just to forestall saying, that doesnt work for me, the nifty ability to do: the statuscode in CFLOCATION is new in CF8. :-) : : /charlie : : : : : From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Cheyenne: Throckmorton: Sent: Friday, September 04, 2009 1:52 PM: To: discussion@acfug.org: Subject: Re: [ACFUG Discuss] SEO and domain fwd : : : For optimized SEO performance you will want to put in a 301 Redirect from: Domain A to Domain B. If your registrar/host or whatever does not allow: this, then you can utilization CF to do this by using : : cflocation url="" statuscode="301": : Essentially a page builds up a certain amount of "juice", if you want to: completely funnel that "juice" to give value to another domain you need to: redirect. Two options are 301 and 302. 302 is temporary and will only: partially juice. : : The frame solution is essentially stopping all the "juice" from flowing at: all, but whats worse is that the frame does make bots "puke" and the juice: eventually will dry up there as well.: : Hope that makes sense. : - : To unsubscribe from this list, manage your profile @ : http://www.acfug.org?fa=login.edituserform : : For more info, see http://www.acfug.org/mailinglists : Archive @ http://www.mail-archive.com/discussion%40acfug.org/ : List hosted by FusionLink : - : -- : Cheyenne Throckmorton - Atlanta, GA: Blog : www.CheyenneJack.com: Twitter : @cheyennejack: Founder : www.AtlantaUserGroups.com: www.TheTallStreetJournal.com: www.MohawksRock.com: Mischa UppelschotenVP of TechnologyThe Banker's Exchange, LLC.4200 Highlands Parkway SESuite ASmyrna, GA 30082-5198Phone:(404) 605-0100 ext. 10Fax:(404) 355-7930Web:www.BankersX.comFollow this link for Instant Web Chat:http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN --- Original Message --- From:Douglas Knudsen douglasknud...@gmail.com To:discussion@acfug.org Date:Fri, 4 Sep 2009 16:29:05 -0400 Subject:Re: [ACFUG Discuss] SEO and domain fwd thanks! Yeah, going to move it away from register.com and actually host it.Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like it? On Fri, Sep 4, 2009 at 4:20 PM, Cheyenne Throckmorton cheyenne.throckmor...@gmail.com wrote: Ah! Thanks Charlie! I didn't realize that was a CF8+ feature. You really should be able to do it at a higher level than CF but I know one site I was SEOing the hosting company charged an extra $12/month or something dumb like that for a 301 redirect. Internet Highway Robbery IMHO. Using CF was good "insert gesture here" to that ridiculousness; and indeed it was on CF8. On Fri, Sep 4, 2009 at 4:10 PM, Charlie Arehart char...@carehart.org wrote: Just to forestall saying, that doesnt work for me, the nifty ability to do the statuscode in CFLOCATION is new in CF8. :-) /charlie From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Cheyenne ThrockmortonSent: Friday, September 04, 2009 1:52 PMTo: discussion@acfug.orgSubject: Re: [ACFUG Discuss] SEO and domain fwd For optimized SEO performance you will want to put in a 301 Redirect from Domain A to Domain B. If your registrar/host or whatever does not allow this, then you can utilization CF to do this by using cflocation url="" statuscode="301"Essentially a page builds up a certain amount of "juice", if you want to completely funnel that "juice" to give value to another domain you need to redirect. Two options are 301 and 302. 302 is temporary and will only partially juice. The frame solution is essentially stopping all the "juice" from flowing at all, but whats worse is that the frame does make bots "puke" and the juice eventually will dry up there as
re: [ACFUG Discuss] verity basics and troubleshooting
Have you used rck2? This is a command line utility that bypasses CF completely and lets you execute searches directly against the search server... http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=verityutils_14.html : Hello all. : : I have not had to use verity to much in my application development and am: currently trying to troubleshoot errors in search results for an existing: application. I am reading over the documentation on Adobe site now but I: thought it might be helpful to hit the group up for any tips. : : The issue I am currently trying to troubleshoot is that one of the collections: is returning the samenumber of results for all search terms, i.e. regardless: of search term all records are returned. : : Is this an indexing issue? : Are there any standard basic first steps to debugging search issues? If so,: what? : Are there any other tips or pointers to keep in mind when working with Verity?Mischa UppelschotenVP of TechnologyThe Banker's Exchange, LLC.4200 Highlands Parkway SESuite ASmyrna, GA 30082-5198Phone:(404) 605-0100 ext. 10Fax:(404) 355-7930Web:www.BankersX.comFollow this link for Instant Web Chat:http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN --- Original Message --- From:Jeff Howard jeh...@gmail.com To:discussion@acfug.org Date:Thu, 30 Jul 2009 13:07:39 -0400 Subject:[ACFUG Discuss] verity basics and troubleshooting Hello all. I have not had to use verity to much in my application development and am currently trying to troubleshoot errors in search results for an existing application. I am reading over the documentation on Adobe site now but I thought it might be helpful to hit the group up for any tips. The issue I am currently trying to troubleshoot is that one of the collections is returning the same number of results for all search terms, i.e. regardless of search term all records are returned. Is this an indexing issue? Are there any standard basic first steps to debugging search issues? If so, what? Are there any other tips or pointers to keep in mind when working with Verity? - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re: [ACFUG Discuss] NEVERMIND RE: CF in the database?
As a last resort I have in the past written out and cfincluded a file based on the contents of a database field. Obviously there are some security and performance implications, but the ability to have CF interpret code (and not just an expression) from a database can sometimes come in handy. : I figured it out, but if you have a more elegant solution, I'm open to : suggestions. : Here's my current solution. : cfquery name=myQuery datasource=dataSource : select myText from welcome_statements : /cfquery : cfoutput#evaluate(#de(myQuery.myText)#)#/cfoutput : Thanks. : mf : -Original Message- : From: Fennell, Mark P. : Sent: Tuesday, June 30, 2009 4:57 PM : To: 'discussion@acfug.org' : Subject: CF in the database? : Greetings all, : I'm trying to figure out a way in CF7 to store CF variables in the database to : be selected out later and evaluated just like regular CF variables. : For example, and I know this is a stupid example, but it's simple and makes : the point, let's assume I have a database table called welcome_statements and : it has a single column that contains string data such as Welcome, : #cookie.user_name#. In my home.cfm file, I write a query like select my_text : from welcome_statements and have a CFOUTPUT block like : cfoutout#myQuery.my_text#/cfoutput. I've tried using various combinations : of evaluate() and de() and replacing the # in the database with something : that is replaced on evaluation in the query and in the cfoutput. All to no : avail. : I know you're wondering, Why would you want to do a fool thing like that? : Well, I'm trying to figure out how to allow users to write form letters or MS : Word-like mail-merge documents. I imagine it would be simpler in CF than to : write some manner of database function/procedure which is why I'm asking for : your assistance. : Many thanks in advance. : mf : mark fennell : athens regional medical center : athens, ga : --- : This email is intended only for the named recipient(s). It may contain : information that is proprietary, confidential or otherwise prohibited from : disclosure. If you are not the named addressee, you are not authorized to : read, print, retain, copy or disseminate this message or any part of it. If : you have received this message in error, please reply immediately by email or : telephone me at 706-475-4357 and delete all copies of the message. : --- : - : To unsubscribe from this list, manage your profile @ : http://www.acfug.org?fa Mischa Uppelschoten VP of Technology The Banker's Exchange, LLC. 4200 Highlands Parkway SE Suite A Smyrna, GA 30082-5198 Phone:(404) 605-0100 ext. 10 Fax:(404) 355-7930 Web:www.BankersX.com Follow this link for Instant Web Chat: http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN -- Original Message -- FROM: Fennell, Mark P. fenn...@armc.org TO:discussion@acfug.org DATE: Tue, 30 Jun 2009 17:07:15 -0400 SUBJECT: [ACFUG Discuss] NEVERMIND RE: CF in the database? I figured it out, but if you have a more elegant solution, I'm open to suggestions. Here's my current solution. cfquery name=myQuery datasource=dataSource select myText from welcome_statements /cfquery cfoutput#evaluate(#de(myQuery.myText)#)#/cfoutput Thanks. mf -Original Message- From: Fennell, Mark P. Sent: Tuesday, June 30, 2009 4:57 PM To: 'discussion@acfug.org' Subject: CF in the database? Greetings all, I'm trying to figure out a way in CF7 to store CF variables in the database to be selected out later and evaluated just like regular CF variables. For example, and I know this is a stupid example, but it's simple and makes the point, let's assume I have a database table called welcome_statements and it has a single column that contains string data such as Welcome, #cookie.user_name#. In my home.cfm file, I write a query like select my_text from welcome_statements and have a CFOUTPUT block like cfoutout#myQuery.my_text#/cfoutput. I've tried using various combinations of evaluate() and de() and replacing the # in the database with something that is replaced on evaluation in the query and in the cfoutput. All to no avail. I know you're wondering, Why would you want to do a fool thing like that? Well, I'm trying to figure out how to allow users to write form letters or MS Word-like mail-merge documents. I imagine it would be simpler in CF than to write some manner of database function/procedure which is why I'm asking for your assistance. Many thanks in advance. mf mark fennell athens regional medical center athens, ga --- This email is intended only for the named recipient(s). It may contain information
re: [ACFUG Discuss] Re: CF 7 tif images
If you're on CF8 and performance is not a big issue, you could use cfimage to read the tiff and then convert it to jpg... AFAIK, only the more obscure browsers natively support tiff (http://en.wikipedia.org/wiki/Comparison_of_web_browsers#Image_format_support) so you'll be stuck with the no-control-over-the-client-side issue that Charlie mentioned. /m : ok, I tried this cfcontent type="image/tif" file="#thisPath#\test.TIF": deletefile="no" / tif doesnt show up: but when i tried with 2 ffs, it works. i.e. cfcontent type="image/tiff": file="#thisPath#\test.TIF" deletefile="no" / : : However, I would Like Internet Explorer to show the tif image in browser: window just like it does for jpg file. I have code which shows jpg in browser: frame, but for tif, I get a pop up saying, open the file using Adobe: photoshop. I guess thats because I have the software installed and Internet: Explorer doesnt know how to serve tif. : : so question is, what i need to do so that tif is shown internet explorer: iframe box.: Thanks,: : : Ajas Mohammed /: http://ajashadi.blogspot.com: We cannot become what we need to be, remaining what we are.: No matter what, find a way. Because thats what winners do.: You cant improve what you dont measure.: Quality is never an accident; it is always the result of high intention,: sincere effort, intelligent direction and skillful execution; it represents: the wise choice of many alternatives.: : On Thu, Jun 4, 2009 at 4:21 PM, Ajas Mohammed ajash...@gmail.com wrote:: Hi,: We have tif images stored in a directory and I was wondering whats the easy: way to render them in a cfm page. I tried jpg and it works fine. When I right: click and see properties for this image, I see Type as JPG file. When I try: .tif file, I get an x mark and when i see properties I see type as Not: Available.: : Both test.jpg and test.tif are available in the referred directory.: Do I have to add MIME type .tif in IIS for cfm to serve tif images?: My code is very straightforward : cfset thisPath = "\\10.10.10.5\Image_Upload": : cfcontent type="image/jpeg" file="#thisPath#\test.jpg" deletefile="no" /: this works but when i try code below: cfcontent type="image/jpeg" file="#thisPath#\test.TIF" deletefile="no" / tif: doesnt show up: : Any suggestions for this.: thanks,: Ajas Mohammed /: http://ajashadi.blogspot.com: We cannot become what we need to be, remaining what we are.: No matter what, find a way. Because thats what winners do.: You cant improve what you dont measure.: Quality is never an accident; it is always the result of high intention,: sincere effort, intelligent direction and skillful execution; it represents: the wise choice of many alternatives.: Mischa UppelschotenVP of TechnologyThe Banker's Exchange, LLC.4200 Highlands Parkway SESuite ASmyrna, GA 30082-5198Phone:(404) 605-0100 ext. 10Fax:(404) 355-7930Web:www.BankersX.comFollow this link for Instant Web Chat:http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN --- Original Message --- From:Ajas Mohammed ajash...@gmail.com To:discussion@acfug.org Date:Thu, 4 Jun 2009 16:36:07 -0400 Subject:[ACFUG Discuss] Re: CF 7 tif images ok, I tried this cfcontent type="image/tif" file="#thisPath#\test.TIF" deletefile="no" / tif doesnt show upbut when i tried with 2 ff's, it works. i.e. cfcontent type="image/tiff" file="#thisPath#\test.TIF" deletefile="no" / However, I would Like Internet Explorer to show the tif image in browser window just like it does for jpg file. I have code which shows jpg in browser frame, but for tif, I get a pop up saying, open the file using Adobe photoshop. I guess thats because I have the software installed and Internet Explorer doesnt know how to serve tif. so question is, what i need to do so that tif is shown internet explorer iframe box.Thanks,Ajas Mohammed /http://ajashadi.blogspot.comWe cannot become what we need to be, remaining what we are.No matter what, find a way. Because thats what winners do.You can't improve what you don't measure.Quality is never an accident; it is always the result of high intention, sincere effort, intelligent direction and skillful execution; it represents the wise choice of many alternatives. On Thu, Jun 4, 2009 at 4:21 PM, Ajas Mohammed ajash...@gmail.com wrote: Hi,We have tif images stored in a directory and I was wondering whats the easy way to render them in a cfm page. I tried jpg and it works fine. When I right click and see properties for this image, I see Type as JPG file. When I try .tif file, I get an x mark and when i see properties I see type as Not Available.Both test.jpg and test.tif are available in the referred directory.Do I have to add MIME type .tif in IIS for cfm to serve tif images?My code is very straightforward cfset thisPath = "\\10.10.10.5\Image_Upload"cfcontent type="image/jpeg" file="#thisPath#\test.jpg"
re[8]: [ACFUG Discuss] cross domain cookie validation
Something like cfset LoginSuccess = "false" cfif IsDefined(cfhttp.responseheader['set-cookie']) cfset LoginSuccess = "true" /cfif ? : Thanks again for all the help yesterday. Im about wrapped up with this: project now but Ive encountered one last problem. The http response doesnt: return cfhttp.responseheader[set-cookie] if the login failed. I cant seem to: figure out how to test for if it is defined. Any ideas on this? : : My other thought is using the content-length as my flag for if the login: failed because I can tell by the length of the response if it failed but this: doesnt seem like the most solid approach and seems like it could lead to: issues down the road. : : Thanks again for the help. : : Jeff: : On Thu, Apr 16, 2009 at 3:25 PM, Cameron Childress camer...@gmail.com wrote:: Ah - yes bracket notation is great for illegal variable names as struct keys.: -Cameron: : On Thu, Apr 16, 2009 at 3:07 PM, Jeff Howard jeh...@gmail.com wrote:: Thanks Cameron, you actually answered the question. I was trying to: reference it using dot notation and when it got to .set-cookie it was only: looking for .set.: --: : : : Cameron Childress: Sumo Consulting Inc: http://www.sumoc.com: ---: cell: 678.637.5072: aim: cameroncf: email: camer...@gmail.com: : -: To unsubscribe from this list, manage your profile @: http://www.acfug.org?falogin.edituserform: : For more info, see http://www.acfug.org/mailinglists: Archive @ http://www.mail-archive.com/discussion%40acfug.org/: List hosted by http://www.fusionlink.com: - --- Original Message --- From:Jeff Howard jeh...@gmail.com To:discussion@acfug.org Date:Fri, 17 Apr 2009 17:08:59 -0400 Subject:Re: re[6]: [ACFUG Discuss] cross domain cookie validation Thanks again for all the help yesterday. I'm about wrapped up with this project now but I've encountered one last problem. The http response doesn't return cfhttp.responseheader['set-cookie'] if the login failed. I can't seem to figure out how to test for if it is defined. Any ideas on this? My other thought is using the content-length as my flag for if the login failed because I can tell by the length of the response if it failed but this doesn't seem like the most solid approach and seems like it could lead to issues down the road. Thanks again for the help. Jeff On Thu, Apr 16, 2009 at 3:25 PM, Cameron Childress camer...@gmail.com wrote: Ah - yes bracket notation is great for illegal variable names as struct keys.-Cameron On Thu, Apr 16, 2009 at 3:07 PM, Jeff Howard jeh...@gmail.com wrote: Thanks Cameron, you actually answered the question. I was trying to reference it using dot notation and when it got to .set-cookie it was only looking for .set.-- Cameron ChildressSumo Consulting Inchttp://www.sumoc.com---cell: 678.637.5072aim: cameroncfemail: camer...@gmail.com-To unsubscribe from this list, manage your profile @http://www.acfug.org?falogin.edituserformFor more info, see http://www.acfug.org/mailinglistsArchive @ http://www.mail-archive.com/discussion%40acfug.org/List hosted by http://www.fusionlink.com- - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re: [ACFUG Discuss] cross domain cookie validation
the third party: software is going to reside on a different server in a different domain and: writecookies that he wants the domain where the login page resides to: access. Hi Jeff, I didn't see any responses... So the user is going to www.domain1.com to login, this domain sets a cookie and you'd like www.domain2.com to read the cookie and treat the user as logged in? As far as I know that won't work; browsers will only return cookie information from the domain that issued it. There are other/better ways to do this though. /m - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re[2]: [ACFUG Discuss] cross domain cookie validation
: Hey Mischa, : : Thanks for the response. I just got off the phone with the client trying to: get a clearer description of what he is trying to do. Originally the two: applicationswere supposed to reside on the same server in the same domain.: Now the existing CF application will reside on www.domain1.com and the DLL: they want to use to validate the login will reside on www.domain2.com. So: what he wants the CF app to do is submitthe login from www.domain1.com toa: DLL onwww.domain2.com to validate login, then write cookies from the members: table containing customer info and then redirect back to www.domain1.com (CF: app) and log them into that app. For some reason (he cited hisclients: security) he does not want CF to talk directly to the db on www.domain2.com: to do the login itself, but rather submit to an existing DLL to validate the: login, set cookies and the redirect back to CF. : : Does that make sense?Kinda sorta. As far as using the authentication logic on the other domain: either that webserver needs to allow http access to that dll, or you have to use a DCOM or .NET call to access it directly. The first method is probably easier. I'm puzzled what you mean by "then write cookies from the members table containing customer info". Cookies can only hold 4000 some characters, so they are really only suited for identification purposes, not for holding data. You say "redirect back". I think you need to determine whether you want the CF server to go out to domain2, or the client. If you are going to be using cfhttp to let the CF server do it, there would be no need to "redirect back" since the user never leaves domain1. If you're letting the client (browser)do it, you'll need some sort of token from the client that proves that he or she got authenticated. To do that is not difficult, to do it right is over my head ;-). If it were up to me, I would have the user come to domain1, submit credentials to CF, have CF go out to domain2, make sure the credentials are valid and start a CF session. Then, based on needs, have CF again contact domain2 with the credentials, request data and logoff (if applicable). The last part is where it gets a bit hairy: if that DLL sets up it's own session and tracks that using a cookie, then, in my scenario, the CF server will become the logged on client. The cookie, issued by domain2 will be stored somewhere on the CF server. This should all work, until user#2 comes around and logs in. The cookie on the CF server gets overwritten and now the users may see eachothers data. I hope your client realizes that the architecture was just made a whole lot more complex :-( /m (One other avenue would be to load the DLL on the CF server...) - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re[4]: [ACFUG Discuss] cross domain cookie validation
: From my perspective, it seems that there is a good amount of over analyzing: here.You know Teddy, you can just put in your $0.02. There is really no need to criticize myinput unless you see something specifically wrong. /m - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re[6]: [ACFUG Discuss] cross domain cookie validation
I was the only one who responded and you labeled that response "over analyzed". If that is not criticizing, I don't know what is. I gave some more technical details and you decided to stay higher level. I'm sure the OP is aided by both postings. Apology accepted, let's move on. /m - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re[2]: [ACFUG Discuss] Looking for a CF Host
cfdump var="#SERVER#" / will tell you for sure :) /m : What they told me was that they don't support the cfwindow tag, which I: interpret to mean that they decided not to bear the expense of buying the: latest version of CF.: Peyton - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re[2]: ValidateAt parameter is effectively only client side (was: re[2]: [ACFUG Discuss] Password CFinput regular expression - throws alert/error after correction also)
Sorry for the confusion. My point is that even though the server does perform validation, it does so only at the command of the client (hidden field). Effectively, it is therefore still client side validation. I believe it gives a false sense of security (to myself included) since it's so easily bypassed by anyone with some basic tools, so I'm glad Dean pointed it out. Because he wrote that he wasn't 100% sure, I decided to test it and share my code. I didn't mean to convey any sort of concern about the absence/presence of hidden form fields. Do you think in theory CF could provide true server side validation without relying on hidden form fields? My guess would be yes in a fairly reliable fashion, but I'm curious if anyone has an opinion on that... Hope that makes sense. /m : Mischa, I'm curious what you're getting at here. Perhaps I missed part of : what was being traded, but I was actually surprised by the assertion Dean : made (that you repeated). CFInput does NOT *always* use a hidden field to : force server-side validation. It only does that if you ask it to, using the : ValidateAt=onserver, as you show. If you don't specify that, it doesn't : add any hidden fields. : Or are you guys making a different point, about what it is that CF does : create as that hidden field when you ask it to (using that attribute)? : I'm just trying to understand that, and also your subject line, which seems : to be asserting yet something different (that it's only client side). : Help us out. It may just be me that's confused. :-) : /charlie : -Original Message- : From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Mischa : Uppelschoten ext 10 : Sent: Monday, March 09, 2009 3:05 PM : To: Web Site : Subject: ValidateAt parameter is effectively only client side (was: re[2]: : [ACFUG Discuss] Password CFinput regular expression - throws alert/error : after correction also) : : IIRC cfinput will always use a hidden form field on the client to : : force server side validation. : Dean is right: : cfif isdefined(form) : cfdump var=#form# show=MyNumber : /cfif : cfform name=cfformtest : cfinput type=Text validate=integer validateat=OnServer : name=MyNumber : cfinput type=Submit value=submit name=Submit : /cfform : form name=RegularForm method=post : input type=Text name=MyNumber : input type=Submit value=submit name=Submit : /form : You can submit whatever you want using the second form. : I'm a bit disappointed because Adobe seems to have thought of and made an : effort to prevent a similar situation with their Ajax implementation: : _cf_clientid is appended to the url for each http request. : /m : - : To unsubscribe from this list, manage your profile @ : http://www.acfug.org?fa=gin.edituserform : For more info, see http://www.acfug.org/mailinglists : Archive @ http://www.mail-archive.com/discussion%40acfug.org/ : List hosted by http://www.fusionlink.com : - : - : To unsubscribe from this list, manage your profile @ : http://www.acfug.org?fa=login.edituserform : For more info, see http://www.acfug.org/mailinglists : Archive @ http://www.mail-archive.com/discussion%40acfug.org/ : List hosted by http://www.fusionlink.com : - -- Original Message -- FROM: Charlie Arehart char...@carehart.org TO:discussion@acfug.org DATE: Tue, 10 Mar 2009 11:53:02 -0400 SUBJECT: RE: ValidateAt parameter is effectively only client side (was: re[2]: [ACFUG Discuss] Password CFinput regular expression - throws alert/error after correction also) Mischa, I'm curious what you're getting at here. Perhaps I missed part of what was being traded, but I was actually surprised by the assertion Dean made (that you repeated). CFInput does NOT *always* use a hidden field to force server-side validation. It only does that if you ask it to, using the ValidateAt=onserver, as you show. If you don't specify that, it doesn't add any hidden fields. Or are you guys making a different point, about what it is that CF does create as that hidden field when you ask it to (using that attribute)? I'm just trying to understand that, and also your subject line, which seems to be asserting yet something different (that it's only client side). Help us out. It may just be me that's confused. :-) /charlie -Original Message- From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Mischa Uppelschoten ext 10 Sent: Monday, March 09, 2009 3:05 PM To: Web Site Subject: ValidateAt parameter is effectively only client side (was: re[2]: [ACFUG Discuss] Password CFinput regular expression - throws alert/error after correction also) : IIRC cfinput will always use a hidden form field on the client to : force server side
re[4]: ValidateAt parameter is effectively only client side (was: re[2]: [ACFUG Discuss] Password CFinput regular expression - throws alert/error after correction also)
: Yes. Look at how its done by Struts and the Apache Commons Validator : platform. Unless I'm misunderstanding, in Struts you have to include the validation routine in the action page, which is not really what I was after. - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re[2]: [ACFUG Discuss] excel or csv to database table
: My other thought would be ask if you think it would be ok to just use the: files themselves as the database rather than import and use MS SQL. This way: the files could just be uploaded to the server and overwritten when they need: to be updated. There are basically 5 files with some location data in it that: are used for a specialized dealer locator app. My thought was maybe I could: just read the files into a select query and then loop the query to filter the: records to be displayed. There will never be more than several hundred: records in the excel files. However the site that will use it may have a fair: amount of traffic so I didnt know if reading the files might become a: problem. Perhaps I could read them into a cached query to solve that problem?: I have a similar situation where my excel file updates a few times per week and I need to read it just once and the format does not change: you can define an ODBC DSN to the file and read that from CF like any other true database. After the definition is done and is working (inspect the schema.ini file, it will make sense once you look at it), you could even just replace the excel file with a new version without doing anything else. Only drawback I can think of is that it's slightly more difficult to combine your excel data with any data housed on your db server if you don't truly insert it in a table. /m - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
ValidateAt parameter is effectively only client side (was: re[2]: [ACFUG Discuss] Password CFinput regular expression - throws alert/error after correction also)
: IIRC cfinput will always use a hidden form field on the client to : force server side validation. Dean is right: cfif isdefined(form) cfdump var=#form# show=MyNumber /cfif cfform name=cfformtest cfinput type=Text validate=integer validateat=OnServer name=MyNumber cfinput type=Submit value=submit name=Submit /cfform form name=RegularForm method=post input type=Text name=MyNumber input type=Submit value=submit name=Submit /form You can submit whatever you want using the second form. I'm a bit disappointed because Adobe seems to have thought of and made an effort to prevent a similar situation with their Ajax implementation: _cf_clientid is appended to the url for each http request. /m - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re: [ACFUG Discuss] cfmail issue
At the risk of stating the obvious, here is what I would do: 1. Dump the values for your vars and hardcode them in a CFMAIL statement with a very basic subject and body2. If that looks good but still fails to send, another troubleshooting step is to use telnet from your CF server and send an email. http://www.wikihow.com/Send-Email-Using-Telnet This should reveal quick enough whether the mail server is the piece that is tripping you up... /m : Hello all, : : I am having an issue with the cfmail tag. In the instance of use, everything: seems to be in order (syntax, required attributes, data is valid) but for: some reason, the tag will not fire an email. I have tried everything I know: of to try (verifying the query data, eliminating the body except for a short: message, etc.) but nothing resolves the issue. I had suspected that the mail: service itself may have stopped responding but I was able to execute a: different cfmail instance in its place. Additionally, none of this: non-execution generates any errors or log entries. I am at a loss as to where: to focus my efforts and would appreciate any assistance. : : Here is the snippet: : : cfmail to="#qAdAgent.agent_email#" cc="#qAdAgent.ad_emails#": bcc="#Application.email#" from="#Application.email#" subject="Your tour has: been added to #Application.domain#" type="HTML" : : Troy Jones : Dynapp Support Team : 678-528-2952 : --- Original Message --- From:"Troy Jones" t...@dynapp.com To:discussion@acfug.org Date:Tue, 3 Mar 2009 14:02:55 -0500 Subject:[ACFUG Discuss] cfmail issue Hello all, I am having an issue with the cfmail tag. In the instance of use, everything seems to be in order (syntax, required attributes, data is valid) but for some reason, the tag will not fire an email. I have tried everything I know of to try (verifying the query data, eliminating the body except for a short message, etc.) but nothing resolves the issue. I had suspected that the mail service itself may have stopped responding but I was able to execute a different cfmail instance in its place. Additionally, none of this non-execution generates any errors or log entries. I am at a loss as to where to focus my efforts and would appreciate any assistance. Here is the snippet: cfmail to="#qAdAgent.agent_email#" cc="#qAdAgent.ad_emails#" bcc="#Application.email#" from="#Application.email#" subject="Your tour has been added to #Application.domain#" type="HTML" Troy Jones Dynapp Support Team 678-528-2952 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re: [ACFUG Discuss] CF 7 Pagination - Query rerun making pagination useless
: But if the query is run *every time* when you go to next page, inst it: defeating the very purpose of pagination i.e. less load in performing query: to get 1000s of records at once.I think every situation where you may have 1000s of records being delivered to CF is potentially suspect. IMHO that is more of a design flaw than a pagination quest. /m - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re[2]: [ACFUG Discuss] XML and SOAP
But I know this path is correct - "http//demo.campaigntracking.com/services/gmap/Mapservice.asmx". ** Did you notice the missing colon? /m - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re[2]: [ACFUG Discuss] Blocking a ColdFusion website's directory
OP never used the word authentication. From wikipedia: authorization is the concept of allowing access to resources only to those permitted to use them. Seems to me he used the term properly. /m : Emile, : From your description, you really need to define what authorized and not : authorized means. : This will help clarify to the people assisting you as to the approach they can : suggest. : As authorization and authentication often times are used interchangeably : by developers when in fact they represent two distinctly different topics. : Teddy R. Payne, ACCFD : Google Talk - teddyrpa...@gmail.com : On Thu, Dec 18, 2008 at 12:00 PM, Emile Melbourne emile.melbou...@gmail.com : wrote: : Hey Everyone, : : I am currently in the process of building my first secured site. Most pages : of the site will be behind a login page. I'm using ColdFusion's : Application.cfc onRequestStart function to check if a user is logged in or : not. Thats pretty much boiler plate. : : My concern is how to prevent an non authorized user from accessing or : hotlinking to non ColdFusion page. (i.e, images, pdfs, swfs, .txt etc). : : Whats the best way to ensure a user can't link directly to these items but : instead be redirected to login.cfm instead? : : Is there a way to lock down an entire directory? : : Thank you for all your help : Emile : : - : To unsubscribe from this list, manage your profile @ : http://www.acfug.org?fa=login.edituserform : : For more info, see http://www.acfug.org/mailinglists : Archive @ http://www.mail-archive.com/discussion%40acfug.org/ : List hosted by FusionLink http://www.fusionlink.com : - : - : To unsubscribe from this list, manage your profile @ : http://www.acfug.org?fa=login.edituserform : For more info, see http://www.acfug.org/mailinglists : Archive @ http://www.mail-archive.com/discussion%40acfug.org/ : List hosted by FusionLink http://www.fusionlink.com : - -- Original Message -- FROM: Teddy R. Payne teddyrpa...@gmail.com TO:discussion@acfug.org DATE: Thu, 18 Dec 2008 13:25:15 -0500 SUBJECT: Re: [ACFUG Discuss] Blocking a ColdFusion website's directory Emile, From your description, you really need to define what authorized and not authorized means. This will help clarify to the people assisting you as to the approach they can suggest. As authorization and authentication often times are used interchangeably by developers when in fact they represent two distinctly different topics. Teddy R. Payne, ACCFD Google Talk - teddyrpa...@gmail.com On Thu, Dec 18, 2008 at 12:00 PM, Emile Melbourne emile.melbou...@gmail.com wrote: Hey Everyone, I am currently in the process of building my first secured site. Most pages of the site will be behind a login page. I'm using ColdFusion's Application.cfc onRequestStart function to check if a user is logged in or not. Thats pretty much boiler plate. My concern is how to prevent an non authorized user from accessing or hotlinking to non ColdFusion page. (i.e, images, pdfs, swfs, .txt etc). Whats the best way to ensure a user can't link directly to these items but instead be redirected to login.cfm instead? Is there a way to lock down an entire directory? Thank you for all your help Emile - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink http://www.fusionlink.com - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink http://www.fusionlink.com - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re: [ACFUG Discuss] Re: Programming OMR (Optical mark recognition) codes in ColdFusion 7
Are you asking about converting html to pdf or creating the actual OMR symbols? The former could be solved by using cfdocument. The latter, I'm afraid, you're on your own, depending on the OMR symbol that is required. A quick google turned up no standards but barcodes, which doesn't seem you're interested in. If you can somehow produce the OMR graphic, you can use it within HTML and if it shows ok in the browser, the cfdocument tag should include it unchanged in the pdf. Depending on the complexity of the OMR symbol, JAI or a product like Alagad's Image component might work: http://www.alagad.com/go/products-and-projects/image-component/create-and-draw-into-images Obviously, if you only have a limited number of OMR symbols to deal with, just have a graphics person create them as a gif or whatever and insert them in your page. Is that what you mean? /m : Just checking if someone has done like this before. If you have done this in : any other language, then that also fine. : Just need to know a good starting point. : Thanks, : On Fri, Nov 21, 2008 at 4:57 PM, Ajas Mohammed [EMAIL PROTECTED] wrote: : Hi, : : We are working on a new feature which is to write an OMR(Optical mark : recognition) code on a pdf file. OMR is like OCR i.e. optical character : recognition. : : any ideas how to achieve this in CF 7. : : thanks, : : -- : Ajas Mohammed / : http://ajashadi.blogspot.com : We cannot become what we need to be, remaining what we are. : No matter what, find a way. Because thats what winners do. : You can't improve what you don't measure. : Quality is never an accident; it is always the result of high intention, : sincere effort, intelligent direction and skillful execution; it represents : the wise choice of many alternatives. : : -- : Ajas Mohammed / : http://ajashadi.blogspot.com : We cannot become what we need to be, remaining what we are. : No matter what, find a way. Because thats what winners do. : You can't improve what you don't measure. : Quality is never an accident; it is always the result of high intention, : sincere effort, intelligent direction and skillful execution; it represents : the wise choice of many alternatives. : - : To unsubscribe from this list, manage your profile @ : http://www.acfug.org?fa=login.edituserform : For more info, see http://www.acfug.org/mailinglists : Archive @ http://www.mail-archive.com/discussion%40acfug.org/ : List hosted by FusionLink http://www.fusionlink.com : - -- Original Message -- FROM: Ajas Mohammed [EMAIL PROTECTED] TO:discussion@acfug.org DATE: Wed, 26 Nov 2008 12:04:32 -0500 SUBJECT: [ACFUG Discuss] Re: Programming OMR (Optical mark recognition) codes in ColdFusion 7 Just checking if someone has done like this before. If you have done this in any other language, then that also fine. Just need to know a good starting point. Thanks, On Fri, Nov 21, 2008 at 4:57 PM, Ajas Mohammed [EMAIL PROTECTED] wrote: Hi, We are working on a new feature which is to write an OMR(Optical mark recognition) code on a pdf file. OMR is like OCR i.e. optical character recognition. any ideas how to achieve this in CF 7. thanks, -- Ajas Mohammed / http://ajashadi.blogspot.com We cannot become what we need to be, remaining what we are. No matter what, find a way. Because thats what winners do. You can't improve what you don't measure. Quality is never an accident; it is always the result of high intention, sincere effort, intelligent direction and skillful execution; it represents the wise choice of many alternatives. -- Ajas Mohammed / http://ajashadi.blogspot.com We cannot become what we need to be, remaining what we are. No matter what, find a way. Because thats what winners do. You can't improve what you don't measure. Quality is never an accident; it is always the result of high intention, sincere effort, intelligent direction and skillful execution; it represents the wise choice of many alternatives. - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink http://www.fusionlink.com - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com
re: [ACFUG Discuss] Merchant Accounts
I just did something similar for a very very basic ordering system. I used a 3rd party hosted shopping cart (Mal's e-commerce) which natively integrated with Authorize.net's gateway. No CC details are stored on the customer's server whatsoever. Setup was extremely easy, but the cart will never beat rolling your own. Pricing less than $100/yr for the cart. Not sure about the gateway. Contact me offlist if you need more info. Mischa. : I know I've seen this topic come up over the years on this list and : others, but I think I need to ask it again: : I have a client who wants to accept credit cards with their online site : that sells their products. I wrote the site for them years ago in CF, and : process for placing orders is currently quite manual so they don't have to : deal with actually storing CC information on their servers. Best efforts : are made to ensure security in code and from a network security : perspective, but it just seems like a whole other animal to actually store : that kind of info and have to be responsible for it. I know PayPal offers : something this - but does anybody have any other recent favorites that are : easy to set up with a ColdFusion site and have good rates? : - : To unsubscribe from this list, manage your profile @ : http://www.acfug.org?fa=login.edituserform : For more info, see http://www.acfug.org/mailinglists : Archive @ http://www.mail-archive.com/discussion%40acfug.org/ : List hosted by http://www.fusionlink.com : - -- Original Message -- FROM: Mike Staver [EMAIL PROTECTED] TO:discussion@acfug.org DATE: Tue, 25 Nov 2008 10:41:35 -0700 (MST) SUBJECT: [ACFUG Discuss] Merchant Accounts I know I've seen this topic come up over the years on this list and others, but I think I need to ask it again: I have a client who wants to accept credit cards with their online site that sells their products. I wrote the site for them years ago in CF, and process for placing orders is currently quite manual so they don't have to deal with actually storing CC information on their servers. Best efforts are made to ensure security in code and from a network security perspective, but it just seems like a whole other animal to actually store that kind of info and have to be responsible for it. I know PayPal offers something this - but does anybody have any other recent favorites that are easy to set up with a ColdFusion site and have good rates? - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re: [ACFUG Discuss] Non-CF Question
: Windows-formatted HD into my Mac, it recognizes it, and successfully copies : files from it onto the Mac, but when I try to copy a file from the Mac onto : the Windows-formatted HD, the Mac says that it cannot modify that HD. I'd try formatting the external disk using FAT32... most operating systems can natively read and write that. There are some limitations to the partition and file size, for you probably a 32GB partition and a 4GB file. /m - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re[2]: [ACFUG Discuss] Non-CF Question
: Yep. But now we don't know why. Oh, well... Tom is talking about transferring a file over a network, you were talking about transferring it to an attached storage device. In Tom's case, the operating system's file system drivers take care of reading the file in the computer's memory, Windows reading it's NTFS, Mac reading it's HPFS+ (?). After that, the network stack takes care of transporting the file and this is where the two computers communicate (in TCP/IP probably). In your scenario you were trying to make the Mac write to an NTFS volume, which it can't do. Hope that makes sense! /m See also http://dictionary.zdnet.com/definition/operating%2Bsystem.html : -Original Message- : From: Tom McNeer : Sent: Nov 18, 2008 1:09 PM : To: discussion@acfug.org : Subject: Re: [ACFUG Discuss] Non-CF Question : : Hi Peyton, : : : On Tue, Nov 18, 2008 at 11:06 AM, Peyton Todd [EMAIL PROTECTED] : wrote: : : Just for interest, Tom, you might want to check and see if the PC drive you : can copy to is FAT or FAT32... : Nope. They're NTFS. Aside from the backup network drive, I have a Windows : 2003 server that I read and write from all day. : : Most of my development files are on that server, so I'm working with them in : Eclipse constantly. : : Glad you got your problem solved, though. : : -- : Thanks, : : Tom : : Tom McNeer : MediumCool : http://www.mediumcool.com : 1735 Johnson Road NE : Atlanta, GA 30306 : 404.589.0560 : : - : To unsubscribe from this list, manage your profile @ : http://www.acfug.org?fa=login.edituserform : : For more info, see http://www.acfug.org/mailinglists : Archive @ http://www.mail-archive.com/discussion%40acfug.org/ : List hosted by FusionLink http://www.fusionlink.com : - : - : To unsubscribe from this list, manage your profile @ : http://www.acfug.org?fa=login.edituserform : For more info, see http://www.acfug.org/mailinglists : Archive @ http://www.mail-archive.com/discussion%40acfug.org/ : List hosted by http://www.fusionlink.com : - -- Original Message -- FROM: Peyton Todd [EMAIL PROTECTED] TO:discussion@acfug.org DATE: Tue, 18 Nov 2008 13:30:42 -0500 SUBJECT: Re: [ACFUG Discuss] Non-CF Question Yep. But now we don't know why. Oh, well... -Original Message- From: Tom McNeer Sent: Nov 18, 2008 1:09 PM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] Non-CF Question Hi Peyton, On Tue, Nov 18, 2008 at 11:06 AM, Peyton Todd [EMAIL PROTECTED] wrote: Just for interest, Tom, you might want to check and see if the PC drive you can copy to is FAT or FAT32... Nope. They're NTFS. Aside from the backup network drive, I have a Windows 2003 server that I read and write from all day. Most of my development files are on that server, so I'm working with them in Eclipse constantly. Glad you got your problem solved, though. -- Thanks, Tom Tom McNeer MediumCool http://www.mediumcool.com 1735 Johnson Road NE Atlanta, GA 30306 404.589.0560 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink http://www.fusionlink.com - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re[2]: [ACFUG Discuss] CFMail Delivery Confirmation
: Oh! Atleast according to the documention in Adobe website, if you use the: spoolEnable = false in CFMAIL or use the CF administrators Mail settings to: disable spooling altogether, the page that sends out the email, should: atleast try to send out the email immediately and, give you out an: application exception if there was a delivery or connection issues. The only connection issue you're going to troubleshoot this way is between the CF server and your own SMTP server, as defined in the CF Administrator. The SMTP server receives the message from CF, spools it, and then tries to deliver it to the recipient's mailserver. This process may or may not fail. The OP wrote: " Is there anyway to tell if the email was successfully delivered to the recipient?" Yes, there is, but it's not easy doing it from ColdFusion. As outlined above, the CF server itself never connects to the recipients mailserver, so it cannot by itself determine whether the message was delivered or not. Only the sending SMTP server knows whether a message was successfully delivered or not. Successful message delivery may not even be what you need: it doesn't tell you with absolute certainty that the mailbox (email address) is valid and it of course is no guarantee at all that the recipient actually got and read the message. Hope that makes sense! Mischa. - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re: [ACFUG Discuss] Switch to CF8
I'd be curious how they explain the upload succeeding under FF. Anyway, I remember having some issues with testing whether users are logged on, something in the syntax or behavior of that function changed, but I don't remember the specifics. Good luck! Mischa. : To deal with my upload issue, my ISP wants to switch my site from CF7 to : CF8. I am inclined to do so. : Are there any Gotcha's I need to be aware of? : Forrest C. Gilmore : - : To unsubscribe from this list, manage your profile @ : http://www.acfug.org?fa=login.edituserform : For more info, see http://www.acfug.org/mailinglists : Archive @ http://www.mail-archive.com/discussion%40acfug.org/ : List hosted by http://www.fusionlink.com : - -- Original Message -- FROM: Forrest C. Gilmore [EMAIL PROTECTED] TO:acfug Discussion discussion@acfug.org DATE: Thu, 23 Oct 2008 11:27:05 -0400 SUBJECT: [ACFUG Discuss] Switch to CF8 To deal with my upload issue, my ISP wants to switch my site from CF7 to CF8. I am inclined to do so. Are there any Gotcha's I need to be aware of? Forrest C. Gilmore - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re: [ACFUG Discuss] cfchart
If you're on IIS, make sure to UNcheck "Verify that file exists": Go to IIS and open your site properties. Click on the "home directory" tab and then click on the configuration button. If you have a typical setup you should see the Jrun wildcard entry in the bottom list box. Select this entry and click on "edit". There is a checkbox that says "verify that file exists". /m : Hey all, : : I am troubleshooting an instance of the cfchart tag in one of my clients: applications. I am not familiar with the use of this tag at all but, in a: nutshell, the tag appears to be syntactically correct and the requested data: exists at the time of the call but the chart never appears and there doesnt: seem to be any attempt, failed or otherwise, to write source code to generate: it. Here is the snippet with the cfchart call: : : cfchart format="flash" xaxistitle="Date" yaxistitle="Views" chartwidth="450": show3d="true" title="Tour Views Per Day" name="statChart" : cfchartseries type="bar" : itemcolumn="Date" : valuecolumn="View" : cfoutput: query="getHits"cfchartdata item="#DateFormat(stats_date, 'mm/dd/yy')#": value="#TotalHits#"/cfoutput : /cfchartseries : /cfchart : : I dumped the query variable that contains the value requested in the: cfchartdata and it does exist when this tag is called. I can find no errors: being thrown either in the CF administrator or in the applications error: handing system. The chart does not appear in any browser. : : Any ideas? : : Troy Jones : Dynapp Support Team : 678-528-2952 : --- Original Message --- From:"Troy Jones" [EMAIL PROTECTED] To:discussion@acfug.org Date:Fri, 24 Oct 2008 15:27:18 -0400 Subject:[ACFUG Discuss] cfchart Hey all, I am troubleshooting an instance of the cfchart tag in one of my clients applications. I am not familiar with the use of this tag at all but, in a nutshell, the tag appears to be syntactically correct and the requested data exists at the time of the call but the chart never appears and there doesnt seem to be any attempt, failed or otherwise, to write source code to generate it. Here is the snippet with the cfchart call: cfchart format="flash" xaxistitle="Date" yaxistitle="Views" chartwidth="450" show3d="true" title="Tour Views Per Day" name="statChart" cfchartseries type="bar" itemcolumn="Date" valuecolumn="View" cfoutput query="getHits"cfchartdata item="#DateFormat(stats_date, 'mm/dd/yy')#" value="#TotalHits#"/cfoutput /cfchartseries /cfchart I dumped the query variable that contains the value requested in the cfchartdata and it does exist when this tag is called. I can find no errors being thrown either in the CF administrator or in the applications error handing system. The chart does not appear in any browser. Any ideas? Troy Jones Dynapp Support Team 678-528-2952 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re[2]: [ACFUG Discuss] image properties
How about http://www.sno.phy.queensu.ca/~phil/exiftool/ or http://www.sentex.net/~mwandel/jhead/ And call it with cfexecute? : Hi all : Is there a way to 'put' EXIF info using CF (or Java)? : Tommy : Mischa Uppelschoten ext 10 wrote: : CF8: you should be able to get title, author etc from ImageGetEXIFMetadata : : else: : CF and JAI: : http://www.evolt.org/article/Image_Manipulation_with_CFMX_and_JAI/18/33907/ht : tp://www.evolt.org/article/Image_Manipulation_with_CFMX_and_JAI/18/33907/ : : and then : : http://download.java.net/media/jai-imageio/javadoc/1.1/com/sun/media/imageio/ : plugins/tiff/EXIFTIFFTagSet.html : : ? : : : : Seth, are you on CF 8, or earlier? CF8 offers dozens of new file : management : : (and image) functions, so you may be able to get the info there. It may : also : : be possible using stuff in CF 6 or 7, if you're on that, using older : : functions or tags. I don't do enough with this sort of challenge to know : of : : the answer off the top of my head. Consider this more a ping to get others : : to offer thoughts. :-) : : : /charlie : : : -Original Message- : : From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tepfer, Seth : : Sent: Thursday, October 09, 2008 1:32 PM : : To: discussion@acfug.org : : Subject: [ACFUG Discuss] image properties : : : I see using imageInfo I can get height, width, source name, : : alpha_channel_support, pixel_size, transparency, and much more. : : : In Windows file property info, I see description tags: title, subject, : : keywords, author. : : : How can I get that info via ColdFusion? : : : Thanks. : : Yes, I know the Sept meeting was all about CFimage. I'm a bad developer. : : : : Seth Tepfer 770-784-8487 [EMAIL PROTECTED] : : Director of Administrative Computing, Oxford College : : Proud Pappa (again): Zyle Caspian, born Thursday, April 17, 2:38 pm. 8 : lbs, : : 19.5 inches. Baby Pix at: http://www.flickr.com/photos/[EMAIL PROTECTED]/ : : : This e-mail message (including any attachments) is for the sole use of : : the intended recipient(s) and may contain confidential and privileged : : information. If the reader of this message is not the intended : : recipient, you are hereby notified that any dissemination, distribution : : or copying of this message (including any attachments) is strictly : : prohibited. : : : If you have received this message in error, please contact : : the sender by reply e-mail message and destroy all copies of the : : original message (including attachments). : : : : - : : To unsubscribe from this list, manage your profile @ : : http://www.acfug.org?fa=gin.edituserform : : : For more info, see http://www.acfug.org/mailinglists : : Archive @ http://www.mail-archive.com/discussion%40acfug.org/ : : List hosted by http://www.fusionlink.com : : - : : : : : : : : - : : To unsubscribe from this list, manage your profile @ : : http://www.acfug.org?fa=login.edituserform : : : For more info, see http://www.acfug.org/mailinglists : : Archive @ http://www.mail-archive.com/discussion%40acfug.org/ : : List hosted by http://www.fusionlink.com : : - : : : : : : : : : : -- Original Message -- : : FROM: Charlie Arehart [EMAIL PROTECTED] : TO:discussion@acfug.org : DATE: Fri, 10 Oct 2008 14:29:55 -0400 : : SUBJECT: RE: [ACFUG Discuss] image properties : : Seth, are you on CF 8, or earlier? CF8 offers dozens of new file management : (and image) functions, so you may be able to get the info there. It may also : be possible using stuff in CF 6 or 7, if you're on that, using older : functions or tags. I don't do enough with this sort of challenge to know of : the answer off the top of my head. Consider this more a ping to get others : to offer thoughts. :-) : : /charlie : : -Original Message- : From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tepfer, Seth : Sent: Thursday, October 09, 2008 1:32 PM : To: discussion@acfug.org : Subject: [ACFUG Discuss] image properties : : I see using imageInfo I can get height, width, source name, : alpha_channel_support, pixel_size, transparency, and much more. : : In Windows file property info, I see description tags: title, subject, : keywords, author. : : How can I get that info via ColdFusion? : : Thanks. : Yes, I know the Sept meeting was all about CFimage. I'm a bad developer. : : : Seth Tepfer 770-784-8487 [EMAIL PROTECTED] : Director of Administrative Computing, Oxford College : Proud Pappa (again): Zyle Caspian, born Thursday, April 17, 2:38 pm. 8 lbs, : 19.5 inches. Baby Pix at: http://www.flickr.com/photos/[EMAIL PROTECTED]/ : : This e-mail message
re[2]: [ACFUG Discuss] image properties
CF8: you should be able to get title, author etc from ImageGetEXIFMetadata else: CF and JAI: http://www.evolt.org/article/Image_Manipulation_with_CFMX_and_JAI/18/33907/http://www.evolt.org/article/Image_Manipulation_with_CFMX_and_JAI/18/33907/ and then http://download.java.net/media/jai-imageio/javadoc/1.1/com/sun/media/imageio/plugins/tiff/EXIFTIFFTagSet.html ? : Seth, are you on CF 8, or earlier? CF8 offers dozens of new file management : (and image) functions, so you may be able to get the info there. It may also : be possible using stuff in CF 6 or 7, if you're on that, using older : functions or tags. I don't do enough with this sort of challenge to know of : the answer off the top of my head. Consider this more a ping to get others : to offer thoughts. :-) : /charlie : -Original Message- : From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tepfer, Seth : Sent: Thursday, October 09, 2008 1:32 PM : To: discussion@acfug.org : Subject: [ACFUG Discuss] image properties : I see using imageInfo I can get height, width, source name, : alpha_channel_support, pixel_size, transparency, and much more. : In Windows file property info, I see description tags: title, subject, : keywords, author. : How can I get that info via ColdFusion? : Thanks. : Yes, I know the Sept meeting was all about CFimage. I'm a bad developer. : Seth Tepfer 770-784-8487 [EMAIL PROTECTED] : Director of Administrative Computing, Oxford College : Proud Pappa (again): Zyle Caspian, born Thursday, April 17, 2:38 pm. 8 lbs, : 19.5 inches. Baby Pix at: http://www.flickr.com/photos/[EMAIL PROTECTED]/ : This e-mail message (including any attachments) is for the sole use of : the intended recipient(s) and may contain confidential and privileged : information. If the reader of this message is not the intended : recipient, you are hereby notified that any dissemination, distribution : or copying of this message (including any attachments) is strictly : prohibited. : If you have received this message in error, please contact : the sender by reply e-mail message and destroy all copies of the : original message (including attachments). : - : To unsubscribe from this list, manage your profile @ : http://www.acfug.org?fa=gin.edituserform : For more info, see http://www.acfug.org/mailinglists : Archive @ http://www.mail-archive.com/discussion%40acfug.org/ : List hosted by http://www.fusionlink.com : - : - : To unsubscribe from this list, manage your profile @ : http://www.acfug.org?fa=login.edituserform : For more info, see http://www.acfug.org/mailinglists : Archive @ http://www.mail-archive.com/discussion%40acfug.org/ : List hosted by http://www.fusionlink.com : - -- Original Message -- FROM: Charlie Arehart [EMAIL PROTECTED] TO:discussion@acfug.org DATE: Fri, 10 Oct 2008 14:29:55 -0400 SUBJECT: RE: [ACFUG Discuss] image properties Seth, are you on CF 8, or earlier? CF8 offers dozens of new file management (and image) functions, so you may be able to get the info there. It may also be possible using stuff in CF 6 or 7, if you're on that, using older functions or tags. I don't do enough with this sort of challenge to know of the answer off the top of my head. Consider this more a ping to get others to offer thoughts. :-) /charlie -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tepfer, Seth Sent: Thursday, October 09, 2008 1:32 PM To: discussion@acfug.org Subject: [ACFUG Discuss] image properties I see using imageInfo I can get height, width, source name, alpha_channel_support, pixel_size, transparency, and much more. In Windows file property info, I see description tags: title, subject, keywords, author. How can I get that info via ColdFusion? Thanks. Yes, I know the Sept meeting was all about CFimage. I'm a bad developer. Seth Tepfer 770-784-8487 [EMAIL PROTECTED] Director of Administrative Computing, Oxford College Proud Pappa (again): Zyle Caspian, born Thursday, April 17, 2:38 pm. 8 lbs, 19.5 inches. Baby Pix at: http://www.flickr.com/photos/[EMAIL PROTECTED]/ This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies of the original message (including attachments). - To unsubscribe from this list,
re[2]: [ACFUG Discuss] passing a structure as wddx in url parameter. Any alternate method to avoid wddx?
: I didnt know, you cannot send structure var in form post. So I guess I have to: use wddx. You can use wddx and plop it all in one field as a piece of text, or you can take apart your structure and send all your fields individually: cfhttp method="post" url="" port="8500" throwonerror="Yes" cfhttpparam name="company_id" type="FormField" value="abc" cfhttpparam name="employee_id" type="FormField" value="232" /cfhttp This will result in a neat structure (form) on the receiving end. Just think of it as your CF server acting as a browser: a struct (or object or query etc.) cannot exist in a browser, it only exists on the server and as such, CF cannot post that variable to another page. - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re[2]: [ACFUG Discuss] CF8 PDFs
It is not necessary to use a true PDF form (with identified fields and values) to be able to extract text from it. I just printed a PO from our system using an open source PDF printer and then converted it back into Excel. There are some applications that use a bitmap format like tiff or jpg as an intermediary to produce a PDF. Documents from these systems could obviously not easily be converted back into text. /m : I think (Josh please correct me) that the availability of the data in the: final PDF file has more to do with how the PDF was created. If you just use a: PDF printer to create the file your data isnt available, but my understanding: was that if you used a "PDF form" on in the input side then the data is still: in those form fields in the binary file and thus extractable. Otherwise I: dont see what the excitement would be about with PDF workflows in Livecycle.: : On Wed, Aug 6, 2008 at 3:14 PM, Jeff Howard [EMAIL PROTECTED] wrote:: : Ok, I took your advice from your first post and converted it to text and: dumped it just to see what I would be dealing with. I understand what you: are saying about pulling structured data from an unstructured source. I: guess my thought was if the the document was created from a form, that there: may be a way to pull the form fields out once the document had been: created and the answer is no. : -- : Howard Fore, [EMAIL PROTECTED]: "The universe tends toward maximum irony. Dont push it." - Jeff Atwood: : - : To unsubscribe from this list, manage your profile @ : http://www.acfug.org?fa=login.edituserform : : For more info, see http://www.acfug.org/mailinglists : Archive @ http://www.mail-archive.com/discussion%40acfug.org/ : List hosted by FusionLink : -Mischa UppelschotenThe Banker's Exchange, LLC.4200 Highlands Parkway SESuite ASmyrna, GA 30082-5198Phone:(404) 605-0100 ext. 10Fax:(404) 355-7930Web:www.BankersX.comFollow this link for Instant Web Chat:http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN --- Original Message --- From:"Howard Fore" [EMAIL PROTECTED] To:discussion@acfug.org Date:Wed, 6 Aug 2008 15:39:08 -0400 Subject:Re: [ACFUG Discuss] CF8 PDFs I think (Josh please correct me) that the availability of the data in the final PDF file has more to do with how the PDF was created. If you just use a PDF printer to create the file your data isn't available, but my understanding was that if you used a "PDF form" on in the input side then the data is still in those form fields in the binary file and thus extractable. Otherwise I don't see what the excitement would be about with PDF workflows in Livecycle. On Wed, Aug 6, 2008 at 3:14 PM, Jeff Howard [EMAIL PROTECTED] wrote: Ok, I took your advice from your first post and converted it to text and dumped it just to see what I would be dealing with. I understand what you are saying about pulling structured data from an unstructured source. I guess my thought was if the the document was created from a form, that there may bea way to pull the form fields out once the document had been created and the answer is no.-- Howard Fore, [EMAIL PROTECTED]"The universe tends toward maximum irony. Don't push it." - Jeff Atwood- To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re: [ACFUG Discuss] passing a structure as wddx in url parameter. Any alternate method to avoid wddx?
I would only pass company_id and employee_no in the url and then run the query again to find the other info on your target system. I would agree that passing that amount of info through the url will not make you happy in the long run. If you can't run the query on the remote system, I would consider using a form post. /m : Hi there, : : I am using wddx to pass a structure as a url parameter. All I am doing is this: shown below, based on condition that query returns only 1 recordset : : cfoutput query="qryempdetails": : cfset st_Employee = structNew(): : cfset structInsert(st_Employee, "company_id", company_id): cfset structInsert(st_Employee, "employee_no", employee_no): cfset structInsert(st_Employee, "employee_name", employee_name) : cfset structInsert(st_Employee, "ee_id", employee_co_id): cfset structInsert(st_Employee, "manager_employee", manager_employee): cfset structInsert(st_Employee, "company_name", company_name): cfset structInsert(st_Employee, "email_address", email_address): cfset structInsert(st_Employee, "view_full", view_full): cfset structInsert(st_Employee, "phone", ss_phone): cfset structInsert(st_Employee, "hr_limit", hr_limit) : : /cfoutput : : Store this struct with wddx: : cfwddx: action="": input="#st_Employee#": output="thisUser" : : The reason I had to do this is because from /A/B/test.cfm, I have to relocate: to /subApp/home.cfm and in /subApp/Application.cfm which gets called, i set: client vars using the wddx url var like this : : cfwddx: action="": input="#thisUser#": output="st_Employee" : : and finally use it to set client vars. : : Is there a better/alternate way to achieve this? I heard wddx as url parameter: could be messy in the long run. : : Please advise. : -- : Ajas Mohammed /: http://ajashadi.blogspot.com: We cannot become what we need to be, remaining what we are.: No matter what, find a way. Because thats what winners do.: You cant improve what you dont measure.: Quality is never an accident; it is always the result of high intention,: sincere effort, intelligent direction and skillful execution; it represents: the wise choice of many alternatives. : - : To unsubscribe from this list, manage your profile @ : http://www.acfug.org?fa=login.edituserform : : For more info, see http://www.acfug.org/mailinglists : Archive @ http://www.mail-archive.com/discussion%40acfug.org/ : List hosted by FusionLink : -Mischa UppelschotenThe Banker's Exchange, LLC.4200 Highlands Parkway SESuite ASmyrna, GA 30082-5198Phone:(404) 605-0100 ext. 10Fax:(404) 355-7930Web:www.BankersX.comFollow this link for Instant Web Chat:http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN --- Original Message --- From:"Ajas Mohammed" [EMAIL PROTECTED] To:discussion@acfug.org Date:Tue, 5 Aug 2008 15:39:36 -0400 Subject:[ACFUG Discuss] passing a structure as wddx in url parameter. Any alternate method to avoid wddx? Hi there, I am using wddx to pass a structure as a url parameter. All I am doing is this shown below, based on condition that query returns only 1 recordset cfoutput query="qryempdetails" cfset st_Employee = structNew() cfset structInsert(st_Employee, "company_id", company_id)cfset structInsert(st_Employee, "employee_no", employee_no)cfset structInsert(st_Employee, "employee_name", employee_name) cfset structInsert(st_Employee, "ee_id", employee_co_id)cfset structInsert(st_Employee, "manager_employee", manager_employee)cfset structInsert(st_Employee, "company_name", company_name)cfset structInsert(st_Employee, "email_address", email_address)cfset structInsert(st_Employee, "view_full", view_full)cfset structInsert(st_Employee, "phone", ss_phone)cfset structInsert(st_Employee, "hr_limit", hr_limit) /cfoutput Store this struct with wddx cfwddxaction=""input="#st_Employee#"output="thisUser" The reason I had to do this is because from /A/B/test.cfm, I have to relocate to /subApp/home.cfm and in /subApp/Application.cfm which gets called, i set client vars using the wddx url var like this cfwddxaction=""input="#thisUser#"output="st_Employee" and finally use it to set client vars. Is there a better/alternate way to achieve this? I heard wddx as url parameter could be messy in the long run. Please advise. -- Ajas Mohammed /http://ajashadi.blogspot.comWe cannot become what we need to be, remaining what we are.No matter what, find a way. Because thats what winners do.You can't improve what you don't measure.Quality is never an accident; it is always the result of high intention, sincere effort, intelligent direction and skillful execution; it represents the wise choice of many alternatives. - To unsubscribe from this list, manage your profile @
re[2]: [ACFUG Discuss] sorting question
As a variation on Charlie's suggestion, I'd like to propose assigning points to individual students for having a certain value for a characteristic: points = total population / group size Assume 400 students: 200 Europeans, 100 Asians, 50 Africans, 50 Oceanians. Europeans: 400/200: 2 points each. Asians: 400/100: 4 points etc. Repeat this for every characteristic. In the end, every student will have accumulated points for uniqueness. You want to assign the high point students to their own group first because they are very valueable from a uniqueness standpoint. So distribute the top 25 unique students over 25 groups first, then randomly distribute the next 25 students over the groups etc. I realize that you are giving more total points to characteristics with more possible values but I think that still achieves the goal of making each group as diverse as possible. The benefit is that the above method is fairly easy to program and with two tables and a bit of sql and some CF loops the overall goal can be achieved. I'm curious about how you end up doing it! Good luck! Mischa. - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re[4]: [ACFUG Discuss] sorting question
Hey, why take the easy way when it's possible to overengineer it! : #1 Get a pencil / paper : #2 divide them up: ; ): how i would do it. - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re: [ACFUG Discuss] Securing CFCs
That is a really good question and I'm curious about the input from the group. Maybe use permissions on a webserver/file level? All legit requests would be coming from localhost/127.0.0.1/server's IP address, right? /m But, what's the best way to give access to my valid : CFM pages with Ajax and prevent access by bad guys? : Thanks for any ideas! : Clarke : - : To unsubscribe from this list, manage your profile @ : http://www.acfug.org?fa=login.edituserform : For more info, see http://www.acfug.org/mailinglists : Archive @ http://www.mail-archive.com/discussion%40acfug.org/ : List hosted by http://www.fusionlink.com : - Mischa Uppelschoten The Banker's Exchange, LLC. 4200 Highlands Parkway SE Suite A Smyrna, GA 30082-5198 Phone:(404) 605-0100 ext. 10 Fax:(404) 355-7930 Web:www.BankersX.com Follow this link for Instant Web Chat: http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN -- Original Message -- FROM: Clarke Bishop [EMAIL PROTECTED] TO:discussion@acfug.org DATE: Mon, 21 Jul 2008 10:46:09 -0400 SUBJECT: [ACFUG Discuss] Securing CFCs I have one remaining problem to solve in my adventure with CF/Ajax. The CFCs have to have access=remote. But, this means anyone can access the methods. What I built is a master/detail, CRUD thing for administering users. So, I obviously don't want some unauthorized person deleting my users or adding new ones. Normally, I've used access=public before which wouldn't let an outside user get to the methods. But, what's the best way to give access to my valid CFM pages with Ajax and prevent access by bad guys? Thanks for any ideas! Clarke - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re[2]: [ACFUG Discuss] Securing CFCs
Duh! I meant to write local subnet. : Wouldnt AJAX requests be coming from the users web browser IP?: On Mon, Jul 21, 2008 at 10:52 AM, Mischa Uppelschoten ext 10: [EMAIL PROTECTED] wrote:: That is a really good question and Im curious about the input from the group.: Maybe use permissions on a webserver/file level? All legit requests would be: coming from localhost/127.0.0.1/servers IP address, right?: /m: : : But, whats the best way to give access to my valid: : CFM pages with Ajax and prevent access by bad guys?: : : Thanks for any ideas!: : : Clarke: : : : : : : -: : To unsubscribe from this list, manage your profile @: : http://www.acfug.org?fa=login.edituserform: : : For more info, see http://www.acfug.org/mailinglists: : Archive @ http://www.mail-archive.com/discussion%40acfug.org/: : List hosted by http://www.fusionlink.com: : -: : : : : : : : : : Mischa Uppelschoten: The Bankers Exchange, LLC.: 4200 Highlands Parkway SE: Suite A: Smyrna, GA 30082-5198: : Phone: (404) 605-0100 ext. 10: Fax: (404) 355-7930: Web: www.BankersX.com: Follow this link for Instant Web Chat:: http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN: : -- Original Message --: : FROM: "Clarke Bishop" [EMAIL PROTECTED]: TO: discussion@acfug.org: DATE: Mon, 21 Jul 2008 10:46:09 -0400: : SUBJECT: [ACFUG Discuss] Securing CFCs: : I have one remaining problem to solve in my adventure with CF/Ajax. The CFCs: have to have access="remote".: : But, this means anyone can access the methods. What I built is a: master/detail, CRUD thing for administering users. So, I obviously dont: want some unauthorized person deleting my users or adding new ones.: : Normally, Ive used access="public" before which wouldnt let an outside: user get to the methods. But, whats the best way to give access to my valid: CFM pages with Ajax and prevent access by bad guys?: : Thanks for any ideas!: : Clarke: : : : : : -: To unsubscribe from this list, manage your profile @: http://www.acfug.org?fa=login.edituserform: : For more info, see http://www.acfug.org/mailinglists: Archive @ http://www.mail-archive.com/discussion%40acfug.org/: List hosted by http://www.fusionlink.com: -: : : : -: To unsubscribe from this list, manage your profile @: http://www.acfug.org?falogin.edituserform: : For more info, see http://www.acfug.org/mailinglists: Archive @ http://www.mail-archive.com/discussion%40acfug.org/: List hosted by http://www.fusionlink.com: -: : : : : -- : Howard Fore, [EMAIL PROTECTED]: "The universe tends toward maximum irony. Dont push it." - Jeff Atwood : - : To unsubscribe from this list, manage your profile @ : http://www.acfug.org?fa=login.edituserform : : For more info, see http://www.acfug.org/mailinglists : Archive @ http://www.mail-archive.com/discussion%40acfug.org/ : List hosted by FusionLink : -Mischa UppelschotenThe Banker's Exchange, LLC.4200 Highlands Parkway SESuite ASmyrna, GA 30082-5198Phone:(404) 605-0100 ext. 10Fax:(404) 355-7930Web:www.BankersX.comFollow this link for Instant Web Chat:http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN --- Original Message --- From:"Howard Fore" [EMAIL PROTECTED] To:discussion@acfug.org Date:Mon, 21 Jul 2008 11:23:31 -0400 Subject:Re: [ACFUG Discuss] Securing CFCs Wouldn't AJAX requests be coming from the user's web browser IP? On Mon, Jul 21, 2008 at 10:52 AM, Mischa Uppelschoten ext 10 [EMAIL PROTECTED] wrote: That is a really good question and I'm curious about the input from the group. Maybe use permissions on a webserver/file level? All legit requests would be coming from localhost/127.0.0.1/server's IP address, right?/m But, what's the best way to give access to my valid: CFM pages with Ajax and prevent access by bad guys?: Thanks for any ideas!: Clarke: -: To unsubscribe from this list, manage your profile @: http://www.acfug.org?fa=login.edituserform: For more info, see http://www.acfug.org/mailinglists: Archive @ http://www.mail-archive.com/discussion%40acfug.org/: List hosted by http://www.fusionlink.com: -Mischa UppelschotenThe Banker's Exchange, LLC.4200 Highlands Parkway SESuite ASmyrna, GA 30082-5198Phone: (404) 605-0100 ext. 10Fax: (404) 355-7930Web: www.Banke
re: [ACFUG Discuss] 2 Error handling pages exist, 1 is referenced in application.cfm and other is not
Wild guess: if you use cfcache, the ip address for the machine retrieving the page that throws and error is the server itself because CF internally uses cfhttp to retrieve the page... : Hi, : : I have 2 cfm templates. Error_Exception.cfm and Error.cfm : : Insdie the Application.cfm file, I refer the error_exception.cfm file like: thisand it works fine. I get error messages as per the code in: error_exception.cfm : cferror type="exception" template="error_exception.cfm" mailto="some email: addr" / : : Inside both the files i.e. error_exception.cfm and error.cfm,I have this code : : : Site: cfif IsDefined("cgi.SERVER_NAME")#cgi.SERVER_NAME#/cfif: URL: cfif (IsDefined("cgi.SERVER_NAME")) and: (IsDefined("cgi.SCRIPT_NAME"))https://#cgi.SERVER_NAME##cgi.SCRIPT_NAME#/cf: if : : So if I have error in my code, i get message like this and I know its the: error_exception.cfm page which is serving the details : : Site: www.sitename.com: URL: https://www.sitename.com/T_Deny.cfm : : Recently, for some reason Error.cfm got into play even though I dont reference: it in Application.cfm and the mails I got were little different because: instead of sitename, it gave me ip address of the machine where the site is: hosted and url part also had ip addresss in it like shown below : 1.1.1.1 is: an example and ip sent in email to me is the actual ip of machine. : : Site: 1.1.1.1: URL: https://1.1.1.1/Home.cfm : : My guess is that this has something to do with IIS because in IIS for this: website, I have home.cfm as default content page under Documents tab. : : I will go ahead and delete error.cfm file as I dont really need it but I want: to know what is causing it to run? Is IIS responsible for this? Has anyone: seen something like this before? : : One last thing, the error message from error.cfm comes with no errors as far: as code is concerned. It has to do with database shutdown etc. see below : --: : : ERROR: Operation failed on the data source named "dsnname". Reason of failure: "java.sql.SQLException: Timed out trying to establish connection" brThe: error occurred on line 7. : Error on C:\Inetpub\wwwroot\sitefolder\Home.cfm : : : --: : : ERROR: Operation failed on the data source named "dsnname". Reason of failure: "java.sql.SQLException: [Macromedia][SQLServer JDBC Driver]Exception: generated during defered local transaction handling. See next exception via: SQLException.getNextException for details." brThe error occurred on line 7.: : Error on C:\Inetpub\wwwroot\sitefolder\Home.cfm : --: : : Thanks, : : -- : Ajas Mohammed /: http://ajashadi.blogspot.com: We cannot become what we need to be, remaining what we are.: No matter what, find a way. Because thats what winners do.: You cant improve what you dont measure.: Quality is never an accident; it is always the result of high intention,: sincere effort, intelligent direction and skillful execution; it represents: the wise choice of many alternatives. : - : To unsubscribe from this list, manage your profile @ : http://www.acfug.org?fa=login.edituserform : : For more info, see http://www.acfug.org/mailinglists : Archive @ http://www.mail-archive.com/discussion%40acfug.org/ : List hosted by FusionLink : -Mischa UppelschotenThe Banker's Exchange, LLC.4200 Highlands Parkway SESuite ASmyrna, GA 30082-5198Phone:(404) 605-0100 ext. 10Fax:(404) 355-7930Web:www.BankersX.comFollow this link for Instant Web Chat:http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN --- Original Message --- From:"Ajas Mohammed" [EMAIL PROTECTED] To:discussion@acfug.org Date:Mon, 7 Jul 2008 11:13:07 -0400 Subject:[ACFUG Discuss] 2 Error handling pages exist, 1 is referenced in application.cfm and other is not Hi, I have 2 cfm templates. Error_Exception.cfm and Error.cfm Insdie the Application.cfm file, I refer the error_exception.cfm file like this and it works fine. I get error messages as per the code in error_exception.cfm cferror type="exception" template="error_exception.cfm" mailto="some email addr" / Inside both the files i.e. error_exception.cfm and error.cfm,I have this code Site: cfif IsDefined("cgi.SERVER_NAME")#cgi.SERVER_NAME#/cfifURL: cfif (IsDefined("cgi.SERVER_NAME")) and (IsDefined("cgi.SCRIPT_NAME"))https://#cgi.SERVER_NAME##cgi.SCRIPT_NAME#/cfif So if I have error in my code, i get message like this and I know its the error_exception.cfm page which is serving the details Site: www.sitename.comURL: https://www.sitename.com/T_Deny.cfm Recently, for some reason
re: [ACFUG Discuss] Problems installing CFMX 7.0.2 on Win2003 Server
Can't speak to that specific issue, but have you seen http://kb.adobe.com/selfservice/viewContent.do?externalId=228c3aaa "ColdFusion MX 7 installation fails on Windows 2003 with SP1" ? Also, when I had install issues, I learned a lot by comparing miscellaneous .xml configuration files between working servers (or versions) and the most recently installed ones. /m : I am installing the coldfusion-702-win.exe trial on Windows 2003 R2 SP2 and am: running into problems. I checked the installation log and all items were: successful although I get an error message at the end of the process. I: uninstalled7.0.0 completely and ran through the process of installing 7.0.2 3: times, each time getting different results. I was able to use the exact same: installer on Win 2K with no issues. Any ideas on why this is not working? : This last time, it only installedthe CF Application service when I had all: items checked. : : Thanks, : : : __ : J. Scott Councill: Development Contractor: 804.267.9555 mobile/office : engauge: 1230 Peachtree Street NE: Suite 1700: Atlanta, GA 30309: 404.601.4321 main : 404.601.4322 fax : www.engauge.com : : This email and any files transmitted with it are confidential and intended: solely for the use of the individual or entity to whom they are addressed. If: you have received this email in error please notify the system manager.: Please note that any views or opinions presented in this email are solely: those of the author and do not necessarily represent those of the company.: Finally, the recipient should check this email and any attachments for the: presence of viruses. The company accepts noliability for any damage caused by: any virus transmitted by this email. Mischa UppelschotenThe Banker's Exchange, LLC.4200 Highlands Parkway SESuite ASmyrna, GA 30082-5198Phone:(404) 605-0100 ext. 10Fax:(404) 355-7930Web:www.BankersX.comFollow this link for Instant Web Chat:http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN --- Original Message --- From:"Councill, Scott" [EMAIL PROTECTED] To:"discussion@acfug.org" discussion@acfug.org Date:Tue, 27 May 2008 15:55:49 -0400 Subject:[ACFUG Discuss] Problems installing CFMX 7.0.2 on Win2003 Server I am installing the coldfusion-702-win.exe trial on Windows 2003 R2 SP2 and am running into problems. I checked the installation log and all items were successful although I get an error message at the end of the process. I uninstalled 7.0.0 completely and ran through the process of installing 7.0.2 3 times, each time getting different results. I was able to use the exact same installer on Win 2K with no issues. Any ideas on why this is not working? This last time, it only installed the CF Application service when I had all items checked. Thanks, __ J. Scott CouncillDevelopment Contractor804.267.9555 mobile/office engauge1230 Peachtree Street NESuite 1700Atlanta, GA 30309404.601.4321 main 404.601.4322 fax www.engauge.com This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re: [ACFUG Discuss] CF 8 RDS help needed
: Help! I'm transferring this question thread from the Flex discussion group: over here Trying to get CF8 RDS to let me in. CF8 setup on Windows is not smooth, RDS does not seem to be installed properly at all. Have you checked like Cameron suggested that ide.cfm exists? It didn't for me, and manually creating it solved the problem. - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re[2]: [ACFUG Discuss] showing image from network share..how to?
If you don't make any changes, IIS will attempt to retrieve images from the share using it's default credentials ("Local System") and unless Everyone has read access (or better), that won't work. What has worked for me as far as troubleshooting in the past, is to try to browse that image straight from within IIS manager on that webserver. If there is a permission problem, it will show up right there and you have take CF and the browser out of the loop. /m : ok so as Shawn suggested, : : we have a virtual directory called VDocuments which refers to: \\servername\nameofshare on a different machine and : : under this nameofshare we have folder CF_Chart_Share which contains the: images, so technically website root level its /VDocuments/CF_Chart_Share. : now if my url is https://www.abc.com/ then I should be able to access images: like this https://www.abc.com/VDocuments/CF_Chart_Share/test.jpg : but I am not able to do this. Browser says page cannot be displayed. Any: suggestions on this. : : Also in my earlier created code, i made changes to accomodate the virtual: directory like this. : : this page will show images thats all br : cfset theFile = "/vDocuments/CF_Chart_Share/test.jpg" : cfif fileExists(theFile) : File exists: cfelse File does not exist: /cfif : brcfoutput#theFile#/cfoutput : brimg src="" : br: this will work great... : brbrend of testing : I get file does not exist from the cfif clause and also the image doesnt get: displayed. : : I could do the methods which worked before i.e. cfcontent in seperate file and: then use the name of that file in img tag but problem is that the images are: created for reports and have dynamic names so i cant keep on seperate file: for every cfcontent/report. : : Makes sense? : : what could be wrong here in code? why the virtual directory is not working? I: tried removing forward slash before virtual directory VDocuments and it didnt: work. : : Thanks in advance. : : : On 5/12/08, [EMAIL PROTECTED]: [EMAIL PROTECTED] wrote: Return Receipt: Your Re: [ACFUG Discuss] showing image from network share..how: document: to?: : was [EMAIL PROTECTED]: received: by:: at: 05/12/2008 12:28:01 PM: -: To unsubscribe from this list, manage your profile @: http://www.acfug.org?fa=login.edituserform: For more info, see http://www.acfug.org/mailinglists: Archive @ http://www.mail-archive.com/discussion%40acfug.org/: List hosted by http://www.fusionlink.com: -: : -- : Ajas Mohammed /: http://ajashadi.blogspot.com: No matter what, find a way. Because thats what winners do.: You cant improve what you dont measure.: Quality is never an accident; it is always the result of high intention,: sincere effort, intelligent direction and skillful execution; it represents: the wise choice of many alternatives.: "Live as if you were to die tomorrow. Learn as if you were to live forever." : : - : To unsubscribe from this list, manage your profile @ : http://www.acfug.org?fa=login.edituserform : : For more info, see http://www.acfug.org/mailinglists : Archive @ http://www.mail-archive.com/discussion%40acfug.org/ : List hosted by FusionLink : -Mischa UppelschotenThe Banker's Exchange, LLC.4200 Highlands Parkway SESuite ASmyrna, GA 30082-5198Phone:(404) 605-0100 ext. 10Fax:(404) 355-7930Web:www.BankersX.comFollow this link for Instant Web Chat:http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN --- Original Message --- From:"Ajas Mohammed" [EMAIL PROTECTED] To:discussion@acfug.org Date:Mon, 12 May 2008 17:12:14 -0400 Subject:Re: [ACFUG Discuss] showing image from network share..how to? ok so as Shawn suggested, we have avirtual directory called VDocuments which refers to \\servername\nameofshareon a different machine and under this nameofshare we have folder CF_Chart_Share which contains the images, so technically website root level its /VDocuments/CF_Chart_Share. now if my url is https://www.abc.com/then I should be able to access images like this https://www.abc.com/VDocuments/CF_Chart_Share/test.jpg but I am not able to do this. Browser says page cannot be displayed. Any suggestions on this. Also in my earlier created code, i made changes to accomodate the virtual directory like this. this page will show images thats all br cfset theFile = "/vDocuments/CF_Chart_Share/test.jpg" cfif fileExists(theFile) File existscfelse File does not exist/cfif brcfoutput#theFile#/cfoutput brimg src="" brthis will work great... brbrend of testing I get file does not exist from the cfif clause and also the image doesnt get displayed. I could do the methods which worked before i.e. cfcontent in seperate
re[2]: [ACFUG Discuss] cfprint or some other way?
: Clearly, if I must specify the printer name, I'd have to have a way to get : that for each user, since the client wants remote users to be able to print : the report as well. Is there a way to find that out? I think for this scenario, cfprint is not the way to go. If you want the hardcopy to be produced at the user's default and local printer, let the user print it. For cfprint to work here, you'd have to communicate the user's default printer to the server, verify that the server can print there, make sure the server has drivers for it (!) and then create the print job. Unless you have a tightly controlled environment, too many things can go wrong. /m - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re: [ACFUG Discuss] Anyone ever have this cfinput or cfselect validation issue?
Yes, I've had that and IIRC it had something to do with my own form validation that I added. Have you tried a CFFORM/CFINPUT on a virgin page without any added js? : I am coding a form and trying to use the built in CF(MX 7) validations to the: CFINPUT and CFSELECT tags. : : When I submitthe form, the js that CF writes is throwing errors (Object: expected). The fucntionality is something Ive used before and did not have: this problem. : : I was trying to validate email format and that something was selected. : : Any ideas? : : : - : Annual Sponsor - Figleaf Software : : To unsubscribe from this list, manage your profile @ : http://www.acfug.org?fa=login.edituserform : : For more info, see http://www.acfug.org/mailinglists : Archive @ http://www.mail-archive.com/discussion%40acfug.org/ : List hosted by FusionLink : -Mischa UppelschotenThe Banker's Exchange, LLC.4200 Highlands Parkway SESuite ASmyrna, GA 30082-5198Phone:(404) 605-0100 ext. 10Fax:(404) 355-7930Web:www.BankersX.comFollow this link for Instant Web Chat:http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN --- Original Message --- From:"Jeff Howard" [EMAIL PROTECTED] To:discussion@acfug.org Date:Thu, 27 Mar 2008 14:48:23 -0400 Subject:[ACFUG Discuss] Anyone ever have this cfinput or cfselect validation issue? I am coding a form and trying to use the built in CF(MX7)validations to the CFINPUT and CFSELECT tags. When I submit the form, the js that CF writes is throwing errors(Object expected). The fucntionality is something I've used before and did not have this problem. I was trying to validate email format and that something was selected. Any ideas? - Annual Sponsor - Figleaf Software To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re[6]: [ACFUG Discuss] Using components on different websites
Thanks Justin, this worked! (as long as I gave the junction a different name than the original!) so now I have: \Site1\Components \Site2\MyComponents (which is a junction to \Site1\Components). The application.cfc from site2 is now honored, whether you call the component via cfobject or an AJAX bind. Phew! For more information on the utility to do this: http://support.microsoft.com/kb/205524 Mischa. : You could use an NTFS hardlink (junction) for this. I don't know the exact : details, but it'd work. - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
[ACFUG Discuss] AJAX security (was: Using components on different websites)
In reading up on the issue I'm having, I'm finding that some people advocate for components only to work on variables that get passed into them, and not rely on session or application vars. Suppose I have a control (cfgrid) that I want to use to display information only for the logged in user. It is bound to a function in a cfc. What is the best practice for securing this scenario? Thanks! Mischa. - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re[2]: [ACFUG Discuss] AJAX security (was: Using components on different websites)
I guess the methods with access="remote" which are session unaware then call the facade CFC which has an access="public" to obtain permission to return the data? The session unaware method would still have to be supplied with some sort of id that makes the requesting user identifieable (client.secretid?). That sounds like quite a bit of work just to avoid reading a session var...? Per http://www.forta.com/blog/index.cfm/2007/11/15/Flex-And-ColdFusion-Session-Variables "If you create a public facing CFC that exposes methods that allow session data to be directly manipulated, well, you've now allowed public access to session data. Of course, callers will only have access to their own session data, but still, proceed with caution, and make sure you fully understand what you are doing." In my example, I'm not even modifying my session vars in my cfc, but even if I was, what is the worst that could happen? (I know that's a loaded question ;-) /m : Typically for this sort of scenario I use a Session Facade. This is simply a: CFC that explicitly accesses the Session Scope, but does nothing else. : Ill see if I can dig up a sample from some of my code...: : -Cameron: On Wed, Mar 19, 2008 at 4:15 PM, Mischa Uppelschoten ext 10: [EMAIL PROTECTED] wrote:: In reading up on the issue Im having, Im finding that some people advocate: for components only to work on variables that get passed into them, and not: rely on session or application vars.: : Suppose I have a control (cfgrid) that I want to use to display information: only for the logged in user. It is bound to a function in a cfc. What is the: best practice for securing this scenario?: Thanks!: Mischa.: : : : -: Annual Sponsor FigLeaf Software - http://www.figleaf.com: : To unsubscribe from this list, manage your profile @: http://www.acfug.org?falogin.edituserform: : For more info, see http://www.acfug.org/mailinglists: Archive @ http://www.mail-archive.com/discussion%40acfug.org/: List hosted by http://www.fusionlink.com: -: : : : : -- : Cameron Childress: Sumo Consulting Inc: http://www.sumoc.com: ---: cell: 678.637.5072: aim: cameroncf: email: [EMAIL PROTECTED] : - : Annual Sponsor - Figleaf Software : : To unsubscribe from this list, manage your profile @ : http://www.acfug.org?fa=login.edituserform : : For more info, see http://www.acfug.org/mailinglists : Archive @ http://www.mail-archive.com/discussion%40acfug.org/ : List hosted by FusionLink : -Mischa UppelschotenThe Banker's Exchange, LLC.4200 Highlands Parkway SESuite ASmyrna, GA 30082-5198Phone:(404) 605-0100 ext. 10Fax:(404) 355-7930Web:www.BankersX.comFollow this link for Instant Web Chat:http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN --- Original Message --- From:"Cameron Childress" [EMAIL PROTECTED] To:discussion@acfug.org Date:Wed, 19 Mar 2008 16:32:25 -0400 Subject:Re: [ACFUG Discuss] AJAX security (was: Using components on different websites) Typically for this sort of scenario I use a Session Facade. This is simply a CFC that explicitly accesses the Session Scope, but does nothing else. I'll see if I can dig up a sample from some of my code...-Cameron On Wed, Mar 19, 2008 at 4:15 PM, Mischa Uppelschoten ext 10 [EMAIL PROTECTED] wrote: In reading up on the issue I'm having, I'm finding that some people advocate for components only to work on variables that get passed into them, and not rely on session or application vars.Suppose I have a control (cfgrid) that I want to use to display information only for the logged in user. It is bound to a function in a cfc. What is the best practice for securing this scenario?Thanks!Mischa.-Annual Sponsor FigLeaf Software - http://www.figleaf.comTo unsubscribe from this list, manage your profile @http://www.acfug.org?falogin.edituserformFor more info, see http://www.acfug.org/mailinglistsArchive @ http://www.mail-archive.com/discussion%40acfug.org/List hosted by http://www.fusionlink.com--- Cameron ChildressSumo Consulting Inchttp://www.sumoc.com---cell: 678.637.5072aim: cameroncfemail: [EMAIL PROTECTED] - Annual Sponsor - Figleaf Software To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion
re[2]: [ACFUG Discuss] Using components on different websites
Thanks Cameron! Unfortunately, you cannot bind to a component using a mapping combined with the cfc format: Using bind expressions To specify a bind expression, use one of the following formats: * cfc:componentPath.functionName(parameters) Note: The component path cannot use a mapping. The componentPath value must be a dot-delimited path from the web root or the directory that contains the current page. per the documentation :-( However, now that I'm reading up on that... I might be able to bind to a url. : Since you are on CF8, you might get an advantage from dynamically : setting the mappings. I usually drop common components into a : location below the wwwroot and refer to them using a CF mapping. The : technique below also allows you to move code server to server without : managing any mappings in the CF Admin or worrying that the directory : structures are the same. : One potential directory structure might look like this: : mytestappl/site1/Application.cfc : mytestappl/site1/UseComponentToShowSiteNameOnSite1.cfm : mytestappl/site2/Application.cfc : mytestappl/site2/UseComponentToShowSiteNameOnSite2.cfm : mytestappl/components/mycomponent.cfc : Ultimately, you can call your component using a CF mapping to : mytestappl.components.mycomponent. : You can then dynamically create a mapping in the Applicaiton.cfc like : below... Note that getRootDirectory() will find the main application : root dir. : cfcomponent output=false : cfscript : // variables : this.dsn= 'mytesterappl'; : // application settings : this.name = 'mytesterappl'; : this.applicationtimeout= createTimeSpan(0,0,0,1); : this.sessionManagement= true; : this.sessionTimeout= createTimeSpan(0,0,1,0); : // mappings : this.mappings[/mytesterappl]= getRootDirectory() '\'; : /cfscript : !--- finds the root mytesterappl application directory --- : cffunction name=getRootDirectory returnType=string output=false : cfscript : var dir= getDirectoryFromPath(expandPath('.')); : var pos= findNoCase('mytesterappl',dir); : dir= mid(dir,1,pos+11); : return dir; : /cfscript : /cffunction : /cfcomponent : -Cameron : On Tue, Mar 18, 2008 at 12:04 PM, Mischa Uppelschoten ext 10 : [EMAIL PROTECTED] wrote: : All, : I'm running into an issue with CF8 and how components are bound to form : controls. Proper execution of one of my components depends on a value in the : session scope. : : Site1\application.cfm (- this.name = site1;) : Site1\Components\MyComponent.cfm : Site1\UseComponentToShowSiteNameOnSite1.cfm : : Site2\application.cfm (- this.name = site2;) : Site2\Components ... this is an IIS virtual directory that points to : Site1\Components : Site2\UseComponentToShowSiteNameOnSite2.cfm : : The purpose of the above setup is to share a set of common cfc's between : the two sites. If an object is instantiated through CreateObject via the : UseComponentToShowSiteNameOnSite2.cfm template, the virtual directory is : honored and the application.cfm from site2 is used. : : However, if I use CFGRID with a : bind=cfc:Site2.Components.MyComponent.TestFunction... I can see that the : application.cfm from Site1 is used. : : This breaks my application because the required session variables are not : available for the user in Site1. : : Is there a better way to share common cfc's and have different : application.cfc's apply depending on how they are called? : : (The above is a simplification, let me know if you need code). : Thanks! : Mischa. : : : : - : Annual Sponsor FigLeaf Software - http://www.figleaf.com : : To unsubscribe from this list, manage your profile @ : http://www.acfug.org?falogin.edituserform : : For more info, see http://www.acfug.org/mailinglists : Archive @ http://www.mail-archive.com/discussion%40acfug.org/ : List hosted by http://www.fusionlink.com : - : : : : : -- : Cameron Childress : Sumo Consulting Inc : http://www.sumoc.com : --- : cell: 678.637.5072 : aim: cameroncf : email: [EMAIL PROTECTED] : - : Annual Sponsor FigLeaf Software - http://www.figleaf.com : To unsubscribe from this list, manage your profile @ : http://www.acfug.org?fa=login.edituserform : For more info, see http://www.acfug.org/mailinglists : Archive @ http://www.mail-archive.com/discussion%40acfug.org/ : List hosted by http://www.fusionlink.com : - Mischa Uppelschoten The Banker's Exchange, LLC. 4200 Highlands Parkway SE Suite A Smyrna, GA 30082-5198 Phone:(404) 605-0100
re[3]: [ACFUG Discuss] Using components on different websites
: : All, : : I'm running into an issue with CF8 and how components are bound to form : : controls. Proper execution of one of my components depends on a value in : the : : session scope. Well, supposedly it was a known issue: 70775 ColdFusion Ajax components cannot access CFCs in a virtual directory. per http://kb.adobe.com/selfservice/viewContent.do?externalId=kb403070sliceId=1. Found while researching the url option. If the hf does not work, I'll let you guys know. Thanks for your input! Mischa. - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re[2]: [ACFUG Discuss] Using components on different websites
Thanks Cody! I tried your suggestion, but the component is then executed without any application.cfc context, so my session vars are still not available :-( : I am not sure what the best practice is, but the following setup may solve : your issues: : Components\MyComponent.cfm : Site1\application.cfm (- this.name = site1;) : Site1\Components ... this is an IIS virtual directory that points to : Components : Site1\UseComponentToShowSiteNameOnSite1.cfm : : Site2\application.cfm (- this.name = site2;) : Site2\Components ... this is an IIS virtual directory that points to : Components : Site2\UseComponentToShowSiteNameOnSite2.cfm : This way if there is no application.cfm in the Components directory then I : would think it would jump to Site1 or Site2 respectively. : Cody : -Original message- : From: Mischa Uppelschoten ext 10 [EMAIL PROTECTED] : Date: Tue, 18 Mar 2008 12:04:29 -0400 : To: Web Site discussion@acfug.org : Subject: [ACFUG Discuss] Using components on different websites : All, : I'm running into an issue with CF8 and how components are bound to form : controls. Proper execution of one of my components depends on a value in the : session scope. : : Site1\application.cfm (- this.name = site1;) : Site1\Components\MyComponent.cfm : Site1\UseComponentToShowSiteNameOnSite1.cfm : : Site2\application.cfm (- this.name = site2;) : Site2\Components ... this is an IIS virtual directory that points to : Site1\Components : Site2\UseComponentToShowSiteNameOnSite2.cfm : : The purpose of the above setup is to share a set of common cfc's between the : two sites. If an object is instantiated through CreateObject via the : UseComponentToShowSiteNameOnSite2.cfm template, the virtual directory is : honored and the application.cfm from site2 is used. : : However, if I use CFGRID with a : bind=cfc:Site2.Components.MyComponent.TestFunction... I can see that the : application.cfm from Site1 is used. : : This breaks my application because the required session variables are not : available for the user in Site1. : : Is there a better way to share common cfc's and have different : application.cfc's apply depending on how they are called? : : (The above is a simplification, let me know if you need code). : Thanks! : Mischa. : : : : - : Annual Sponsor FigLeaf Software - http://www.figleaf.com : : To unsubscribe from this list, manage your profile @ : http://www.acfug.org?fagin.edituserform : : For more info, see http://www.acfug.org/mailinglists : Archive @ http://www.mail-archive.com/discussion%40acfug.org/ : List hosted by http://www.fusionlink.com : - : : : : - : Annual Sponsor FigLeaf Software - http://www.figleaf.com : To unsubscribe from this list, manage your profile @ : http://www.acfug.org?fa=login.edituserform : For more info, see http://www.acfug.org/mailinglists : Archive @ http://www.mail-archive.com/discussion%40acfug.org/ : List hosted by http://www.fusionlink.com : - Mischa Uppelschoten The Banker's Exchange, LLC. 4200 Highlands Parkway SE Suite A Smyrna, GA 30082-5198 Phone:(404) 605-0100 ext. 10 Fax:(404) 355-7930 Web:www.BankersX.com Follow this link for Instant Web Chat: http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN -- Original Message -- FROM: [EMAIL PROTECTED] [EMAIL PROTECTED] TO:discussion@acfug.org, Web Site discussion@acfug.org DATE: Tue, 18 Mar 2008 12:22:47 -0500 SUBJECT: Re: [ACFUG Discuss] Using components on different websites I am not sure what the best practice is, but the following setup may solve your issues: Components\MyComponent.cfm Site1\application.cfm (- this.name = site1;) Site1\Components ... this is an IIS virtual directory that points to Components Site1\UseComponentToShowSiteNameOnSite1.cfm Site2\application.cfm (- this.name = site2;) Site2\Components ... this is an IIS virtual directory that points to Components Site2\UseComponentToShowSiteNameOnSite2.cfm This way if there is no application.cfm in the Components directory then I would think it would jump to Site1 or Site2 respectively. Cody -Original message- From: Mischa Uppelschoten ext 10 [EMAIL PROTECTED] Date: Tue, 18 Mar 2008 12:04:29 -0400 To: Web Site discussion@acfug.org Subject: [ACFUG Discuss] Using components on different websites All, I'm running into an issue with CF8 and how components are bound to form controls. Proper execution of one of my components depends on a value in the session scope. Site1\application.cfm (- this.name = site1;) Site1\Components\MyComponent.cfm Site1\UseComponentToShowSiteNameOnSite1.cfm Site2\application.cfm
re[4]: [ACFUG Discuss] Using components on different websites
Well, the fix didn't do it. I'm beginning to think bug. Problem #1 Create this cfc and point a virtual directory to it. The website root for the site containing the virtual directory has a different application.cfm than the website that has this test component in it's physical structure. cfcomponent displayname=test component cffunction name=TestFunction output=No returntype=string access=remote cfreturn application.applicationname /cffunction /cfcomponent If this component is called directly: http://site2/Components/test.cfc?method=testfunction it returns the applicationname for site1, however, when used like so: cfoutput #createobject(Component, site2.Components.Test).TestFunction()# /cfoutput it returns site2. In my opionion the bug is not so much an unexpected outcome, but more an inconsistent one. Problem #2 A CFGrid tag on site2 with this bind attribute: bind=cfc:site2.Components.Test.TestFunction({cfgridpage}... generates this js in the rendered page: ColdFusion.Bind.cfcBindHandler(snip... :_cf_grid_errorhandler,'cfc':'/site1/Components/test.cfc','cfcFunction':'TestFunction' ...snip On both occasions it appears the cf server traverses the physical path and uses that to resolve application.cfm which is different behavior than any other processed file. At this moment I see no workaround but forking my code :-( : : : All, : : : I'm running into an issue with CF8 and how components are bound to form : : : controls. Proper execution of one of my components depends on a value in : : the : : : session scope. : Well, supposedly it was a known issue: : 70775 ColdFusion Ajax components cannot access CFCs in a virtual directory. : per : http://kb.adobe.com/selfservice/viewContent.do?externalId=kb403070sliceId=1. : Found while researching the url option. : If the hf does not work, I'll let you guys know. Thanks for your input! : Mischa. : - : Annual Sponsor FigLeaf Software - http://www.figleaf.com : To unsubscribe from this list, manage your profile @ : http://www.acfug.org?fa Mischa Uppelschoten The Banker's Exchange, LLC. 4200 Highlands Parkway SE Suite A Smyrna, GA 30082-5198 Phone:(404) 605-0100 ext. 10 Fax:(404) 355-7930 Web:www.BankersX.com Follow this link for Instant Web Chat: http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN -- Original Message -- FROM: Mischa Uppelschoten ext 10 [EMAIL PROTECTED] TO:Web Site discussion@acfug.org DATE: Tue, 18 Mar 2008 15:03:03 -0400 SUBJECT: re[3]: [ACFUG Discuss] Using components on different websites : : All, : : I'm running into an issue with CF8 and how components are bound to form : : controls. Proper execution of one of my components depends on a value in : the : : session scope. Well, supposedly it was a known issue: 70775 ColdFusion Ajax components cannot access CFCs in a virtual directory. per http://kb.adobe.com/selfservice/viewContent.do?externalId=kb403070sliceId=1. Found while researching the url option. If the hf does not work, I'll let you guys know. Thanks for your input! Mischa. - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re: [ACFUG Discuss] Blue Dragon Goes Open Source
Interesting news. Sounds like a double edged sword to me: it takes care of the "but CF is expensive" argument but it may also cannibalize sales from Adobe. Good for developers I guess... : They are holding back the .NET and JX versions as commercial, and the rest is: being open sourced under GPL2. More here:: http://tinyurl.com/346xnj: or: http://blog.newatlanta.com/index.cfm?mode=entryentry=EABF951D-453A-486E-9647E: 2825D1E6F39: : -Cameron: -- : Cameron Childress: Sumo Consulting Inc: http://www.sumoc.com: ---: cell: 678.637.5072: aim: cameroncf: email: [EMAIL PROTECTED] : - : Annual Sponsor - Figleaf Software : : To unsubscribe from this list, manage your profile @ : http://www.acfug.org?fa=login.edituserform : : For more info, see http://www.acfug.org/mailinglists : Archive @ http://www.mail-archive.com/discussion%40acfug.org/ : List hosted by FusionLink : -Mischa UppelschotenThe Banker's Exchange, LLC.4200 Highlands Parkway SESuite ASmyrna, GA 30082-5198Phone:(404) 605-0100 ext. 10Fax:(404) 355-7930Web:www.BankersX.comFollow this link for Instant Web Chat:http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN --- Original Message --- From:"Cameron Childress" [EMAIL PROTECTED] To:discussion@acfug.org Date:Mon, 10 Mar 2008 09:44:35 -0400 Subject:[ACFUG Discuss] Blue Dragon Goes Open Source They are holding back the .NET and JX versions as commercial, and the rest is being open sourced under GPL2. More here:http://tinyurl.com/346xnjorhttp://blog.newatlanta.com/index.cfm?mode=entryentry=EABF951D-453A-486E-9647E2825D1E6F39-Cameron-- Cameron ChildressSumo Consulting Inchttp://www.sumoc.com---cell: 678.637.5072aim: cameroncfemail: [EMAIL PROTECTED] - Annual Sponsor - Figleaf Software To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re[2]: [ACFUG Discuss] MagickTag from Alagad
The issue that sparked this was I was working to create a box: for a web site that cantake a signature from the user and save it as an: image. :Just curious... how are you going to do that? Fancy _javascript_? What does it look like on the server end when submitted? /m - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re[2]: [ACFUG Discuss] Ajax.submitForm Conundrum
Glad that worked! I'm not sure about the exact answer to your questions but I can only theorize that: 1. You're not supposed to call the defined callback function yourself... the YUI/ExtJS code will do that for you. I'm guessing that is because you will not be exactly sure when the server is done processing, so you won't know when it is safe to call the function. 2. AjaxOnLoad is really meant to kick off a javascript function. Which is client side. Which an action page doesn't really have anything to do with. I think by putting ajax like functionality on your action page, you're making it too hard for yourself ;-) /m : Many thanks. I tried your suggestion (i.e., I passed the string: action + '~' : + 145' as a single parm to the callback function and broke it apart inside : that function), and it worked beautifully! That is, both the database update : and the duties specified in the callback function were executed correctly. : However, before trying that I tried something else (since I was a little leery : of what asynchronous might mean in this case), and I'm curious to know why : that method did not succeed. Namely, I took the callback parm out of the : submitForm statement, and in its stead, I added the following line to the : bottom of the target form, saveGenInfo.cfm: CFSET : ajaxOnLoad(GenInfoCallback(#url.mode#)), settling for a single parm for : now (value = either 'insert' or 'delete'), just to see if an alert statement : inside GenInfoCallback (misnamed now of course) would show that it got : called, and received the parm. But no luck. The update to SQL Server : succeeded but GenInfoCallback was never called. : Why not? And in general, when would it be appropriate to use the callback : method vs. the ajaxOnLoad method? : Thanks in advance, : Peyton : -Original Message- : From: Mischa Uppelschoten ext 10 [EMAIL PROTECTED] : Sent: Jan 15, 2008 3:08 PM : To: Web Site discussion@acfug.org : Subject: re: [ACFUG Discuss] Ajax.submitForm Conundrum : : AFAIK the action page you submit to in this case must return only a string : and the callback function can only handle that one string. You can delimit : the string and parse it though. : : From the docs: : callbackhandler : The JavaScript function to handle a normal response. The function must take a : single argument, that contains the response body. This method is used only if : the form submission is asynchronous. : : : Hope that helps! : /m : : : : : Hello all. Does anyone have a suggestion to make regarding the following : : quandary I find myself in? : : : I'm trying to submit a form from inside a javascript function thus: : : : function SubmitFmGenInfo145(action){ : : //form validation code (omitted here), then: : : ColdFusion.Ajax.submitForm('fmGenInfo', 'saveGenInfo.cfm?mode=' + : :action,GenInfoCallback(action,'145')); : : } : : : When I do so, the callback function, shown below, executes correctly. It : shows : : by the alert statements that it received the parameters, and by the state : of : : the screen that it executed the populateGenInfo.cfm call (I haven't tested : it : : for inserting yet). However, the form does not get submitted, and Firebug : : complains with the following error message: 'uncaught exception: : : ColdFusion.Ajax.submitForm: Form not found, form id: fmGenInfo'. : : : function GenInfoCallback(mode,typegroup){ : : alert(mode); alert(typegroup); : : ColdFusion.navigate('populateGenInfo.cfm','getGenInfo'); : : url = (typegroup == '145') ? 'populateTx.cfm' : 'populateTkdnOrApp.cfm'; : : if (mode == 'insert'){ : : ColdFusion.navigate(url,'getTx'); : : ColdFusion.navigate('populateSpecInstr.cfm?mode=no','getSpecInstr'); : : } : : } : : : However, the form most definitely does exist in the page, as Firebug's View : : Gererated Source makes clear. (Thank goodness Firebug has this ability; : : otherwise I could never be completely certain what the cfdiv contains!) : : : Furthermore, when I do nothing but remove the reference to the callback : : function, changing the submitting function to the form shown below, : Firebug : : does not complain, and the form submits flawlessly. : : : function SubmitFmGenInfo145(action){ : : //form validation code (omitted here), then: : : ColdFusion.Ajax.submitForm('fmGenInfo', 'saveGenInfo.cfm?mode=' + action); : : } : : : What could be going on here? Is one not supposed to send parms to a : callback : : function? Or am I perhaps using the wrong syntax for doing so? : : : Thanks in advance for your ideas, : : Peyton : : : : : - : : Annual Sponsor FigLeaf Software - http://www.figleaf.com : : : To unsubscribe from this list, manage your profile @ : : http://www.acfug.org?fa=login.edituserform : : : For more info, see http://www.acfug.org/mailinglists : : Archive @ http://www.mail-archive.com/discussion%40acfug.org/ : : List hosted by http
re: [ACFUG Discuss] cfimage transparency
jpg's cannot be transparent... try gif :) /m : action=CONVERT destination=watermarkSmiley.jpg overwrite=Yes - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re[2]: [ACFUG Discuss] CF and Vista
: Pro with large HD and RAM. You already have a Windows license... VMWare is Unless you bought a full XP retail version, you may not be allowed to move it to a different machine. /m - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re[4]: [ACFUG Discuss] CF and Vista
Purely license... I'm guessing it's the same thing as wirth carrier sponsored and locked cellphones. : For a technical reason or some clause in the license?: On 12/28/07, Mischa Uppelschoten ext 10 [EMAIL PROTECTED]: wrote: : : : Pro with large HD and RAM. You already have a Windows license... VMWare is: : Unless you bought a full XP retail version, you may not be allowed to move it: to a different machine. : /m - Annual: Sponsor FigLeaf Software -http://www.figleaf.com To unsubscribe from this: list, manage your profile @ http://www.acfug.org?fa=login.edituserform For: more info, see http://www.acfug.org/mailinglists Archive @: http://www.mail-archive.com/discussion%40acfug.org/ List hosted by: http://www.fusionlink.com: - : -- : Howard Fore, [EMAIL PROTECTED]: "Whether you believe you can do a thing or not, you are right." -- Henry Ford : - : Annual Sponsor - Figleaf Software : : To unsubscribe from this list, manage your profile @ : http://www.acfug.org?fa=login.edituserform : : For more info, see http://www.acfug.org/mailinglists : Archive @ http://www.mail-archive.com/discussion%40acfug.org/ : List hosted by FusionLink : -Mischa UppelschotenThe Banker's Exchange, LLC.4200 Highlands Parkway SESuite ASmyrna, GA 30082-5198Phone:(404) 605-0100 ext. 10Fax:(404) 355-7930Web:www.BankersX.comFollow this link for Instant Web Chat:http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN --- Original Message --- From:"Howard Fore" [EMAIL PROTECTED] To:discussion@acfug.org Date:Fri, 28 Dec 2007 12:56:18 -0500 Subject:Re: re[2]: [ACFUG Discuss] CF and Vista For a technical reason or some clause in the license? On 12/28/07, Mischa Uppelschoten ext 10 [EMAIL PROTECTED] wrote: : Pro with large HD and RAM. You already have a Windows license... VMWare is Unless you bought a full XP retail version, you may not be allowed to move it to a different machine. /m- Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - -- Howard Fore, [EMAIL PROTECTED]"Whether you believe you can do a thing or not, you are right." -- Henry Ford - Annual Sponsor - Figleaf Software To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re[4]: [ACFUG Discuss] CF and Vista
If XP came with the laptop, then likely not. I'm not trying to be holier than the pope, but if you want to be legal, it will add $200 to the cost of your Mac. : I have a licensed Windows XP Pro version running but the laptop is a business: lease through Dell and all the software is leased as well (including Abobe: products and CF tools). I'm hoping I can purchase upgrades for all the Adobe: products and still use the software. Not sure if I will be able to use the: XP Pro license or not after the lease expires in April.: : From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mischa: Uppelschoten ext 10: Sent: Friday, December 28, 2007 12:26 PM: To: Web Site: Subject: re[2]: [ACFUG Discuss] CF and Vista: : : : Pro with large HD and RAM. You already have a Windows license... VMWare: is: : Unless you bought a full XP retail version, you may not be allowed to move it: to a different machine. : /m- Annual: Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this: list, manage your profile @ http://www.acfug.org?fa=login.edituserform For : more info, see http://www.acfug.org/mailinglists Archive @ : http://www.mail-archive.com/discussion%40acfug.org/ List hosted by : http://www.fusionlink.com : -Mischa UppelschotenThe Banker's Exchange, LLC.4200 Highlands Parkway SESuite ASmyrna, GA 30082-5198Phone:(404) 605-0100 ext. 10Fax:(404) 355-7930Web:www.BankersX.comFollow this link for Instant Web Chat:http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN --- Original Message --- From:"Dusty Hale" [EMAIL PROTECTED] To:discussion@acfug.org Date:Fri, 28 Dec 2007 13:04:32 -0500 Subject:RE: re[2]: [ACFUG Discuss] CF and Vista I have a licensed Windows XP Pro version running but the laptop is a business lease through Dell and all the software is leased as well (including Abobe products and CF tools). I'm hoping I can purchase upgrades for all the Adobe products and still use the software. Not sure if I will be able to use the XP Pro license or not after the lease expires in April. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mischa Uppelschoten ext 10Sent: Friday, December 28, 2007 12:26 PMTo: Web SiteSubject: re[2]: [ACFUG Discuss] CF and Vista : Pro with large HD and RAM. You already have a Windows license... VMWare is Unless you bought a full XP retail version, you may not be allowed to move it to a different machine. /m- Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - Annual Sponsor - Figleaf Software To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re[6]: [ACFUG Discuss] CF and Vista
If your lease with Dell is anything like my lease with CDW, they don't really care what you lease; they just see a purchase amount and calculate your payment, that's it. I was even able to roll a one year software maintenance renewal fee into a three year lease :-) Good luck and happy new year! Mischa. : I'm pretty sure the version I have is the full retail version because I: leased the software from Dell. However, I'm not sure if Dell actually: cancels licenses after a lease ends or how that works. I'm sure I'll find: out soon so I'll share ... : : Dusty: - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
[ACFUG Discuss] Finding numbers in strings
I thought I once saw a function in CF that would find a numeric part anywhere in a string, but I can't find it anymore (or was I dreaming?) Anyway, here are some sample strings I need to parse: ATTN: JOE SMITH PO# 72274 3150 holcomb bridge road PO# 72049 6311 COURT ST. PO's 72993, 73252,73211 What I'd like to find in a string: - does the string contain a number larger than 72000 and smaller or equal to 99? - if yes, does the string contain the letters po - if yes, return the string from po until the end - if no, return the string Background: sometimes our customers put our Purchase Order number(s) (which range between 72000 and 99) in the address fields of a UPS label and it's hard to find when the bill comes, so any parsing I can do here, will help our AP folks a lot. Thanks! /m - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re: [ACFUG Discuss] Running a system command from ColdFusion
: cfset variables.plsql = exec DBMS_WM.GoToWorkspace('edsWorkspace') SWAG: throw in a PreserveSingleQuotes? /m - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re[2]: [ACFUG Discuss] CFChart doesn't display Flash movie or PNG
I assume you unchecked "Verify that file exists" in IIS for that site? (Website - properties - Home Directory - Configuration - Click relevant extension/mapping - Edit). /m : This does look like an issue that I will look into. However, what I am: experiencing is I have 2 copies of the same application Dev and Staging, and: the Chart works on Dev but not on Staging. The only difference that I can: see between the 2 apps is that Staging has an SSL. I have chosen to cache: the charts in memory rather than the default of the hard drive. We have: plenty of memory and this is a relatively low volume app so it wont be a: problem. : : Scott Councill : Software Engineer : Direct: 404.601.4390 : [EMAIL PROTECTED] : : : From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ajas Mohammed: Sent: Tuesday, August 14, 2007 9:56 AM: To: discussion@acfug.org: Subject: Re: [ACFUG Discuss] CFChart doesn't display Flash movie or PNG : : Hi,: We had faced the image expired issue as the image is cached for only: sometime. The file you need to edit is I think cf install: path\lib\webcharts3d.xml and you can increase minTimeout and maxTimeout v: alues. : : Here are some helpful links: : http://cfchart.blogspot.com/2005_06_01_archive.html : : http://www.cfguru.org/index.cfm/2006/5/31/CFChart-Issues: : I Hope it helps.: : Ajas Mohammed.: : : : On 8/14/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: : The graph files exists for a short period of time and then they are deleted: by the CF server. If you are caching the page, you will see the behavior you: describe - since the html cache still holds the reference to a file that no: longer exist. I think there is an administrator setting to change how long: the graph file lives. One thing that I have done is make a copy of the: graphing file somewhere that I control. I then change the cached html to: reference that file instead. : : Sincerely,: : Brooks Wilson : There is no education like adversity. - Benjamin Disraeli : : Federal Reserve Bank of Atlanta 1000 Peachtree Street, N.E. Atlanta Georgia: 30309-4470: 404.498.8178 fax 404.498.8239 [EMAIL PROTECTED] : : : : : : "Scott Councill" [EMAIL PROTECTED] : Sent by: [EMAIL PROTECTED] : 08/13/2007 05:24 PM : : Please respond to: discussion@acfug.org : : To : discussion@acfug.org : : cc : : Subject : [ACFUG Discuss] CFChart doesn't display Flash movie or PNG : : : : : : I get a "File Not Found" in the HTTP Header. A couple things I am try to: understand. I have a multi-homed IIS setup and 1 instance of CFMX7 running. : When the CFChart is included in a file, it actually calls a file: /CFIDE/GraphData.cfm?graphCache=wc50graphID=Images/100058.SWF but there is: no such file as GraphData.cfm in the CFIDE folder, nor is there a file called: 100058.SWF in the /CFIDE/Images/ folder. : : I have 2 sites (DEV and STAGING) on the same server mentioned above. On DEV,: the page works like a champ on STAGING, nothing. Well, on STAGING the page: comes up without any errors displayed and the placeholder for the SWF file is: there, just no chart. OK, STAGING is under an SSL and DEV is not. I have: already updated the WebChart3D.xml file to reflect the HTTPS:// link to the: Flash codebase, so that is done. \CFIDE is set as a virtual folder under: both IIS entries PLUS is a virtual path in CFMX Admin. : : Can someone explain to me first how GraphData.cfm is found on DEV and where: exactly the SWF files are stored. : : : : : Scott Councill : Software Engineer : Direct: 404.601.4390 : [EMAIL PROTECTED] : Spunlogic: Expect More From the Web: www.spunlogic.com : Looking for insights and tips on all aspects of interactive marketing? Visit: Spunlogic's Blog for a look inside the minds of a leading interactive agency.: : : - : Annual Sponsor - Figleaf Software : : To unsubscribe from this list, manage your profile @ : http://www.acfug.org?fa=login.edituserform : : For more info, see http://www.acfug.org/mailinglists : Archive @ http://www.mail-archive.com/discussion%40acfug.org/ : List hosted by FusionLink : - : : : -- : Ajas Mohammed /: http://ajashadi.blogspot.com: No matter what, find a way. Because thats what winners do. : You can't improve what you don't measure. : - : Annual Sponsor - Figleaf Software : : To unsubscribe from this list, manage your profile @ : http://www.acfug.org?fa=login.edituserform : : For more info, see http://www.acfug.org/mailinglists : Archive @ http://www.mail-archive.com/discussion%40acfug.org/ : List hosted by FusionLink : -Mischa UppelschotenThe Banker's Exchange, Inc.2020 Hills Avenue NWAtlanta, GA 30318Phone:(404) 605-0100 ext. 10Fax:(404)
re[2]: [ACFUG Discuss] strange issue with cfcontent
I know I'm a bit late to this, but I was thinking this direction as well: copy the file to a downloadable version with a guid in the name in an accessible directory, so others can't guess it and then use OnSessionEnd to clean it up. Added benefit is that CF is out of the picture and the webserver will take care of transferring the file... /m : Also could it be that cfcontent is not such a good approach for doing what I : described. Basically keeping the files out of the webroot for security. Is : there another better approach. Maybe create a process that temporarily : creates a folder and copy of the file for a normal direct link to download : and then wipe it off after a time. That was just a quick thought. : Dusty - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re[2]: [ACFUG Discuss] speeding up cfexecute
Can you somehow cache the output? Is there an anti-virus product installed that scans the executable upon loading? If this is a windows box, a rude estimate of OS level execution time, write a batch file something like: ver|time yourprogram ver|time the time command will give you the current time up to 1/100th of a second. : Yeah we have to, it is returning data. : On 7/10/07, John Mason [EMAIL PROTECTED] wrote: : Are you putting a timeout on the cfexecute call? : : John : : : -Original Message- : From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Ross : Sent: Tuesday, July 10, 2007 10:56 AM : To: ACFUG ColdFusion Discussion : Subject: [ACFUG Discuss] speeding up cfexecute : : Any way to speed it up? The binary I'm hitting takes about 1/2 a second to : invoke through CF but, only milliseconds to actually return data. : : thx : -- : Steven Ross : web application interface developer : http://www.zerium.com : [mobile] 404-488-4364 : [fax] 267-482-4364 : : : - : Annual Sponsor FigLeaf Software - http://www.figleaf.com : : To unsubscribe from this list, manage your profile @ : http://www.acfug.org?fa=login.edituserform : : For more info, see http://www.acfug.org/mailinglists : Archive @ http://www.mail-archive.com/discussion%40acfug.org/ : List hosted by http://www.fusionlink.com : - : : : : : : - : Annual Sponsor FigLeaf Software - http://www.figleaf.com : : To unsubscribe from this list, manage your profile @ : http://www.acfug.org?fa=login.edituserform : : For more info, see http://www.acfug.org/mailinglists : Archive @ http://www.mail-archive.com/discussion%40acfug.org/ : List hosted by http://www.fusionlink.com : - : : : : : -- : Steven Ross : web application interface developer : http://www.zerium.com : [mobile] 404-488-4364 : [fax] 267-482-4364 : - : Annual Sponsor FigLeaf Software - http://www.figleaf.com : To unsubscribe from this list, manage your profile @ : http://www.acfug.org?fa=login.edituserform : For more info, see http://www.acfug.org/mailinglists : Archive @ http://www.mail-archive.com/discussion%40acfug.org/ : List hosted by http://www.fusionlink.com : - Mischa Uppelschoten The Banker's Exchange, Inc. 2020 Hills Avenue NW Atlanta, GA 30318 Phone:(404) 605-0100 ext. 10 Fax:(404) 355-7930 Web:www.BankersX.com Follow this link for Instant Web Chat: http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN -- Original Message -- FROM: Steven Ross [EMAIL PROTECTED] TO:discussion@acfug.org DATE: Tue, 10 Jul 2007 11:33:57 -0400 SUBJECT: Re: [ACFUG Discuss] speeding up cfexecute Yeah we have to, it is returning data. On 7/10/07, John Mason [EMAIL PROTECTED] wrote: Are you putting a timeout on the cfexecute call? John -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Ross Sent: Tuesday, July 10, 2007 10:56 AM To: ACFUG ColdFusion Discussion Subject: [ACFUG Discuss] speeding up cfexecute Any way to speed it up? The binary I'm hitting takes about 1/2 a second to invoke through CF but, only milliseconds to actually return data. thx -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 267-482-4364 - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 267-482-4364 - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive
re: [ACFUG Discuss] OT: contract SEO help needed
I have worked with Stacy Williams from Prominent Placement (http://www.prominentplacement.com/) in the past and they have done excellent work for us. I believe she and/or her firm will be able to assist will all requirements. Mischa. : Could anyone recommend a really hotshot SEO company or person? This is what I: need: : : 1. A tech partner to who I will outsource parts of my SEO projects to. : 2. The partner would doall the research and analysis and then provide: complete recommendations for implementations to effectively market through: SEO. : 3. I would use the recommendations provided to implement SEO related changes: to the website(s). : 4. If there are additional 3rd party implementations (outside links,: directories, etc.) I may or may not want to handle that so the partner may: also be required to do the labor in this area. : 5. The partner (company or person) needs to be someone highly experience with: a solid track record of success in the area of SEO. References, project: highlights, case studies, etc will be looked at. : 6. The partner would need to sign an agreement not to solicit my clients for: work for at least 1 year from the date of agreement termination. : 7. I have a project ready to go and more on the burner. : : DustyMischa UppelschotenThe Banker's Exchange, Inc.2020 Hills Avenue NWAtlanta, GA 30318Phone:(404) 605-0100 ext. 10Fax:(404) 355-7930Web:www.BankersX.comFollow this link for Instant Web Chat:http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN --- Original Message --- From:"Dusty Hale" [EMAIL PROTECTED] To:discussion@acfug.org Date:Mon, 2 Jul 2007 16:32:26 -0400 Subject:[ACFUG Discuss] OT: contract SEO help needed Could anyone recommend a really hotshot SEO company or person? This is what I need: 1. A tech partner to who I will outsource parts of my SEO projects to. 2. The partner would do all the research and analysis and then provide complete recommendations for implementations to effectively market through SEO. 3. I would use the recommendations provided to implement SEO related changes to the website(s). 4. If there are additional 3rd party implementations (outside links, directories, etc.) I may or may not want to handle that so the partner may also be required to do the labor in this area. 5. The partner (company or person) needs to be someone highly experience with a solid track record of success in the area of SEO. References, project highlights, case studies, etc will be looked at. 6. The partner would need to sign an agreement not to solicit my clients for work for at least 1 year from the date of agreement termination. 7. I have a project ready to go and more on the burner. Dusty- Annual Sponsor - Figleaf Software To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re: [ACFUG Discuss] Installing CF MX 6.1 on W2K3
I've had a similar issue with UPS software that claimed it wouldn't run on '03 where in fact it ran fine. Here is one suggestion: if possible, extract the updater to a folder (or copy the contents of the CD to a folder) and right click on the installer, then Properties. Look for the Compatibility tab and choose a supported operating system. When running the installer, it will "think" it's running on the OS you picked. Of course it may be that the CFMX 6(.1) installer is a bit overzealous and won't accept a platform it doesn't recognize,OR it may be right and Win 2003 is truly not supported. Anyway, I would not recommend this for production systems. Mischa. : Im having trouble installing ColdFusion MX 6.1 on Windows Server 2003. : : First, I started with installing version 6.0 from CD. It failed and research: revealed it will NOT install on Server 2003. What is needed is the version: 6.1 update. Adobe has removed all the download pages associated with 6.1.: Someone on this list provided a link to the old Macromedia server whereby I: was able to download a 6.1 Updater. It failed. Adobe 1-800 tech support has: kept me on hold today for over 4 hours (accumulated), and they dont recognize: old Macromedia customer numbers for quicker support. : : The error message I get is that This version of ColdFusion MX is not supported: by the updater. : : Any ideas?Mischa UppelschotenThe Banker's Exchange, Inc.2020 Hills Avenue NWAtlanta, GA 30318Phone:(404) 605-0100 ext. 10Fax:(404) 355-7930Web:www.BankersX.comFollow this link for Instant Web Chat:http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN --- Original Message --- From:Kelly Carter [EMAIL PROTECTED] To:discussion@acfug.org Date:Mon, 25 Jun 2007 17:10:30 -0400 Subject:[ACFUG Discuss] Installing CF MX 6.1 on W2K3 Im having trouble installing ColdFusion MX 6.1 on Windows Server 2003. First, I started with installing version 6.0 from CD. It failed and research revealed it will NOT install on Server 2003. What is needed is the version 6.1 update. Adobe has removed all the download pages associated with 6.1. Someone on this list provided a link to the old Macromedia server whereby I was able to download a 6.1 Updater. It failed. Adobe 1-800 tech support has kept me on hold today for over 4 hours (accumulated), and they dont recognize old Macromedia customer numbers for quicker support. The error message I get is that This version of ColdFusion MX is not supported by the updater. Any ideas?- Annual Sponsor - Figleaf Software To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re[2]: [ACFUG Discuss] Crystal free license error
Can you give me a high level picture of a queue? Is it an app var that you update, or a table with a processor template that checks for records etc. ? : You could implement a queue for requests to ensure you never go over: concurrent sessions limit. Keep some stats on it for a while (i.e. how often: do all concurrent requests fill and how deep does the queue get) and you'll: be able to determine if you needmore concurrent licenses to meet the load.: -dhs: : Dean H. Saxe,CISSP, CEH: [EMAIL PROTECTED]: "[T]he people can always be brought to the bidding of the leaders. This is: easy. All you have to do is to tell them they are being attacked, and: denounce the pacifists for lack of patriotism and exposing the country to: danger. It works the same in every country.": --Hermann Goering, Hitler's Reich-Marshall at the Nuremberg Trials: : On Jun 14, 2007, at 6:10 PM, Douglas Knudsen wrote:: I'm no CR SME, but looks like more concurrent license are needed. That or: design things to slow your users down a bit! ): DK: On 6/14/07, Mischa Uppelschoten ext 10 [EMAIL PROTECTED]: wrote: : CFMX 7.: I'm presenting customers with a page of links to their invoices. Every invoice: is a Crystal report and opens in a new window. If the user opens too many new: windows too quickly, some of them throw an error:: A Crystal Reports job failed because a free license could not be obtained in: the time allocated.: Hitting refresh on that page a bit later brings up the page allright. Can: anyone think of a way to prevent this? The error is properly caught with: cfcatch...: Thanks!: Mischa. - Annual: Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this: list, manage your profile @ http://www.acfug.org?fa=login.edituserform For: more info,see http://www.acfug.org/mailinglists Archive @: http://www.mail-archive.com/discussion%40acfug.org/ List hosted by: http://www.fusionlink.com: - : -- : Douglas Knudsen: http://www.cubicleman.com: this is my signature, like it? : - : Annual Sponsor - Figleaf Software : : To unsubscribe from this list, manage your profile @ : http://www.acfug.org?fa=login.edituserform : : For more info, see http://www.acfug.org/mailinglists : Archive @ http://www.mail-archive.com/discussion%40acfug.org/ : List hosted by FusionLink : -Mischa UppelschotenThe Banker's Exchange, Inc.2020 Hills Avenue NWAtlanta, GA 30318Phone:(404) 605-0100 ext. 10Fax:(404) 355-7930Web:www.BankersX.comFollow this link for Instant Web Chat:http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN --- Original Message --- From:"Dean H. Saxe" [EMAIL PROTECTED] To:discussion@acfug.org Date:Thu, 14 Jun 2007 18:38:03 -0400 Subject:Re: [ACFUG Discuss] Crystal free license error You could implement a queue for requests to ensure you never go over concurrent sessions limit. Keep some stats on it for a while (i.e. how often do all concurrent requests fill and how deep does the queue get) and you'll be able to determine if you need more concurrent licenses to meet the load. -dhs Dean H. Saxe,CISSP, CEH [EMAIL PROTECTED] "[T]he people can always be brought to the bidding of the leaders. This is easy. All you have to do is to tell them they are being attacked, and denounce the pacifists for lack of patriotism and exposing the country to danger. It works the same in every country." --Hermann Goering, Hitler's Reich-Marshall at the Nuremberg Trials On Jun 14, 2007, at 6:10 PM, Douglas Knudsen wrote: I'm no CR SME, but looks like more concurrent license are needed. That or design things to slow your users down a bit! ;)DK On 6/14/07, Mischa Uppelschoten ext 10 [EMAIL PROTECTED] wrote: CFMX 7. I'm presenting customers with a page of links to their invoices. Every invoice is a Crystal report and opens in a new window. If the user opens too many new windows too quickly, some of them throw an error: A Crystal Reports job failed because a free license could not be obtained in the time allocated. Hitting refresh on that page a bit later brings up the page allright. Can anyone think of a way to prevent this? The error is properly caught with cfcatch... Thanks! Mischa.- Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - -- Douglas Knudse
re[4]: [ACFUG Discuss] Crystal free license error
: Sure, but only if you stop using red text. -)** Sorry about that. Whoever developed our email client (GoldMine) thought it would be a great idea to pick a random text color for every reply. (It's not).: The basic idea is that any requests to go to Crystal are placed into a FIFO: queue (first in, first out). snip Ahhh, ok, I think I understand. You're right, it doesn't seem that complex, but definitely a couple of hours to get right. Thanks much! Mischa. - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
[ACFUG Discuss] Crystal free license error
CFMX 7. I'm presenting customers with a page of links to their invoices. Every invoice is a Crystal report and opens in a new window. If the user opens too many new windows too quickly, some of them throw an error: A Crystal Reports job failed because a free license could not be obtained in the time allocated. Hitting refresh on that page a bit later brings up the page allright. Can anyone think of a way to prevent this? The error is properly caught with cfcatch... Thanks! Mischa. - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re[2]: [ACFUG Discuss] database code and source control
To be honest, I just load them in Query Analyzer and run them, but you could also run them in a script (VB, batch) using the OSQL utility. : yes. How do you plan to execute these scripts? : DK: On 5/21/07, Mischa Uppelschoten ext 10 [EMAIL PROTECTED]: wrote: : : Im moving to having all my MS SQL objects scripted and stored as a file and: only make changes to my db through that script. Is that what you mean? : Mischa. : : : We are about to embark on constructing a staging database here to sit: between: : our dev and prod ones. I have all our app code in CVS and move it between: : dev, staging, and prod servers. What do folks do with SQL code? Sure, can: : store it with the app codein CVS or whatever SCM tool, but how to execute: it?: : Looks like I can use ANT, but what are others doing with respect to this? : : -- : : Douglas Knudsen: : http://www.cubicleman.com: : this is my signature, like it? : : - : : Annual Sponsor - Figleaf Software : : : : To unsubscribe from this list, manage your profile @ : : http://www.acfug.org?fa=login.edituserform : : : : For more info, see http://www.acfug.org/mailinglists : : Archive @ http://www.mail-archive.com/discussion%40acfug.org/ : : List hosted by FusionLink : : -: Mischa Uppelschoten: The Bankers Exchange, Inc.: 2020 Hills Avenue NW: Atlanta, GA 30318: Phone: (404) 605-0100 ext. 10: Fax: (404) 355-7930: Web: www.BankersX.com: Follow this link for Instant Web Chat:: http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN : : --- Original Message --- : : From: "Douglas Knudsen" [EMAIL PROTECTED] : To: discussion@acfug.org : Date: Mon, 21 May 2007 12:03:39 -0400 : Subject: [ACFUG Discuss] database code and source control : : We are about to embark on constructing a staging database here to sit between: our dev and prod ones. I have all our app code in CVS and move it between: dev, staging, and prod servers. What do folks do with SQL code? Sure, can: store it with the app code in CVS or whatever SCM tool, but how to execute: it? Looks like I can use ANT, but what are others doing with respect to: this? : -- : Douglas Knudsen: http://www.cubicleman.com: this is my signature, like it? : - : Annual Sponsor - Figleaf Software : To unsubscribe from this list, manage your profile @ : http://www.acfug.org?fa=login.edituserform : For more info, see http://www.acfug.org/mailinglists : Archive @ http://www.mail-archive.com/discussion%40acfug.org/ : List hosted by FusionLink : -: - Annual Sponsor: FigLeaf Software - http://www.figleaf.com To unsubscribe from this list,: manage your profile @ http://www.acfug.org?fa=login.edituserform For more: info, see http://www.acfug.org/mailinglists Archive @: http://www.mail-archive.com/discussion%40acfug.org/ List hosted by: http://www.fusionlink.com: - : -- : Douglas Knudsen: http://www.cubicleman.com: this is my signature, like it? : - : Annual Sponsor - Figleaf Software : : To unsubscribe from this list, manage your profile @ : http://www.acfug.org?fa=login.edituserform : : For more info, see http://www.acfug.org/mailinglists : Archive @ http://www.mail-archive.com/discussion%40acfug.org/ : List hosted by FusionLink : -Mischa UppelschotenThe Banker's Exchange, Inc.2020 Hills Avenue NWAtlanta, GA 30318Phone:(404) 605-0100 ext. 10Fax:(404) 355-7930Web:www.BankersX.comFollow this link for Instant Web Chat:http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN --- Original Message --- From:"Douglas Knudsen" [EMAIL PROTECTED] To:discussion@acfug.org Date:Mon, 21 May 2007 12:37:37 -0400 Subject:Re: [ACFUG Discuss] database code and source control yes. How do you plan to execute these scripts? DK On 5/21/07, Mischa Uppelschoten ext 10 [EMAIL PROTECTED] wrote: I'm moving to having all my MS SQL objects scripted and stored as a file and only make changes to my db through that script. Is that what you mean? Mischa. : We are about to embark on constructing a staging database here to sit between: our dev and prod ones. I have all our app code in CVS and move it between: dev, staging, and prod servers. What do folks do with SQL code? Sure, can: store it with the app codein CVS or whatever SCM tool, but how to execute it?: Looks like I can use ANT, but what are others doing with respect to this? : -- : Douglas Knudsen: http://www.cubicle
re: [ACFUG Discuss] Bad CFQuery Results
: Sorry for not posting any code, but I'm thinking you have either run : into this before or you haven't. I can't find anything online, perhaps : because the issue is difficult to describe. I'd suggest turning on debugging and see what SQL actually gets fired to the db? Mischa Uppelschoten The Banker's Exchange, Inc. 2020 Hills Avenue NW Atlanta, GA 30318 Phone:(404) 605-0100 ext. 10 Fax:(404) 355-7930 Web:www.BankersX.com Follow this link for Instant Web Chat: http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN -- Original Message -- FROM: Greg Drake [EMAIL PROTECTED] TO:discussion@acfug.org DATE: Mon, 21 May 2007 16:19:33 -0400 SUBJECT: [ACFUG Discuss] Bad CFQuery Results Has anyone else ever run into a situation where cfquery does not return the same records as a direct query on the database? I have a rather large query joining 5 tables and 2 derived tables. The 'where' clause is cluttered with dynamically loaded conditions. There are some cfqueryparam tags that keep me from easily inserting the query as a single string. The 'order by' clause is handled by a custom tag. The point is this: under certain circumstances the query does not respond properly, but I am sure that the query should be making it to the cfquery tag properly. If the query is run directly against the database it works fine, and if it is run with certain options it works fine, but other options make it return a result set that is too small. It doesn't through an error, though, so If not for careful testing it wouldn't have even been noticed. I am using ColdFusion 7 and SQL Server. Sorry for not posting any code, but I'm thinking you have either run into this before or you haven't. I can't find anything online, perhaps because the issue is difficult to describe. - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re: [ACFUG Discuss] problem with session variables (i think) - DISREGARD I SOLVED IT
: 2. On my local server these are the same because I don't have SSL set up.: That's why it works fine there. I had the same issue and I "resolved it" by exporting my certificate from production onto my test server. The browser will throw and error message saying that the certificate doesn't match the site when you request a page over https, but SSL itself works fine for testing. There used to be a free IBM app, I believe Keyman that you could use to generate your own certificates but I've never been able to get that to work again. Mischa. - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re: [ACFUG Discuss] cfform bug stuck on variable.
Unless I'm missing something, even if your code works, the select box will never display more than one different vendor name...? First you find all products for a certain vendor name, then you build a select list based on that vendor name. I know I am not answering your question, but I think you should work that out first? (Unless that is how you want it to work). Mischa. - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re: [ACFUG Discuss] CF application using verity
Yes, what you're suggesting is a good idea, however, I would go a bit further and place both Reason_Text and State in that first custom field by simply delimiting the data. Change the search page so that if the user chooses a state other than all, the following would be added to your Verity query: custom1 CONTAINS [state] (Depending on the value of Reason_Text, you may get too many hits and you can resolve that by including the delimiter char in the search (you may have to escape it) or query of query or something). /m : Hi,: I have CF application which I have designed using verity search feature. : Overview :: The search application lets user search data in tables based of keywords and: the user could also filter by state or just say ALL ie. all states. I can: get results when search is based of ALL STATES since I dont have to do: anything apart from displaying results from the collection. The issue is when: user searches by a particular state(only one state at a time is allowed at: this time in appl). I need to somehow filter the results in the collection: based of the state selected by theuser. Any suggestions would be great. I: need some ideas. Look at code below and code marked with my comment in red.: Is it a good idea ?: Here is the code just in case :: Code for Collection : !--- Retrieve all StateRegs to be searched ---: cfquery name="GetStateRegs" datasource="#client.dbname#": SELECT reg.Reg_ID, elig.Eligibility_No, note.Note_No, reas.Reason_No,: reg.Reg_Name ,: reg.State,reg.MaxDuration, reg.Concurrent_Policies, reg.Link,: elig.Eligibility_Text, reas.Reason_Text, note.Note_Text: FROM (( (Regulations reg left outer join Reason reas ON reg.Reg_ID =: reas.Reason_Reg_ID ): left outer join Eligibility elig on reg.Reg_ID = elig.Elig_Reg_ID ): left outer JOIN Notes note on reg.Reg_ID = note.Note_Reg_ID ): WHERE reg.Country = US : ORDER BY 1,4,2,3: /cfquery : !--- Build 'custom' index on query result above ---: cfindex action="": collection="StateRegs": key= "Reg_ID": type="custom": title="Reg_Name" : query="GetStateRegs": body="Reg_Name,MaxDuration,Eligibility_Text,Reason_Text,Note_Text": custom1="Reason_Text" -- Shall I use State over here: custom2="Eligibility_Text": custom3="Reason_No": custom4="Eligibility_No": Let me know if you need any more input from my side. : Thanks,: -- : Ajas Mohammed /: http://ajashadi.blogspot.com : - : To unsubscribe from this list, manage your profile @ : http://www.acfug.org?fa=login.edituserform : : For more info, see http://www.acfug.org/mailinglists : Archive @ http://www.mail-archive.com/discussion%40acfug.org/ : List hosted by FusionLink : -Mischa UppelschotenThe Banker's Exchange, Inc.2020 Hills Avenue NWAtlanta, GA 30318Phone:(404) 605-0100 ext. 10Fax:(404) 355-7930Web:www.BankersX.comFollow this link for Instant Web Chat:http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN --- Original Message --- From:"Ajas Mohammed" [EMAIL PROTECTED] To:discussion@acfug.org Date:Mon, 5 Mar 2007 10:36:34 -0500 Subject:[ACFUG Discuss] CF application using verity Hi, I have CF application which I have designed using verity search feature. Overview :The search application lets user search data in tables based of keywords and the user could also filter by state or just say ALL ie. all states. I can get results when search is based of ALL STATES since I dont have to do anything apart from displaying results from the collection. The issue is when user searches by a particular state(only one state at a time is allowed at this time in appl). I need to somehow filter the results in the collection based of the state selected by the user. Any suggestions would be great. I need some ideas. Look at code below and code marked with my comment in red. Is it a good idea ?Here is the code just in case :Code for Collection !--- Retrieve all StateRegs to be searched ---cfquery name="GetStateRegs" datasource="#client.dbname#"SELECT reg.Reg_ID, elig.Eligibility_No, note.Note_No, reas.Reason_No, reg.Reg_Name , reg.State,reg.MaxDuration, reg.Concurrent_Policies, reg.Link, elig.Eligibility_Text, reas.Reason_Text, note.Note_TextFROM (( (Regulations reg left outer join Reason reas ON reg.Reg_ID = reas.Reason_Reg_ID ) left outer join Eligibility elig on reg.Reg_ID = elig.Elig_Reg_ID ) left outer JOIN Notes note on reg.Reg_ID = note.Note_Reg_ID )WHERE reg.Country = 'US' ORDER BY 1,4,2,3/cfquery !--- Build 'custom' index on query result above ---cfindex action=""collection="StateRegs"key= "Reg_ID"type="custom"title="Reg_Name" query="GetStateRegs"body="Reg_Name,MaxDuration,Eligibility_Text,Reason_Text,Note_Text"custom1="Reason_Text" -- Shall I use State over
re[2]: [ACFUG Discuss] CF application using verity
My whole suggestion about combining State and Reason_Text in one custom field, was so that you wouldn't have to sacrifice the Reason_Text Without trying to understand too much of your query... step 1: run query SELECT field1, field2, ..., Reason_Text + "|" + State AS ContentsOfCustomField1 ... step 2: index query cfindex action="".. custom1="ContentsOfCustomField1" ... step 3: Fire verity query cfsetmyCriteria = form.UserSubmittedCriteria - probably need to filter this for abuse cfif form.State NEQ "All" cfset myCriteria = myCriteria "AND custom1 CONTAINS " form.State - not sure if you need angle brackets around "contains" /cfif cfsearch collection="bla" criteria = "#myCriteria#" ... I hope that makes sense. /m : Change the search page so that if the user chooses a state other than all, the: following would be added to your Verity query: custom1 CONTAINS [state]: By verity query, do you mean the query which is used for building collection?: If it is, then dont you think it will be too much to index the collection: everytime based of the state? Sorry if I am missing something obvious here...: : how do you combine 2 columns in custom field? Like this maybe: custom1="Reason_Text" contains "Eligibility_Text" custom2="state": custom3="whatever" custom4="anythying" : Thanks: : : : On 3/5/07, Mischa Uppelschoten ext 10 [EMAIL PROTECTED]: wrote: : : Yes, what youre suggesting is a good idea, however, I would go a bit further: and place both Reason_Text and State in that first custom field by simply: delimiting the data. Change the search page so that if the user chooses a: state other than all, the following would be added to your Verity query: : : custom1 CONTAINS [state] : : (Depending on the value of Reason_Text, you may get too many hits and you can: resolve that by including the delimiter char in the search (you may have to: escape it) or query of query or something). : /m : : : : : Hi,: : I have CF application which I have designed using verity search feature.: : : Overview :: : The search application lets user search data in tables based of keywords and: : the user could also filter by state or just say ALL ie. all states. I can: : get results when search is based of ALL STATES since I dont have to do: : anything apart from displaying results from the collection. The issue is: when: : user searches by a particular state(only one state at a time is allowed at: : this time in appl). I need to somehow filter the results in the collection: : based of the state selected by theuser. Any suggestions would be great. I: : need some ideas. Look at code below and code marked with my comment in red.: : Is it a good idea ?: : Here is the code just in case :: : Code for Collection : : !--- Retrieve all StateRegs to be searched ---: : cfquery name="GetStateRegs" datasource="#client.dbname#": : SELECT reg.Reg_ID, elig.Eligibility_No, note.Note_No, reas.Reason_No,: : reg.Reg_Name ,: : reg.State,reg.MaxDuration, reg.Concurrent_Policies, reg.Link,: : elig.Eligibility_Text, reas.Reason_Text, note.Note_Text: : FROM (( (Regulations reg left outer join Reason reas ON reg.Reg_ID =: : reas.Reason_Reg_ID ): : left outer join Eligibility elig on reg.Reg_ID = elig.Elig_Reg_ID ): : left outer JOIN Notes note on reg.Reg_ID = note.Note_Reg_ID ): : WHERE reg.Country = US : : ORDER BY 1,4,2,3: : /cfquery : : !--- Build custom index on query result above ---: : cfindex action="": : collection="StateRegs": : key= "Reg_ID": : type="custom": : title="Reg_Name" : : query="GetStateRegs": : body="Reg_Name,MaxDuration,Eligibility_Text,Reason_Text,Note_Text": : custom1="Reason_Text" -- Shall I use State over here: : custom2="Eligibility_Text": : custom3="Reason_No": : custom4="Eligibility_No": : Let me know if you need any more input from my side. : : Thanks,: : -- : : Ajas Mohammed /: : http://ajashadi.blogspot.com : : - : : To unsubscribe from this list, manage your profile @ : : http://www.acfug.org?fa=login.edituserform : : : : For more info, see http://www.acfug.org/mailinglists : : Archive @ http://www.mail-archive.com/discussion%40acfug.org/ : : List hosted by FusionLink : : -: Mischa Uppelschoten: The Bankers Exchange, Inc.: 2020 Hills Avenue NW: Atlanta, GA 30318: Phone: (404) 605-0100 ext. 10: Fax: (404) 355-7930: Web: www.BankersX.com: Follow this link for Instant Web Chat:: http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN : : --- Original Message --- : : From: "Aja
re: [repost] [ACFUG Discuss] Monitoring CF app / monitoring service
I've been using http://www.siteuptime.com/, works great. /m : Folks, maybe I was not clear. What I am asking about is a third party that can: monitor an app/URL in real time and report to me if the site is down, for: instance, if I am having dinner and the site goes down. Make sense? Looking: at logs is not the issue. Thanks!: _: Derrick Peavy: Sales and Web Services: CollegeClassifieds.com: http://www.collegeclassifieds.com: A Service of UniversalAdvertising, inc.: ___: : On Feb 2, 2007, at 6:13 PM, Derrick Peavy wrote:: Does anyone have or know of a service that can monitor a CF app for up time? I: don't mean just pinging the domain to get a reply, but making sure that your: app is working and that Java, and thus, CF has not died in the middle of the: night?: : _: Derrick Peavy: Sales and Web Services: CollegeClassifieds.com: http://www.collegeclassifieds.com: A Service of UniversalAdvertising, inc.: ___: Mischa UppelschotenThe Banker's Exchange, Inc.2020 Hills Avenue NWAtlanta, GA 30318Phone:(404) 605-0100 ext. 10Fax:(404) 355-7930Web:www.BankersX.comFollow this link for Instant Web Chat:http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN --- Original Message --- From:Derrick Peavy [EMAIL PROTECTED] To:discussion@acfug.org Date:Sun, 4 Feb 2007 12:18:51 -0500 Subject:[repost] [ACFUG Discuss] Monitoring CF app / monitoring service Folks, maybe I was not clear. What I am asking about is a third party that can monitor an app/URL in real time and report to me if the site is down, for instance, if I am having dinner and the site goes down. Make sense? Looking at logs is not the issue. Thanks! _ Derrick Peavy Sales and Web Services CollegeClassifieds.com http://www.collegeclassifieds.com A Service of Universal Advertising, inc. ___ On Feb 2, 2007, at 6:13 PM, Derrick Peavy wrote: Does anyone have or know of a service that can monitor a CF app for up time? I don't mean just pinging the domain to get a reply, but making sure that your app is working and that Java, and thus, CF has not died in the middle of the night? _ Derrick Peavy Sales and Web Services CollegeClassifieds.com http://www.collegeclassifieds.com A Service of Universal Advertising, inc. ___ - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re[2]: [ACFUG Discuss] Image from DB
I'm doing this because I'm forced by a legacy application to do so, but it is a terrible strain on my CF and my db server. Most databases simply are not designed to efficiently handle these long records. Apart from that, editing an image becomes a nightmare. Security can be handled even if your images are stored as a file in the file system. In my opinion, the performance issues you may encounter marginalize the benefit of storing in a db. Just my $0.02. Mischa. : Not true--there can be a benefits: data management security. Derrick: started this whole discussion on the BlueDragon Interest list. I guess he: brought it here because no one could tell him a technique for doing what he: wanted on that list. But over there just as here, people asked the "why: would you do that?" question about storing images in the DB. An good rule: of thumb was put forth: if it's "page furniture," keep it in the file : system; if it's data, keep it in the DB. If it's data, use your data : management tool (a.k.a. your database) to manage it--why reinvent the wheel?: On the security side of things, note that by using img : src="", you can implement all the same security you : would for any other resource your app serves up. : : Josh: : From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Mason: Sent: Thursday, January 18, 2007 10:27 AM: To: discussion@acfug.org: Subject: RE: [ACFUG Discuss] Image from DB: : : Honestly, there's not really a benefit per se. There might be a rare case now: and then for doing this, but really you should probably just use the: filesystem for what it's design for, storing files. : : John : : : From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fennell, Mark P.: Sent: Thursday, January 18, 2007 10:22 AM: To: discussion@acfug.org: Subject: RE: [ACFUG Discuss] Image from DB: : : I'm just curious. What are the benefits of storing the image in the db rather: than storing the file on the filesystem and the path in the db? I mean, for: a web page, all you need is the img and the path. I can understand how it : might be useful in some VB or C or Java app where the client doesn't display : images with such ease, but for a web app...? Thanks. : mf : -Original Message-: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of John Mason: Sent: Thursday, January 18, 2007 10:16 AM: To: discussion@acfug.org: Subject: RE: [ACFUG Discuss] Image from DB: : I believe there would still be three http requests here. The images would: still be called up in the html like img src="" right? Sorry but in http: that would still create seperate http requests. : : John : [EMAIL PROTECTED] : : : : From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Derrick Peavy: Sent: Thursday, January 18, 2007 9:35 AM: To: discussion@acfug.org: Subject: [ACFUG Discuss] Image from DB: : Probably an easy problem for someone... : : I want to put two small images in my database and then output them in my app,: so that they do not constitute additional http requests. Consider it an : experiment - I know that it may seem a bit silly. The goal is for the entire : page to be delivered to the browser in one http request, instead of 3 (two : images and one cf page) without doing any Apache tinkering. I have looked : around the net for answers and cannot seem to make this work. : : Database field is "imageFile" of type BLOB in MySQL 4.1.13. What is the : proper way to insert the image? : : Example: INSERT into Images (imageFile) values ('#base64(image)#') : -Or- : Example: INSERT into Images (imageFile) values ('#image#') : : And then of course, how do you retrieve it? Example: SELECT imageFile FROM: Images WHERE imageID=1 : : cfoutput : #toString(imageFile)# : /cfoutput : -OR- : cfoutput : #toBinary(imageFile)# : /cfoutput : : As I say, I've not been able to make this work. If I use toString(), I simply: get the raw data. If I use toBinary(), I get an error that the data cannot: be converted to a string. Also, using CFCONTENT is fine to output the image,: but then any code after that is ignored. So, short of saving the entire page: and then outputting, it, I don't see a way to use CFCONTENT. : : : : _ : Derrick Peavy : Sales and Web Services : Universal Advertising : Phone: 404-786-5036 : Fax: 404-370-0470 : http://www.universaladvertising.com : http://www.collegeadvertising.com : http://www.collegeclassifieds.com : ___ : - : To unsubscribe from this list, manage your profile @ : http://www.acfug.org?fa=login.edituserform : For more info, see http://www.acfug.org/mailinglists : Archive @ http://www.mail-archive.com/discussion%40acfug.org/ : List hosted by FusionLink : - :
re[2]: [ACFUG Discuss] Image from DB
I beg to differ. Text may need to be searched and edited, images cannot (easily) be searched or edited when placed in a db. Also, almost all my images happen to be larger than 8k, the limit for what fits in a record for SQL server, so they are placed in a different area, slowing retrieval down. I realize that's just my personal situation. /m : Sure it's data management. You could keep text data on the file system too: but you typically don't--unless maybe it's a lot of text, right? Images are: no different--if they're not that big, why complicate matters by storing: them on the file system? You're already having to do a DB lookup to know: what to retrieve--that's the crucial difference between "page furniture" and: data. But whatever. : : Josh: : From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Mason: Sent: Thursday, January 18, 2007 2:50 PM: To: discussion@acfug.org: Subject: RE: [ACFUG Discuss] Image from DB: : : I agree that with strict image security it is an option. Give an image only: to particular people, etc. But data management? I don't think so, but let's: just my opinion. Image security is probably the only practical example I can: think of for doing this, but there again Derrick isn't going for that. As: far as having html text and the image binary on the same 'page'...I've never: send that before. : : John : [EMAIL PROTECTED] : : : : : : From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Josh Adams: Sent: Thursday, January 18, 2007 2:42 PM: To: discussion@acfug.org: Subject: RE: [ACFUG Discuss] Image from DB: : : Not true--there can be a benefits: data management security. Derrick: started this whole discussion on the BlueDragon Interest list. I guess he: brought it here because no one could tell him a technique for doing what he: wanted on that list. But over there just as here, people asked the "why: would you do that?" question about storing images in the DB. An good rule: of thumb was put forth: if it's "page furniture," keep it in the file : system; if it's data, keep it in the DB. If it's data, use your data : management tool (a.k.a. your database) to manage it--why reinvent the wheel?: On the security side of things, note that by using img : src="", you can implement all the same security you : would for any other resource your app serves up. : : Josh: : From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Mason: Sent: Thursday, January 18, 2007 10:27 AM: To: discussion@acfug.org: Subject: RE: [ACFUG Discuss] Image from DB: : : Honestly, there's not really a benefit per se. There might be a rare case now: and then for doing this, but really you should probably just use the: filesystem for what it's design for, storing files. : : John : : : From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fennell, Mark P.: Sent: Thursday, January 18, 2007 10:22 AM: To: discussion@acfug.org: Subject: RE: [ACFUG Discuss] Image from DB: : : I'm just curious. What are the benefits of storing the image in the db rather: than storing the file on the filesystem and the path in the db? I mean, for: a web page, all you need is the img and the path. I can understand how it : might be useful in some VB or C or Java app where the client doesn't display : images with such ease, but for a web app...? Thanks. : mf : -Original Message-: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of John Mason: Sent: Thursday, January 18, 2007 10:16 AM: To: discussion@acfug.org: Subject: RE: [ACFUG Discuss] Image from DB: : I believe there would still be three http requests here. The images would: still be called up in the html like img src="" right? Sorry but in http: that would still create seperate http requests. : : John : [EMAIL PROTECTED] : : : : From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Derrick Peavy: Sent: Thursday, January 18, 2007 9:35 AM: To: discussion@acfug.org: Subject: [ACFUG Discuss] Image from DB: : Probably an easy problem for someone... : : I want to put two small images in my database and then output them in my app,: so that they do not constitute additional http requests. Consider it an : experiment - I know that it may seem a bit silly. The goal is for the entire : page to be delivered to the browser in one http request, instead of 3 (two : images and one cf page) without doing any Apache tinkering. I have looked : around the net for answers and cannot seem to make this work. : : Database field is "imageFile" of type BLOB in MySQL 4.1.13. What is the : proper way to insert the image? : : Example: INSERT into Images (imageFile) values ('#base64(image)#') : -Or- : Example: INSERT into Images (imageFile) values ('#image#') : : And then of course, how do you retrieve it? Example: SELECT imageFile FROM: Images WHERE imageID=1 : : cfoutput : #toString(imageFile)# :
re: [ACFUG Discuss] image generator/validator spam prevention
Check this http://weblogs.macromedia.com/cantrell/archives/2004/08/captcha_and_col.cfm /m Mischa UppelschotenThe Banker's Exchange, Inc.2020 Hills Avenue NWAtlanta, GA 30318Phone:(404) 605-0100 ext. 10Fax:(404) 355-7930Web:www.BankersX.comFollow this link for Instant Web Chat:http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN --- Original Message --- From:"Tepfer, Seth" [EMAIL PROTECTED] To:discussion@acfug.org Date:Thu, 21 Dec 2006 16:11:46 -0500 Subject:[ACFUG Discuss] image generator/validator spam prevention I know this has come up previously, but I dont know what to search for. I need to generate an image that has that skewed text on it, so that spammers cant read it, to validate the form submission is a human. 1) What do you CALL that thing? 2) Do you know if there is a tag or function out there somewhere (hopefully free) that auto generates it? Thanks seth- To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re[2]: [ACFUG Discuss] First try at a real CF edit
Glad you figured it out :-) #set ($tmpVend_number = ${token.getcnnSG().queryValue(SELECT Vend_number FROM PRODUCTS WHERE Product_ID=${orderItem.getProductID()})}) rant Now, CF code is not always pretty, but that line is ghastly IMHO. (Well, maybe you could mix in some dynamic javascript) /rant - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re[2]: [ACFUG Discuss] Data grid
Thanks for the suggestions! I'll check them out! Mischa. There are a lot of grid example using AJAX if you want more dynamic solutions for grid population. Teddy On 11/7/06, Ben Johnson [EMAIL PROTECTED] wrote: Check out the Rico website. They have a LiveGrid tool. http://openrico.org/rico/livegrid.page Ben On 11/7/06, Mischa Uppelschoten ext 10 [EMAIL PROTECTED] wrote: Can anybody recommend a simple widget for building a dhtml web data grid? CFGrid is a bit too cumbersome on the client side to use. I basically just need striped output and the ability to sort columns. No need to be able to edit data. Thanks! Mischa. - To unsubscribe from this list, manage your profile @ http://www.acfug.org?falogin.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - -- cf_payne / Adobe Certified ColdFusion MX 7 Developer Blog: http://cfpayne.wordpress.com/ Atlanta CFUG: http://www.acfug.org - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - Mischa Uppelschoten The Banker's Exchange, Inc. 2020 Hills Avenue NW Atlanta, GA 30318 Phone:(404) 605-0100 ext. 10 Fax:(404) 355-7930 Web:www.BankersX.com Follow this link for Instant Web Chat: http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re: [ACFUG Discuss] Best Image upload tag (manipulate, etc.)?
Wondering about your mileage... For image resizing, I've been using Alagad Image component with good success and performance. http://www.alagad.com/index.cfm/name-aiccompress /m What is the best, most flexible image upload tag you have used? Free is not a requirement in this case. But solid, no known bugs and fast execution are a must. Would also like: image resize, take a 1 MB photo someone uploads and make it smaller without changing the size (H or W). file type restriction (easy, I know) multiple files uploaded at once Important - tag needs to work in either Cold Fusion or Blue Dragon and have been tested in Firefox and Safari (at least), in addition to IE. _ Derrick Peavy Sales and Web Services Universal Advertising ___ Mischa Uppelschoten The Banker's Exchange, Inc. 2020 Hills Avenue NW Atlanta, GA 30318 Phone:(404) 605-0100 ext. 10 Fax:(404) 355-7930 Web:www.BankersX.com Follow this link for Instant Web Chat: http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re: [ACFUG Discuss] Client side
I'd suggest VBScript? http://p2p.wrox.com/topic.asp?TOPIC_ID=2759 /m I've been away from CF for a while, but am coming back into MX7 Need to know what is the best (and/or easiest) way run code on the client machine - we need to gather information from the registry, find things like the machine name (http header vars are not reliable) and determine if processes are running and then pass that info into a page. Thanks, Dave Bellevue - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - Mischa Uppelschoten The Banker's Exchange, Inc. 2020 Hills Avenue NW Atlanta, GA 30318 Phone:(404) 605-0100 ext. 10 Fax:(404) 355-7930 Web:www.BankersX.com Follow this link for Instant Web Chat: http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re: [ACFUG Discuss] using a variable to build a variable name
So you need to process one or more formfields but you don't know the names at the time of processing? I had a similar requirement and here is how I solved it: cfscript for(FormField in arguments.FormVars) // this will loop through all available form variables { Quantity = structfind(arguments.FormVars, FormField); // set the variable quantity to the value of the form variable if(left(FormField, 2) EQ c_ and right(FormField, 14) NEQ _cfforminteger and len(Quantity)) // check if this is one of the form vars I actually want to process. The formvars with names that end in _cfforminteger are created by CFFORM and can be ignored { ConfigID = mid(FormField, 3, len(FormField)); // where I use ItemID, you would use InvoiceID ... do something else... } } /cfscript The trick really is to prefix the fields you know you'll be interested in with something unique, like I did with c_. Later, you can simply test for this. Hope this makes sense. Mischa. BTW, I like CFScript, since it's a function, but you can write this is straight CF as well. Hey folks, I was wondering if anyone had a solution to an issue I'm having that is resulting in some hair loss on my part by means of my hands. I have a form that has repetitive fields that is built by using a loop. I append the form field name with a variable to distinguish between the different form fields: CFINPUT TYPE=TEXT NAME=InvAmt#InvoiceQuery.InvId#. This works fine for creating unique names for my form fields but it creates a problem when it's time to write to the db. I can't recreate the variable names in my SQL statement for the insert or update: UPDATE tablename SET InvAmt = ??InvAmt#InvoiceQuery.InvId#?? WHERE ID=#ID# Obviously that won't work. Any ideas on how I can create the variable name for my SQL statement or any other solutions to my problem? Thanks, Jeff - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - Mischa Uppelschoten The Banker's Exchange, Inc. 2020 Hills Avenue NW Atlanta, GA 30318 Phone:(404) 605-0100 ext. 10 Fax:(404) 355-7930 Web:www.BankersX.com Follow this link for Instant Web Chat: http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re[2]: [ACFUG Discuss] Re: [ACFUG Community] Quick (and hopefully simple) question about updating a SQL Server table
Any reason to validate before the cfquery as some suggested or is it just personal preference vs doing in the SQL statement? ** Purely personal, I just like my SQL to look clean. If you have to do this for 30 fields, I'd write a quick function: cffunction name=CleanupVar returntype=string cfargument name=FormValue cfif FormValue EQ cfset NewVal = Null cfreturn x /cffunction and then call it like cfquery... UPDATE MyTable SET MySmallDateTime = #CleanupVar(form.SmallDateTimeValue)# I hope that makes sense. - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re[2]: [ACFUG Discuss] Spawning threads in Coldfusion: making my webapp run faster
I can't speak to the difference between regular frames and iframes, but you got the idea I had. I'm assuming the cfhttp part of CF will attempt to load all those (i)frames at the same time and open up multiple connections. I also assume that much of the wait you're experiencing is due to the remote server processing your request and not your server working hard. Let us know if it worked! /m On 9/8/06, Mischa Uppelschoten ext 10 [EMAIL PROTECTED] wrote: As a low-tech solution, could you write a cfm page with frames that calls other cfm pages in those frames and then cfhttp the top page? /m Intriguing idea... :-) So let's talk about this one... I can create one cfm template that has multiple iframes in it... each iframe would would essentially be a thread I want to spawn, right? Furthermore, each iframe would just be another cfm template, but it has code to go do work (in my case, go find the price of a book), and then save the information to a database. When the page is done loading, all the information will be saved to the database AND, supposedly, this would all run faster because each iframe would be doing its work at the same time as the other iframes. Is the logic correct here? Would the iframes really be doing their work at the same time? (Or should I use traditional frames?) Thoughts? Thanks! -- nathan - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - Mischa Uppelschoten The Banker's Exchange, Inc. 2020 Hills Avenue NW Atlanta, GA 30318 Phone:(404) 605-0100 ext. 10 Fax:(404) 355-7930 Web:www.BankersX.com Follow this link for Instant Web Chat: http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -