Web Service Request using CFHTTP
I'm trying to make a request to a .NET 2 Web Service from CF5 using cfhttp. the soap envelope that i am creating is: cfsavecontent variable=localscope.soapRequest soap:Envelope xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/; soap:Body validate_DPS xmlns=http://tempuri.org/; XMLIn wsihipnewaccount003pAuthCode/pSecFunctionNEWACCOUNT/pSecFunction pHIPAgreeRef7/pHIPAgreeRef/wsihipnewaccount003 /XMLIn /validate_DPS /soap:Body /soap:Envelope /cfsavecontent which constantly returns: Expression An error occured while Parsing an XML document. Premature end of file. when i replace the XML within the XMLIN tags to a simply string x: soap:Envelope xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/; soap:Body validate_DPS xmlns=http://tempuri.org/; XMLIn xx /XMLIn /validate_DPS /soap:Body /soap:Envelope the request makes it to the web service and a get the expected error reply. the CFHTTP code is: cfhttp url=http://development003/DPS/Dps.asmx?WSDL; port=80 method=post cfhttpparam type=Header name=Connection value=Keep-Alive cfhttpparam type=header name=content-type value=text/xml cfhttpparam type=Header name=User-Agent value=Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) cfhttpparam type=Header name=charset value=utf-8 cfhttpparam type=body name=validate_DPS value=#localscope.soapRequest# /cfhttp If anyone could think of any ideas that would be a great help. Thanks Dom Dominic Scanlan Developer telephone: 0870 907 9400 e-mail: [EMAIL PROTECTED] website: www.lms.com HIPs Conveyancing Remortgaging Valuations Legal Marketing Services Ltd. LMS House, Lloyd Drive, Cheshire Oaks Business Park, Cheshire, CH65 9HQ Tel: 0870 907 9400 Fax: 0870 907 9410www.lms.com Registered in England Wales No 4450849 CONFIDENTIALITY NOTICE This communication and the information it contains is intended for the person or organisation to whom it is addressed. Its contents are confidential and may be protected in law. Unauthorised use, copying or disclosure of any of it may be unlawful. If you are not the intended recipient, please contact us immediately. This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306137 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Comparing 2 different chunks of text
Hi all, Is it possible to compare 2 chunk of text and highlight the difference in the second chunk? e.g.cfset textChunk1 = My name is Abi cfset textChunk2 = My name is Abigail today comPareString(textChunk1,textChunk2) The output should then be My name is bAbigail today/b - i.e. Abigail today been highlighted or whatever you want to do with the added text...is there a function in ColdFusion to this? Many thanks, Abi. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306138 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Web Service Request using CFHTTP
I'm trying to make a request to a .NET 2 Web Service from CF5 using cfhttp. the soap envelope that i am creating is: cfsavecontent variable=localscope.soapRequest soap:Envelope xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/; soap:Body validate_DPS xmlns=http://tempuri.org/; XMLIn wsihipnewaccount003pAuthCode/pSecFunctionNEWACCOUNT/pSecFunction pHIPAgreeRef7/pHIPAgreeRef/wsihipnewaccount003 /XMLIn /validate_DPS /soap:Body /soap:Envelope /cfsavecontent which constantly returns: Expression An error occured while Parsing an XML document. Premature end of file. when i replace the XML within the XMLIN tags to a simply string x: soap:Envelope xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/; soap:Body validate_DPS xmlns=http://tempuri.org/; XMLIn xx /XMLIn /validate_DPS /soap:Body /soap:Envelope the request makes it to the web service and a get the expected error reply. the CFHTTP code is: cfhttp url=http://development003/DPS/Dps.asmx?WSDL; port=80 method=post cfhttpparam type=Header name=Connection value=Keep-Alive cfhttpparam type=header name=content-type value=text/xml cfhttpparam type=Header name=User-Agent value=Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) cfhttpparam type=Header name=charset value=utf-8 cfhttpparam type=body name=validate_DPS value=#localscope.soapRequest# /cfhttp If anyone could think of any ideas that would be a great help. Thanks Dom ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306136 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Comparing 2 different chunks of text
chunk comparison Hi all, Is it possible to compare 2 chunk of text and highlight the difference in the second chunk? e.g.cfset textChunk1 = My name is Abi cfset textChunk2 = My name is Abigail today comPareString(textChunk1,textChunk2) The output should then be My name is bAbigail today/b - i.e. Abigail today been highlighted or whatever you want to do with the added text...is there a function in ColdFusion to this? Many thanks, Abi. chunk comparison // just use equality comparison cfif textChunk1 IS textChunk2 The two chucks seem from the same stock. cfelse You're nuts. Just kidding :) /cfif ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306139 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Comparing 2 different chunks of text
// just use equality comparison cfif textChunk1 IS textChunk2 The two chucks seem from the same stock. cfelse You're nuts. Just kidding :) /cfif But using equality will only tell you if they're equal or not e.g. the compare function will only return a -1,0 or 1. I was hoping that there is a function or a UDF out there that will compare two different strings and highlights the different words or character in the second string... hope it makes sense... ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306140 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Problem with onSessionStart
I just checked and don't see it. Can you post it again please? On Tue, May 27, 2008 at 5:21 PM, Carl Von Stetten [EMAIL PROTECTED] wrote: Ray, I did post the entire CFC in my reply to your earlier post. I added the cflog to the OnSessionStart, and if I start my application from a fresh browser window (newly launched), it puts an entry into the log, along with a timestamp. What is this telling me? Raymond Camden wrote: I would keep trying. onSessionStart works. Trust me. So something else is going on instead and it makes sense to keep digging until you find the issue. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306141 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Comparing 2 different chunks of text
He was just being a simple tool. There was no intention of that working. There is nothing built in to do anything like this. You may be able to find a compare/merge command line tool that you can cfexecute... else, in CF... basically what you would have to do is: 1) Remove the parts that DO match since its all you can pinpoint initially By 'remove' I mean extract and replace with a marker and store the removed text in an array so you can put it back where it goes later 2) Then what you have left is only the unmatched words/letters/numbers/punctuation etc... wrap your spanned highlight code around each of those words/numbers/etc... that are left 3) Then put the extracted parts back into their places I can think of a number of weird scenarios to throw a wrench in the 'basic' logic for something like this and foresee it getting rather involved. You'll have to ask yourself if it is worth it or not. ..:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: Abigail Coker [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2008 8:34 AM To: CF-Talk Subject: Re: Comparing 2 different chunks of text // just use equality comparison cfif textChunk1 IS textChunk2 The two chucks seem from the same stock. cfelse You're nuts. Just kidding :) /cfif But using equality will only tell you if they're equal or not e.g. the compare function will only return a -1,0 or 1. I was hoping that there is a function or a UDF out there that will compare two different strings and highlights the different words or character in the second string... hope it makes sense... ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306142 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Comparing 2 different chunks of text
A simple way to do this would be to split the chunk of text on a space, into an array or list. Then loop over that list and compare bit of the string individually. At that point you'd be able to tell where the changes are, if there are any. -Original Message- From: Abigail Coker [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2008 7:34 AM To: CF-Talk Subject: Re: Comparing 2 different chunks of text // just use equality comparison cfif textChunk1 IS textChunk2 The two chucks seem from the same stock. cfelse You're nuts. Just kidding :) /cfif But using equality will only tell you if they're equal or not e.g. the compare function will only return a -1,0 or 1. I was hoping that there is a function or a UDF out there that will compare two different strings and highlights the different words or character in the second string... hope it makes sense... ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306143 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Comparing 2 different chunks of text
A simple way to do this would be to split the chunk of text on a space, into an array or list. Then loop over that list and compare bit of the string individually. At that point you'd be able to tell where the changes are, if there are any. OK thanks guys, I was hoping there was already a solution or function out there. I'll try what you suggested Bob Andy and post it back here if I suceed in solving the probs.. Abi ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306144 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cfoutput in a cfouput
Good morning Chad, Try it without the group attribute in the foo query output. Cheers, Mark Chad Gray wrote: Since when have we been able to nest cfoutputs? I have always thought that you could not do this. Maybe it was a CF4.5/5.0 thing and in never learned it was possible in MX? I just tried this and it works in my CF8 installation: cfoutput query=foo group=id #foo.id#br cfoutput#foo.b#br/cfoutput /cfoutput ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306146 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
cfoutput in a cfouput
Since when have we been able to nest cfoutputs? I have always thought that you could not do this. Maybe it was a CF4.5/5.0 thing and in never learned it was possible in MX? I just tried this and it works in my CF8 installation: cfoutput query=foo group=id #foo.id#br cfoutput#foo.b#br/cfoutput /cfoutput ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306145 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: SSL (HTTPS) Web Service
I'm having the same issue here. Did these posts solve anything for ya Ian? On Thu, Mar 20, 2008 at 9:45 AM, Ian Skinner [EMAIL PROTECTED] wrote: Is there some trick to consuming a web service over HTTPS(SSL) in ColdFusion. I keep getting a Cannot generate stub objects for web service invocation. error when I try to do so. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306147 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: cfoutput in a cfouput
You've always been able to nest outputs when placed within a grouped output. -Original Message- From: Chad Gray [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2008 8:48 AM To: CF-Talk Subject: cfoutput in a cfouput Since when have we been able to nest cfoutputs? I have always thought that you could not do this. Maybe it was a CF4.5/5.0 thing and in never learned it was possible in MX? I just tried this and it works in my CF8 installation: cfoutput query=foo group=id #foo.id#br cfoutput#foo.b#br/cfoutput /cfoutput ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306148 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: SSL (HTTPS) Web Service
Casey Dougall wrote: I'm having the same issue here. Did these posts solve anything for ya Ian? Solve, no. The requirement went away. So I just filed these links away for future reference for the next time I have to deal with this issue. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306149 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Comparing 2 different chunks of text
Hold on-- you had this conversation too early for me to get to work and reply. :) I have a function I wrote a while back to do this. It is a variant of the LCS or Longest Common String method. I found a version online in C called SIFT3 or something and changed it to cfscript. It doesn't perform the best on long strings when you have thousands of them to compare, but at least it could give you something to start with. Give me a minute to post the code somewhere... ~Brad -Original Message- From: Abigail Coker [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2008 8:16 AM To: CF-Talk Subject: Re: Comparing 2 different chunks of text OK thanks guys, I was hoping there was already a solution or function out there. I'll try what you suggested Bob Andy and post it back here if I suceed in solving the probs.. Abi ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306150 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfoutput in a cfouput
On Wed, May 28, 2008 at 6:47 AM, Chad Gray [EMAIL PROTECTED] wrote: Since when have we been able to nest cfoutputs? I have always thought that you could not do this. Maybe it was a CF4.5/5.0 thing and in never learned it was possible in MX? I just tried this and it works in my CF8 installation: cfoutput query=foo group=id #foo.id#br cfoutput#foo.b#br/cfoutput /cfoutput you've always been able to nest cfoutputs within one another when the outer cfoutput made use of the group attribute. i'm pretty sure the docs have always, even back in the day, said something to the effect of you cannot nest cfoutput tags *unless the outermost tag used the group attribute*. as an aside... as of cfmx (i believe), it became possible to do cfoutputcfoutput#now()#/cfoutput/cfoutput. it's not something that i recall ever being announced as a feature ...or bug... it just started working. -- A byte walks into a bar and orders a pint. Bartender asks him What's wrong? Byte says Parity error. Bartender nods and says Yeah, I thought you looked a bit off. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306151 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFHTTP Post
I don't have that access to the server I am hosting the site at Hostek.com. I have a ticket opened with them and waiting to hear back about the below questions. My guess is Yes on the first one, not sure about the second. We actually had this same problem a few months ago when they moved all my eCommerce sites to CF8. The same script would work on CF7 but not CF8 so we moved them back. Now its not working on either. I would hope to get this resolved on CF7 and CF8 so I can use some of the new CF8 functions. This is a nightmare! My biggest clients and my bread and butter isn't making any money. Has anyone here implemented the XML Payment Gateway on CDG and would be willing to send me the code if I don't get this figured out? Rick -Original Message- From: Mark Kruger [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2008 12:50 AM To: CF-Talk Subject: RE: CFHTTP Post Rick, To be clear - using a browser on the server itself (RDP in and open up FF or IE) you can type in the URL and it works - correct? Remember that if you are using a cert that is not in your Java keystore it will need to be added before CFHTTP can handshake properly. -Mark Mark A. Kruger, CFG, MCSE (402) 408-3733 ext 105 www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: Rick [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 27, 2008 11:52 PM To: CF-Talk Subject: RE: CFHTTP Post Sorry, I meant it's just POST that's not working. Rick -Original Message- From: Rick [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 27, 2008 11:51 PM To: 'cf-talk@houseoffusion.com' Subject: RE: CFHTTP Post Yes I can do that without any problems. It's just Get. And https or http... Rick -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 27, 2008 11:47 PM To: CF-Talk Subject: Re: CFHTTP Post Can you successfully do a GET request with no params or headers? On Wed, May 28, 2008 at 12:36 PM, Rick [EMAIL PROTECTED] wrote: I am trying to connect to CDGCommerce using CFHHTP. cfhttp url=https://secure.cdgcommerce.com/cdggateway.cgi; method=POST resolveurl=false throwonerror=Yes cfheader name=httpZip value=no-compression / cfhttpparam type=header name=Accept-Encoding value=* / cfhttpparam type=Header name=TE value=deflate;q=0 /cfhttp This returns Connection Failure: Status code unavailable -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306152 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
digital signatures
Hello folks, I've been working on some simple utilities here at work to convert what people have been doing with paper, yes, that's right some people are still using paper. Now that I've converted a ton of paper to web forms and created pdfs for them along with emails, they've asked me about providing a way to allow them to digitally sign these documents. I'm not sure where to start with all of this and how complicated a task this might be so I thought I'd ask here to see if anyone has any suggestions on where to begin with this. Them are doctors just to clarify a little so I'll be dealing hippa regs on this as well. Any insights, suggestions or feed-back that you can offer on where to start for someone that's never done this before would be greatly appreciated. Thanks! Bob Imperial Department of Medicine 043B Macnider Hall, CB 7005 UNC at Chapel Hill Chapel Hill, NC 27599 Phone: (919) 843-6151 Programming is 10% science, 35% ingenuity and 65% getting the ingenuity to work with the science. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306153 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: digital signatures
On Wednesday 28 May 2008, Imperial, Robert wrote: providing a way to allow them to digitally sign these documents. I'm not PDF supports this (somewhere...) or you can create detached standards compliant signatures with gpg. Depends on the 'why' and if you have any existing PKI infrastructure... -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306154 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ColdFusion Service Startup - Metrics Service is not availabl e
On Tue, May 27, 2008 at 4:50 PM, Dave Watts [EMAIL PROTECTED] wrote: You need to configure your user account to have the required permissions and privileges. Your account must have the log on as a service privilege, read/execute access to your web root directory, and RWXD access to your CF install directory. It looks like it was access to the install directory that was the problem (which was the only thing that changed when upgrading from 7 to 8). Thanks! -- - Scott Brady http://www.scottbrady.net/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306155 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Trapping multiple clicks
What's a good way to prevent a user from running a cfm program over and over if they click a submit button multiple times? For example. a user clicks a submit button for the first time. CFM runs. Then, before it finishes, they click the submit button again. Apart from a cfflush and a please wait message, are there other options to prevent the cfm from running multiple instances? Many thanks! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306156 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Where is cfcookie stored?
I've looked in C:\Documents and Settings\Administrator\Local Settings\Temporary Internet Files, however I can't find the file where the cookie stored. Please advise. Thanks! Unless you specified an EXPIRES attribute, CFCOOKIE creates a session cookie which isn't written to disk. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! Hmmm So if a cfcookie is used for a shopping cart id, and the user's browser crashes, they lose their shopping cart? However if I use the expires attribute, it's written to disk immediately and thus preventing that scenario? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306157 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Trapping multiple clicks
On Wednesday 28 May 2008, Richard Steele wrote: finishes, they click the submit button again. Apart from a cfflush and a please wait message, are there other options to prevent the cfm from running multiple instances? Many thanks! Use JavaScript to disable the button. -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306158 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Trapping multiple clicks
It won't stop multiple instances... But when I ran a system that was prone to multiple clicks, I would check to see if a Using System flag was set in the Database. If it wasn't, then I'd run the process (which first thing it would do would be to set the flag). If it was already set, then I would bypass the whole logic and just return to the form (or close page or whatever). This prevents multiple inputs on the data and doesn't rely on javascript (which some users turn off). The bad part is from a server side of things, this won't help with instances But people rarely hit it a few times if more then once. On Wed, May 28, 2008 at 8:30 AM, Richard Steele [EMAIL PROTECTED] wrote: What's a good way to prevent a user from running a cfm program over and over if they click a submit button multiple times? For example. a user clicks a submit button for the first time. CFM runs. Then, before it finishes, they click the submit button again. Apart from a cfflush and a please wait message, are there other options to prevent the cfm from running multiple instances? Many thanks! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306159 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: cfoutput in a cfouput
But why would you ever want to next cfoutput tags? Rick -Original Message- From: Charlie Griefer [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2008 10:55 AM To: CF-Talk Subject: Re: cfoutput in a cfouput you've always been able to nest cfoutputs within one another when the outer cfoutput made use of the group attribute. i'm pretty sure the docs have always, even back in the day, said something to the effect of you cannot nest cfoutput tags *unless the outermost tag used the group attribute*. as an aside... as of cfmx (i believe), it became possible to do cfoutputcfoutput#now()#/cfoutput/cfoutput. it's not something that i recall ever being announced as a feature ...or bug... it just started working. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306160 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Trapping multiple clicks
Might not help as some users turn off javascript. If you are serious about not duplicating records, then you can't rely on client side processing IMHO. You need some logic on the server side of things. On Wed, May 28, 2008 at 8:37 AM, Tom Chiverton [EMAIL PROTECTED] wrote: Use JavaScript to disable the button. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306161 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Where is cfcookie stored?
For which browser? Cookies are stored by browser. Robert B. Harrison Director of Interactive services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 T : 631.231.6600 Ext. 119 F : 631.434.7022 www.austin-williams.com Great advertising can't be either/or... It must be . ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306162 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Trapping multiple clicks
What's a good way to prevent a user from running a cfm program over and over if they click a submit button multiple times? For example. a user clicks a submit button for the first time. CFM runs. Then, before it finishes, they click the submit button again. Apart from a cfflush and a please wait message, are there other options to prevent the cfm from running multiple instances? Many thanks! try this instead of your submit button: INPUT TYPE=Button VALUE=Submit onClick=if(this.value == 'Submit') {this.value = 'Please Wait.';this.disabled=true;this.form.submit();} / If you're running CF7 or later and CFForm, you can also use cfinput name=whatever type=submit validate=SubmitOnce / Fair warning, both of these methods require that the user has JavaScript activated. hth, larry ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306163 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cfoutput in a cfouput
I can't imagine a scenario where you would. that's why i alluded to the fact that you can now do it (as of MX) as being either a feature or a bug :) But the fact remains that pre-MX it would throw an error, where post-MX it does not. On Wed, May 28, 2008 at 8:37 AM, Rick Faircloth [EMAIL PROTECTED] wrote: But why would you ever want to next cfoutput tags? Rick -Original Message- From: Charlie Griefer [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2008 10:55 AM To: CF-Talk Subject: Re: cfoutput in a cfouput you've always been able to nest cfoutputs within one another when the outer cfoutput made use of the group attribute. i'm pretty sure the docs have always, even back in the day, said something to the effect of you cannot nest cfoutput tags *unless the outermost tag used the group attribute*. as an aside... as of cfmx (i believe), it became possible to do cfoutputcfoutput#now()#/cfoutput/cfoutput. it's not something that i recall ever being announced as a feature ...or bug... it just started working. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306164 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cfoutput in a cfouput
I guess to make things easier for those people just starting out... My god Have I officially passed into Old Time ColdFusion Geezer after 8 years? :) On Wed, May 28, 2008 at 8:41 AM, Charlie Griefer [EMAIL PROTECTED] wrote: I can't imagine a scenario where you would. that's why i alluded to the fact that you can now do it (as of MX) as being either a feature or a bug :) But the fact remains that pre-MX it would throw an error, where post-MX it does not. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306165 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Trapping multiple clicks
You could use a session variable. I play a start up sound on log-in but don't want it playing every time they refresh the main page and a session variable works. Set it to on at log-in time and off after play. Robert B. Harrison Director of Interactive services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 T : 631.231.6600 Ext. 119 F : 631.434.7022 www.austin-williams.com Great advertising can't be either/or... It must be . -Original Message- From: Richard Steele [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2008 11:30 AM To: CF-Talk Subject: Trapping multiple clicks What's a good way to prevent a user from running a cfm program over and over if they click a submit button multiple times? For example. a user clicks a submit button for the first time. CFM runs. Then, before it finishes, they click the submit button again. Apart from a cfflush and a please wait message, are there other options to prevent the cfm from running multiple instances? Many thanks! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306166 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Problem with onSessionStart
Ray, I was having some problems with my email account yesterday. Apparently that post never made it to the forum. Anyway, I'm attaching the current version of my CFC that is working. Thanks, Carl Raymond Camden wrote: I just checked and don't see it. Can you post it again please? On Tue, May 27, 2008 at 5:21 PM, Carl Von Stetten [EMAIL PROTECTED] wrote: Ray, I did post the entire CFC in my reply to your earlier post. I added the cflog to the OnSessionStart, and if I start my application from a fresh browser window (newly launched), it puts an entry into the log, along with a timestamp. What is this telling me? Raymond Camden wrote: I would keep trying. onSessionStart works. Trust me. So something else is going on instead and it makes sense to keep digging until you find the issue. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306167 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Comparing 2 different chunks of text
OK, as promised here it is. http://www.bradwood.com/string_compare/ This is a very crude example, and I'm sure the code can be improved upon, but feel free to use it if you think it will help you. Also, I should clarify... Below I stated that it didn't perform to well when doing thousands of long string compares. That is only half true. It is slower in CF7, but when I ran it on CF8 it KICKED BUTT. I'm talking, a 3 minute page load reduced down to 13 seconds on a SLOWER server. Go CF8! ~Brad -Original Message- From: Brad Wood [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2008 9:50 AM To: CF-Talk Subject: RE: Comparing 2 different chunks of text Hold on-- you had this conversation too early for me to get to work and reply. :) I have a function I wrote a while back to do this. It is a variant of the LCS or Longest Common String method. I found a version online in C called SIFT3 or something and changed it to cfscript. It doesn't perform the best on long strings when you have thousands of them to compare, but at least it could give you something to start with. Give me a minute to post the code somewhere... ~Brad ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306168 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Selecting text between text
Just curious... I'm a bit confused on how to do this and figured someone else may have an idea (if not the code). Sorry if this sounds disjointed. I still have yet to get my coffee this morning. I have the following string... This is a a href=http://www.foobar.com;Link/a to foobar. I would like to pull out the HTML from this statement so that I have This is a Link to foobar. This will also allow me to make a forum widget that allows [url]http://www.foobar.com[/url] to change into a href=http://www.foobar.com;Link/a Any ideas how I can capture the text between the 's and/or the text between the tags? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306169 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFHTTP Post
I have seen similar problems repeatedly with SSL. I had to always load the certificate in the Java Key Store for it to work. You will have to contact the website to which you are attempting to connect and ask them to provide you with their public cert. Then, you will have to load the cert into the Java Key Store: Here is a simple bat script that will do this for you if you use Windows: @echo off echo echo This will import an X.509 SSL certificate into the keystore for the JVM specified echo echo Press Control+C to abort. pause SETLOCAL rem - rem 1) SET COLDFUSION JVM'S JAVA_HOME HERE rem THIS SHOULD BE THE JVM USED FOR COLDFUSION MX rem - set JAVA_HOME=C:\CFusionMX7\runtime\jre rem - rem 2) SET THE CERTIFICATE NAME AND ALIAS HERE rem - set CERT_NAME=C:\temp\YourCertHere.cer set CERT_ALIAS=MyCert rem - rem 3) SET THE KEYTOOL PASSWORD HERE rem - set KEYTOOL_PASS=changeit rem - rem DO NOT EDIT BELOW THIS LINE rem - set JAVA_SECURITY=%JAVA_HOME%\lib\security set CERT=%CERT_NAME% %JAVA_HOME%\bin\keytool -import -trustcacerts -keystore %JAVA_SECURITY%\cacerts -storepass %KEYTOOL_PASS% -noprompt -alias %CERT_ALIAS% -file %CERT% ENDLOCAL pause ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306170 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: cfoutput in a cfouput
Hate to break it to you...but you've been in the Geezer category for a couple of years now. :oP Rick -Original Message- From: Phillip Vector [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2008 11:45 AM To: CF-Talk Subject: Re: cfoutput in a cfouput I guess to make things easier for those people just starting out... My god Have I officially passed into Old Time ColdFusion Geezer after 8 years? :) ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306171 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Selecting text between text
Just curious... I'm a bit confused on how to do this and figured someone else may have an idea (if not the code). Sorry if this sounds disjointed. I still have yet to get my coffee this morning. I have the following string... This is a a href=http://www.foobar.com;Link/a to foobar. I would like to pull out the HTML from this statement so that I have This is a Link to foobar. This will also allow me to make a forum widget that allows [url]http://www.foobar.com[/url] to change into a href=http://www.foobar.com;Link/a Any ideas how I can capture the text between the 's and/or the text between the tags? You want a regular expression that will strip HTML tags. Personally, I'm no whiz with regular expressions; they give me a headache. However, if you Google regex strip html you'll find several viable options. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306172 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CFHTTP Post
I am going to get that information and give it try, thanks! But I am unable to connect using POST to any site with or out without SSL. Rick -Original Message- From: Ci James [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2008 11:00 AM To: CF-Talk Subject: Re: CFHTTP Post I have seen similar problems repeatedly with SSL. I had to always load the certificate in the Java Key Store for it to work. You will have to contact the website to which you are attempting to connect and ask them to provide you with their public cert. Then, you will have to load the cert into the Java Key Store: Here is a simple bat script that will do this for you if you use Windows: @echo off echo echo This will import an X.509 SSL certificate into the keystore for the JVM specified echo echo Press Control+C to abort. pause SETLOCAL rem - rem 1) SET COLDFUSION JVM'S JAVA_HOME HERE rem THIS SHOULD BE THE JVM USED FOR COLDFUSION MX rem - set JAVA_HOME=C:\CFusionMX7\runtime\jre rem - rem 2) SET THE CERTIFICATE NAME AND ALIAS HERE rem - set CERT_NAME=C:\temp\YourCertHere.cer set CERT_ALIAS=MyCert rem - rem 3) SET THE KEYTOOL PASSWORD HERE rem - set KEYTOOL_PASS=changeit rem - rem DO NOT EDIT BELOW THIS LINE rem - set JAVA_SECURITY=%JAVA_HOME%\lib\security set CERT=%CERT_NAME% %JAVA_HOME%\bin\keytool -import -trustcacerts -keystore %JAVA_SECURITY%\cacerts -storepass %KEYTOOL_PASS% -noprompt -alias %CERT_ALIAS% -file %CERT% ENDLOCAL pause ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306173 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFHTTP Post
I have seen similar problems repeatedly with SSL. I had to always load the certificate in the Java Key Store for it to work. You will have to contact the website to which you are attempting to connect and ask them to provide you with their public cert. You don't have to contact the website. All you have to do is visit it with a browser. Your browser will download the certificate, and let you store it. In IE 7, you can do this by clicking on the lock icon, choosing view certificates, then using the save to file option in the Details tab of the certificate tab dialog box. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306174 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Where is cfcookie stored?
Hmmm So if a cfcookie is used for a shopping cart id, and the user's browser crashes, they lose their shopping cart? However if I use the expires attribute, it's written to disk immediately and thus preventing that scenario? Yes to both questions. However, the likelihood of the user's browser crashing is probably lower than the likelihood that they won't accept persistent cookies. I would recommend the use of nonpersistent session cookies. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306175 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Problem with onSessionStart
Ray, Apparently putting the contents inline and sending from my email client isn't working, so I'll try through the web interface. Here are the contents (note the last two functions are commented out as I haven't implemented them yet: cfcomponent displayname=Application output=true hint=Handle the application. !--- Set up the application. --- cfset THIS.Name = cccsd_tracker / cfset THIS.ApplicationTimeout = CreateTimeSpan( 1, 0, 0, 0 ) / cfset THIS.SessionManagement = true / cfset THIS.SessionTimeout = CreateTimeSpan(0, 2, 0, 0) / cfset THIS.SetClientCookies = false / cfset THIS.ClientManagement = false / !--- Define the page request properties. --- cfsetting requesttimeout=20 showdebugoutput=true enablecfoutputonly=false / cffunction name=OnApplicationStart access=public returntype=boolean output=false hint=Fires when the application is first created. cfscript // Datasources structure application.DS = StructNew(); application.DS.GeoMediaRW = GeoMediaRW; application.DS.ESGTracking = ESGTracking; // AsBuilts paths structure application.AsBuiltsPath = StructNew(); application.AsBuiltsPath.URL = esg-snap\\As_Builts\\; application.AsBuiltsPath.File = \\esg-snap\As_Builts\; // Temporary upload folder for as-built scans if (LCase(CGI.SERVER_NAME) EQ localhost) application.uploadTemp_Folder = C:\Temp\uploads\; else application.uploadTemp_Folder = D:\uploads\; // mainURL is the correct http prefix for the web site. This variable // resolves having to change hard-coded http addresses on pages when switching // between development workstation and production server if (LCase(CGI.SERVER_NAME) EQ localhost) application.mainURL = http://localhost/bd7/esgtracking/;; else application.mainURL = http://esgtracking/;; // Track number of open sessions application.sessions = 0; /cfscript !--- Return out. --- cfreturn true / /cffunction cffunction name=OnSessionStart access=public returntype=void output=false hint=Fires when the session is first created. !--- Instantiate the RecordDrawings.cfc into session.rd variable --- cfset session.rd = createObject(component,cfc.RecordDrawings).init(application.DS.ESGTracking) !--- Increment the number of open sessions --- cflock scope=application timeout=5 type=exclusive cfset application.sessions = application.sessions + 1 /cflock /cffunction cffunction name=OnRequestStart access=public returntype=boolean output=false hint=Fires at first part of page processing. !--- Define arguments. --- cfargument name=TargetPage type=string required=true / !--- If URL parameter restart=true is passed, reinitialize application and session variables --- cfif (UCase(Right(CGI.SCRIPT_NAME,3)) EQ CFM) AND (UCase(CGI.SCRIPT_NAME) DOES NOT CONTAIN /TESTING/) AND FindNoCase(restart=true,CGI.QUERY_STRING) cfset OnApplicationStart() cfset OnSessionStart() /cfif !--- If the TargetPage is a CFC, its a web service request and the request scope must be removed in order for the web service to properly return data to the requestor --- cfif LCase(Right(ARGUMENTS.TargetPage,3)) EQ CFC cfset StructDelete(THIS,OnRequest) /cfif !--- Return out. --- cfreturn true /
RE: cfoutput in a cfouput
Since when have we been able to nest cfoutputs? I have always thought that you could not do this. Maybe it was a CF4.5/5.0 thing and in never learned it was possible in MX? I just tried this and it works in my CF8 installation: cfoutput query=foo group=id #foo.id#br cfoutput#foo.b#br/cfoutput /cfoutput You have been able to nest CFOUTPUTs using the GROUP attribute since version 2, at least. You can now nest CFOUTPUTs generally since version 6, I believe. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306177 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfoutput in a cfouput
My god Have I officially passed into Old Time ColdFusion Geezer after 8 years? :) Ha! Look here sonny. Back in my day when we wanted to query a database we did it by rubbing two sticks together. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306178 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cfoutput in a cfouput
BAH!!! Heh.. I caught myself thinking Back during ColdFusion 5, I learned the hard way not to nest cfoutputs... These kids today have it easy. :) On Wed, May 28, 2008 at 9:07 AM, Rick Faircloth [EMAIL PROTECTED] wrote: Hate to break it to you...but you've been in the Geezer category for a couple of years now. :oP ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306179 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Selecting text between text
Cool. Found a bit of code to do basically what I wanted. Thanks. :) On Wed, May 28, 2008 at 9:12 AM, Dave Watts [EMAIL PROTECTED] wrote: Just curious... I'm a bit confused on how to do this and figured someone else may have an idea (if not the code). Sorry if this sounds disjointed. I still have yet to get my coffee this morning. I have the following string... This is a a href=http://www.foobar.com;Link/a to foobar. I would like to pull out the HTML from this statement so that I have This is a Link to foobar. This will also allow me to make a forum widget that allows [url]http://www.foobar.com[/url] to change into a href=http://www.foobar.com;Link/a Any ideas how I can capture the text between the 's and/or the text between the tags? You want a regular expression that will strip HTML tags. Personally, I'm no whiz with regular expressions; they give me a headache. However, if you Google regex strip html you'll find several viable options. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306180 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Selecting text between text
Phillip - Well, for the first part of your question, the following regex will remove all the html from a string: cfset blah = reReplaceNoCase(some_html,/?[^]*,,all) / Thanks! Ryan Phillip Vector wrote: Just curious... I'm a bit confused on how to do this and figured someone else may have an idea (if not the code). Sorry if this sounds disjointed. I still have yet to get my coffee this morning. I have the following string... This is a a href=http://www.foobar.com;Link/a to foobar. I would like to pull out the HTML from this statement so that I have This is a Link to foobar. This will also allow me to make a forum widget that allows [url]http://www.foobar.com[/url] to change into a href=http://www.foobar.com;Link/a Any ideas how I can capture the text between the 's and/or the text between the tags? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306181 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Selecting text between text
Thanks. :) On Wed, May 28, 2008 at 9:27 AM, Ryan J. Heldt [EMAIL PROTECTED] wrote: Phillip - Well, for the first part of your question, the following regex will remove all the html from a string: cfset blah = reReplaceNoCase(some_html,/?[^]*,,all) / Thanks! Ryan Phillip Vector wrote: Just curious... I'm a bit confused on how to do this and figured someone else may have an idea (if not the code). Sorry if this sounds disjointed. I still have yet to get my coffee this morning. I have the following string... This is a a href=http://www.foobar.com;Link/a to foobar. I would like to pull out the HTML from this statement so that I have This is a Link to foobar. This will also allow me to make a forum widget that allows [url]http://www.foobar.com[/url] to change into a href=http://www.foobar.com;Link/a Any ideas how I can capture the text between the 's and/or the text between the tags? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306182 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: digital signatures
I've been working on some simple utilities here at work to convert what people have been doing with paper, yes, that's right some people are still using paper. Now that I've converted a ton of paper to web forms and created pdfs for them along with emails, they've asked me about providing a way to allow them to digitally sign these documents. I'm not sure where to start with all of this and how complicated a task this might be so I thought I'd ask here to see if anyone has any suggestions on where to begin with this. Them are doctors just to clarify a little so I'll be dealing hippa regs on this as well. Any insights, suggestions or feed-back that you can offer on where to start for someone that's never done this before would be greatly appreciated. PDF supports digital signatures to sign and certify documents. Certification prevents the document from being changed; if the document is changed, the certification breaks. Signing simply attests that the user with that certificate did in fact interact with that document at a specific time, providing nonrepudiation, etc. To use digital signatures, each signer will have to have a certificate installed locally. You can either purchase individual certificates for your users, or you can create a certificate infrastructure. Your certificate infrastructure can be completely internal, or it can be based upon a root certificate from a public certificate vendor like Verisign. If your certificate infrastructure doesn't have a public root certificate from a third-party vendor, you will be able to verify signatures within your organization, but when you pass a signed PDF to someone outside your organization the certificate will not verify for those external users - it'll still show the document as signed, but the signature itself will be unverifiable. If you have a Windows server infrastructure (AD, etc), you can add a certificate authority (CA) server to that fairly easily. This will allow you to generate and issue client certificates to all your users very easily. If you have a fairly small number of users, you could simply purchase individual certificates for them to use directly. These are about $20 per user per year. Verisign has a specific certificate product for PDF signing. You can build a server interface for programmatically signing PDFs using the Adobe LiveCycle ES rights management server. This can be integrated with other LiveCycle products to build a workflow process that includes digital signatures. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306183 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Where is cfcookie stored?
If you are using a data base for client variables they also work well for shopping carts. If you're writing client variables to the registry... no no. I've used client variables for shopping carts with a simple CFID and that worked well. Robert B. Harrison Director of Interactive services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 T : 631.231.6600 Ext. 119 F : 631.434.7022 www.austin-williams.com Great advertising can't be either/or... It must be . -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2008 12:22 PM To: CF-Talk Subject: RE: Where is cfcookie stored? Hmmm So if a cfcookie is used for a shopping cart id, and the user's browser crashes, they lose their shopping cart? However if I use the expires attribute, it's written to disk immediately and thus preventing that scenario? Yes to both questions. However, the likelihood of the user's browser crashing is probably lower than the likelihood that they won't accept persistent cookies. I would recommend the use of nonpersistent session cookies. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306184 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Selecting text between text
When you strip via Regex you will either restrict your input to the start of the anchor tag or deal with the end result one more time. I normally prefer to get the content of the href attribute. You can get the href content using this type of construct: sURL = ListGetAt(FullUrl,2,); where FullURL is your a href=http://www.foobar.com;Link/a Cheers, Bilal ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306185 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFPOP Inquiry
Graham, we had occasional trouble with cfpop, especially connecting to Lotus Notes. In those circumstances we have used an alternate plug in (CFX_POP3), cost about $50 successfully. Cheers, Bilal ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306186 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Web Service Request using CFHTTP
Dom, a while back when using CF5 we also used a framework for soap that had all the parts build in UDFs. (http://www.fusionauthority.com/tech-and-tags/3058-whats-new-in-the-tag-gallery.htm) This may be helpful for you to review. Cheers, Bilal ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306187 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Problem with onSessionStart
So my number one tip is to simplify. Remove 100% of the stuff you don't need for right now. All the stuff in onRequestStart, shoot, remove all the methods except onSessionStart. Make the CFC as simple as possible and just ensure you can dump the CFC in the session scope. On Wed, May 28, 2008 at 11:19 AM, Carl Von Stetten [EMAIL PROTECTED] wrote: Ray, Apparently putting the contents inline and sending from my email client isn't working, so I'll try through the web interface. Here are the contents (note the last two functions are commented out as I haven't implemented them yet: cfcomponent displayname=Application output=true hint=Handle the application. !--- Set up the application. --- cfset THIS.Name = cccsd_tracker / cfset THIS.ApplicationTimeout = CreateTimeSpan( 1, 0, 0, 0 ) / cfset THIS.SessionManagement = true / cfset THIS.SessionTimeout = CreateTimeSpan(0, 2, 0, 0) / cfset THIS.SetClientCookies = false / cfset THIS.ClientManagement = false / !--- Define the page request properties. --- cfsetting requesttimeout=20 showdebugoutput=true enablecfoutputonly=false -- === Raymond Camden, VP of Software Dev, Broadchoice Email : [EMAIL PROTECTED] Blog : www.coldfusionjedi.com AOL IM : cfjedimaster Keep up to date with the community: http://www.coldfusionbloggers.org ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306188 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: digital signatures
Thanks Dave this is exactly the kind of kick-start I need on this as it is all new to me at this point. These utilities are running on windows server 2003 standard w/CF7 standard at the moment. I have full access to the box so this should help speed things along for me I would think. Currently I have 107 users/physicians using these utilities and I don't see that list getting much longer for now. Any suggested reading on this would help out here as well since I am so new to this, so anything you can recommend would be a good thing. Thanks! Bob PDF supports digital signatures to sign and certify documents. Certification prevents the document from being changed; if the document is changed, the certification breaks. Signing simply attests that the user with that certificate did in fact interact with that document at a specific time, providing nonrepudiation, etc. To use digital signatures, each signer will have to have a certificate installed locally. You can either purchase individual certificates for your users, or you can create a certificate infrastructure. Your certificate infrastructure can be completely internal, or it can be based upon a root certificate from a public certificate vendor like Verisign. If your certificate infrastructure doesn't have a public root certificate from a third-party vendor, you will be able to verify signatures within your organization, but when you pass a signed PDF to someone outside your organization the certificate will not verify for those external users - it'll still show the document as signed, but the signature itself will be unverifiable. If you have a Windows server infrastructure (AD, etc), you can add a certificate authority (CA) server to that fairly easily. This will allow you to generate and issue client certificates to all your users very easily. If you have a fairly small number of users, you could simply purchase individual certificates for them to use directly. These are about $20 per user per year. Verisign has a specific certificate product for PDF signing. You can build a server interface for programmatically signing PDFs using the Adobe LiveCycle ES rights management server. This can be integrated with other LiveCycle products to build a workflow process that includes digital signatures. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306189 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CFHTTP Post
I got a response from Hostek and its now working but they haven't told me what they did to fix the problem. I am also able to get it to work on a CF8 server also... I am waiting for them to tell me what they did to fix it and I will post it. Thanks everyone! Rick -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2008 11:20 AM To: CF-Talk Subject: RE: CFHTTP Post I have seen similar problems repeatedly with SSL. I had to always load the certificate in the Java Key Store for it to work. You will have to contact the website to which you are attempting to connect and ask them to provide you with their public cert. You don't have to contact the website. All you have to do is visit it with a browser. Your browser will download the certificate, and let you store it. In IE 7, you can do this by clicking on the lock icon, choosing view certificates, then using the save to file option in the Details tab of the certificate tab dialog box. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306190 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Cold Fusion 8 multi-tier set up
Hey all, I am having some trouble with an install. We have an Apache Web Server set up with Linux. We have set up a virtual machine to run Cold Fusion. We have run through the multi-server configuration but when we get to choosing a web server, we are running into issues. We can not run the web server locally because we already have a web server out there that runs Apache. However, we can not get Cold Fusion to see the web server because we can not get to the config files in Linux. Is this type of multi-tier set up even possible with Cold Fusion? Thanks, Matt ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306191 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Cold Fusion 8 multi-tier set up
I am having some trouble with an install. We have an Apache Web Server set up with Linux. We have set up a virtual machine to run Cold Fusion. We have run through the multi-server configuration but when we get to choosing a web server, we are running into issues. We can not run the web server locally because we already have a web server out there that runs Apache. However, we can not get Cold Fusion to see the web server because we can not get to the config files in Linux. Is this type of multi-tier set up even possible with Cold Fusion? You must run the web server configuration tool from the machine that hosts your web server. It can connect to a remote CF server, as long as the appropriate JNDI ports are not blocked. You might be better off running a web server in your VM, though, and using Apache as a reverse proxy to forward requests to that web server. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306192 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Selecting text between text
This will strip the link tags from around text contained in variable mytext: cfset newtext = rereplacenocase(mytext,(a [^]*)([^]*)(/a),\2,all) / cfoutput#newtext#/cfoutput Using back-references, \2 refers to the text between the a/a tags. I believe that \1 would refer to the a tag and associated attributes. \3 would refer to the /a tag. Cheers, Kris I have the following string... This is a a href=http://www.foobar.com;Link/a to foobar. I would like to pull out the HTML from this statement so that I have This is a Link to foobar. This will also allow me to make a forum widget that allows [url]http://www.foobar.com[/url] to change into a href=http://www.foobar.com;Link/a Any ideas how I can capture the text between the 's and/or the text between the tags? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306193 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Problem with onSessionStart
Ray, Thanks again for your suggestions. I found the problem in one of the security-related include files that was performing a StructClear on my session scope. I fixed that code, and now my CFC is loading into the session scope just fine. Carl Raymond Camden wrote: So my number one tip is to simplify. Remove 100% of the stuff you don't need for right now. All the stuff in onRequestStart, shoot, remove all the methods except onSessionStart. Make the CFC as simple as possible and just ensure you can dump the CFC in the session scope. On Wed, May 28, 2008 at 11:19 AM, Carl Von Stetten [EMAIL PROTECTED] wrote: Ray, Apparently putting the contents inline and sending from my email client isn't working, so I'll try through the web interface. Here are the contents (note the last two functions are commented out as I haven't implemented them yet: cfcomponent displayname=Application output=true hint=Handle the application. !--- Set up the application. --- cfset THIS.Name = cccsd_tracker / cfset THIS.ApplicationTimeout = CreateTimeSpan( 1, 0, 0, 0 ) / cfset THIS.SessionManagement = true / cfset THIS.SessionTimeout = CreateTimeSpan(0, 2, 0, 0) / cfset THIS.SetClientCookies = false / cfset THIS.ClientManagement = false / !--- Define the page request properties. --- cfsetting requesttimeout=20 showdebugoutput=true enablecfoutputonly=false ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306194 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
USAePay.com SOAP API? Anyone using it?
I'm totally stuck. USAePay has a API that list with a shit load of coldfusion examples that do squat. I ask them about it, and they are like, yeah those work for simple transactions. I'm like ok, I'll use the SOAP api instead... I tried cfinvoke no luck... Cannot generate stub objects for web service invocation. I'm trying cfhttp with a xml document but that doesn't seem to be passing back the correct data. When I dump the results it just seems to be the whole api in dump format. If you are using this soap api in one way or another (wsdl) version, could you please with muffins on top, post a sample call to the api and what happens with the returned information. Thanks -- Casey ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306195 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
SOT: pastebin.com - Tool for posting/sharing code - collaborative debugging
I see a lot of people posting code and/or having problems doing so (like Carl was having today) and I thought I would share this little nugget of joy: http://pastebin.com/ They describe themselves as being a collaborative debugging tool Basically it a site that allows you to post code and creates a unique URL so you can share it with other people. It has Syntax highlighting for about 60-70 languages (including CF) as well as line numbers and the ability to highlight certain lines of code. No I don't have anything to do with the site, it is just a great tool and I wanted to share it with others. G ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306196 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: SOT: pastebin.com - Tool for posting/sharing code - collaborative debugging
Gerald, Thanks. That would have been very handy indeed! I'll try and use it next time I have to post more than a few lines of code. Carl Gerald Guido wrote: I see a lot of people posting code and/or having problems doing so (like Carl was having today) and I thought I would share this little nugget of joy: http://pastebin.com/ They describe themselves as being a collaborative debugging tool Basically it a site that allows you to post code and creates a unique URL so you can share it with other people. It has Syntax highlighting for about 60-70 languages (including CF) as well as line numbers and the ability to highlight certain lines of code. No I don't have anything to do with the site, it is just a great tool and I wanted to share it with others. G ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306197 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Cold Fusion 8 multi-tier set up
Thanks for the info Dave. I will look into using reverse proxy. -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2008 12:59 PM To: CF-Talk Subject: RE: Cold Fusion 8 multi-tier set up I am having some trouble with an install. We have an Apache Web Server set up with Linux. We have set up a virtual machine to run Cold Fusion. We have run through the multi-server configuration but when we get to choosing a web server, we are running into issues. We can not run the web server locally because we already have a web server out there that runs Apache. However, we can not get Cold Fusion to see the web server because we can not get to the config files in Linux. Is this type of multi-tier set up even possible with Cold Fusion? You must run the web server configuration tool from the machine that hosts your web server. It can connect to a remote CF server, as long as the appropriate JNDI ports are not blocked. You might be better off running a web server in your VM, though, and using Apache as a reverse proxy to forward requests to that web server. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306198 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Selecting text between text
Feel free to download cf4em (http://cf4em.com) and use whatever you can or want from the BBML parser. You will find it in /inc/parsebbml.cfm It can turn http://exampleurl.com into a href=http://exampleurl.com; title= http://exampleurl.com target=_blank http://exampleurl.com /a It can do the same for email addresses It can turn [url=http://exampleurl.com] Link Text [/url] into a href=http://exampleurl.com; title=Link Text target=_blankLink Text/a and tons more ..:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: Phillip Vector [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2008 11:56 AM To: CF-Talk Subject: Selecting text between text Just curious... I'm a bit confused on how to do this and figured someone else may have an idea (if not the code). Sorry if this sounds disjointed. I still have yet to get my coffee this morning. I have the following string... This is a a href=http://www.foobar.com;Link/a to foobar. I would like to pull out the HTML from this statement so that I have This is a Link to foobar. This will also allow me to make a forum widget that allows [url]http://www.foobar.com[/url] to change into a href=http://www.foobar.com;Link/a Any ideas how I can capture the text between the 's and/or the text between the tags? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306199 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Comparing 2 different chunks of text
Bobby Hartsfield -- a dispicalbe being He was just being a simple tool. There was no intention of that working. There is nothing built in to do anything like this. You may be able to find a compare/merge command line tool that you can cfexecute... else, in CF... basically what you would have to do is: 1) Remove the parts that DO match since its all you can pinpoint initially By 'remove' I mean extract and replace with a marker and store the removed text in an array so you can put it back where it goes later 2) Then what you have left is only the unmatched words/letters/numbers/punctuation etc... wrap your spanned highlight code around each of those words/numbers/etc... that are left 3) Then put the extracted parts back into their places I can think of a number of weird scenarios to throw a wrench in the 'basic' logic for something like this and foresee it getting rather involved. You'll have to ask yourself if it is worth it or not. .:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com Bobby Hartsfield -- a dispicalbe being I tried to put up with your crap before, but enough, you are nothing but a dispicalbe being. Try to remember this, anything I post DON'T FOLLOW UP. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306200 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Comparing 2 different chunks of text
I tried to put up with your crap before, but enough, you are nothing but a dispicalbe being. Try to remember this, anything I post DON'T FOLLOW UP. Don L, Can he follow up if only to point out your spelling errors? Will ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306201 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Application scope access under a mapped directory
I have an application that onRequestStart is setting an application scoped variable which needs to be accessed by another page that isn't located in the same directory as the app e.g. location of app: c:\webroot\myapp and location of file that needs to access app c:\webroot\common\fckeditor. I do have the common directory mapped in cfide /myapp/common/fckeditor/ which i wanted to do for reusability of the code. It seems however that from cfm files in the fckeditor dir they are not under the application. (even though it is mapped to be under it.) Am I correct to believe that application.cfm/cfc does not respect coldfusion mappings when determining which files are in that application and instead only relies on the physical path? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306202 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Comparing 2 different chunks of text
I wasn't 'following up' for you or to you... I was actually giving a legitimate reply to offer some ideas to the original poster and to point out that you were not serious since they obviously thought you were. Like most people here (and a couple other places), the last thing I wanted to do was talk to you directly... it's why most of your posts lack resolution. If you can't take a small joke then don't be such a prick all of the time... or simple tool as it were. ..:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: Don L [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2008 6:33 PM To: CF-Talk Subject: Re: Comparing 2 different chunks of text Bobby Hartsfield -- a dispicalbe being He was just being a simple tool. There was no intention of that working. There is nothing built in to do anything like this. You may be able to find a compare/merge command line tool that you can cfexecute... else, in CF... basically what you would have to do is: 1) Remove the parts that DO match since its all you can pinpoint initially By 'remove' I mean extract and replace with a marker and store the removed text in an array so you can put it back where it goes later 2) Then what you have left is only the unmatched words/letters/numbers/punctuation etc... wrap your spanned highlight code around each of those words/numbers/etc... that are left 3) Then put the extracted parts back into their places I can think of a number of weird scenarios to throw a wrench in the 'basic' logic for something like this and foresee it getting rather involved. You'll have to ask yourself if it is worth it or not. .:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com Bobby Hartsfield -- a dispicalbe being I tried to put up with your crap before, but enough, you are nothing but a dispicalbe being. Try to remember this, anything I post DON'T FOLLOW UP. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306203 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4