Re: Random errors from CFHTTP sending XML documents

2009-12-16 Thread Ben Nadel
I am also just getting this error on CF7. Starts happening after a random number of records that are sent. Did you ever get to the bottom of this? -Ben I have a couple of CF scripts that send out an XML doc to various webservices (Google AdWords, for example). Usually they all run just

Re: ColdFusion Builder what have I done?

2009-07-19 Thread Ben Nadel
HomeSite has that too. There was a button called Show Hidden Characters, which looked like a paragraph symbol.. -Ben -- Ben Nadel Adobe Community Expert Adobe Certified Advanced ColdFusion Developer Manager New York ColdFusion User Group http://www.bennadel.com Need ColdFusion Help? http

Re: ColdFusion Builder what have I done?

2009-07-19 Thread Ben Nadel
Window-Preferences-General-Editors-Text Editors-Show Whitespace Characters (checkbox). -- Ben Nadel Adobe Community Expert Adobe Certified Advanced ColdFusion Developer Manager New York ColdFusion User Group http://www.bennadel.com Need ColdFusion Help? http://www.bennadel.com/Ask-Ben

Re: client holding open a connection

2009-06-15 Thread Ben Nadel
Funky stuff. I always just assumed that the server sends off the content and then closes the response regardless of what the client is doing (otherwise, how would the server know if the client closed the page half way through page load). I know very little about server internals. -Ben -- Ben

Re: client holding open a connection

2009-06-12 Thread Ben Nadel
Michael, I'm not sure I understand? You mean like after the bot gets the first chunk of content, it somehow refuses to get the rest? -- Ben Nadel Adobe Community Expert Adobe Certified Advanced ColdFusion Developer Manager New York ColdFusion User Group http://www.bennadel.com Need

Re: Simple regex question

2009-06-10 Thread Ben Nadel
Try this: ^$|^[\w]{17}$ -Ben -- Ben Nadel Adobe Community Expert Adobe Certified Advanced ColdFusion Developer Manager New York ColdFusion User Group http://www.bennadel.com Need ColdFusion Help? http://www.bennadel.com/Ask-Ben

Re: Simple regex question

2009-06-10 Thread Ben Nadel
Ha ha, most agreed :) -- Ben Nadel Adobe Community Expert Adobe Certified Advanced ColdFusion Developer Manager New York ColdFusion User Group http://www.bennadel.com Need ColdFusion Help? http://www.bennadel.com/Ask-Ben

Re: Simple regex question

2009-06-10 Thread Ben Nadel
I have to plead ignorance on this one - I don't know what a VIN number is. -- Ben Nadel Adobe Community Expert Adobe Certified Advanced ColdFusion Developer Manager New York ColdFusion User Group http://www.bennadel.com Need ColdFusion Help? http://www.bennadel.com/Ask-Ben

Re: Simple regex question

2009-06-10 Thread Ben Nadel
\w should handle both alpha and numeric data. I am not sure why mine was failing. -Ben -- Ben Nadel Adobe Community Expert Adobe Certified Advanced ColdFusion Developer Manager New York ColdFusion User Group http://www.bennadel.com Need ColdFusion Help? http://www.bennadel.com/Ask-Ben

Re: Nested loop problems

2009-05-22 Thread Ben Nadel
Ryan, To do that, you have to refer to the outer loop's explicit row: http://www.bennadel.com/blog/546-Referring-To-The-Proper-Row-Of-The-Outer-CFLoop-With-Nested-CFLoops-.htm This has been fixed in ColdFusion 8. -Ben -- Ben Nadel Adobe Community Expert Adobe Certified Advanced ColdFusion

Re: Session variable wierdness

2009-05-04 Thread Ben Nadel
-Management-And-Asynchronous-Page-Requests.htm Good luck! -- Ben Nadel Adobe Community Expert Adobe Certified Advanced ColdFusion Developer Manager New York ColdFusion User Group http://www.bennadel.com Need ColdFusion Help? http://www.bennadel.com/Ask-Ben

Re: list question

2009-05-01 Thread Ben Nadel
Scott, How are you maintaining the list from page to page? Are you caching it somewhere? Or passing is via the URLs? -- Ben Nadel Adobe Community Expert Adobe Certified Advanced ColdFusion Developer Manager New York ColdFusion User Group http://www.bennadel.com Need ColdFusion Help? http

Re: list question

2009-05-01 Thread Ben Nadel
Scott, If you are storing the list in session vars, I would suggest storing it as an Array since array index access is MUCH faster than list index access. The same index logic can be applied. -- Ben Nadel Adobe Community Expert Adobe Certified Advanced ColdFusion Developer Manager New York

Re: Accessing XML Node problem

2009-04-30 Thread Ben Nadel
Lance, maybe its cause the doctype (?xml version=1.0 encoding=UTF-8?) is in between the XMP and the QRY element. Try removing that - i don't think it should be there. -- Ben Nadel Adobe Community Expert Adobe Certified Advanced ColdFusion Developer Manager New York ColdFusion User Group http

Re: scheduler problem

2009-04-28 Thread Ben Nadel
I would recommend hitting the page via CFHTTP and see what's in the response. I believe that CFHTTP is the same mechanism through which the ColdFusion Admin actually runs scheduled tasks. -- Ben Nadel Adobe Community Expert Adobe Certified Advanced ColdFusion Developer Manager New York

Re: scheduler problem

2009-04-28 Thread Ben Nadel
Does your page require any sort of login? The schedule does not send any cookies AND it sends ColdFusion as the user agent. If you do any sort of checking on that sort of thing, the script wont execute properly. -- Ben Nadel Adobe Community Expert Adobe Certified Advanced ColdFusion Developer

Re: scheduler problem

2009-04-28 Thread Ben Nadel
Ian, I've never used that feature. It sounds really useful! I will have to look into it. -- Ben Nadel Adobe Community Expert Adobe Certified Advanced ColdFusion Developer Manager New York ColdFusion User Group http://www.bennadel.com Need ColdFusion Help? http://www.bennadel.com/Ask-Ben

Re: Creating a dynamic variable to for storage

2009-04-22 Thread Ben Nadel
Wrap the whole variable name in quotes: cfset filename#i# = #filename# -- Ben Nadel Adobe Community Expert Adobe Certified Advanced ColdFusion Developer Manager New York ColdFusion User Group http://www.bennadel.com Need ColdFusion Help? http://www.bennadel.com/Ask-Ben

Re: OnRequest and session timeout

2009-04-21 Thread Ben Nadel
Priya, I am not sure what you mean when you say a page has timedout? Do you mean that ColdFusion has thrown a timeout error? -- Ben Nadel Adobe Community Expert Adobe Certified Advanced ColdFusion Developer Manager New York ColdFusion User Group http://www.bennadel.com Need ColdFusion Help

Re: Anyone heard of CF_WordCount?

2009-04-21 Thread Ben Nadel
Ryan, On CF8 you could try something like this: ArrayLen( REMatch( \b\w+\b, YOUR_TEXT_VALUE ) ) -- Ben Nadel Adobe Community Expert Adobe Certified Advanced ColdFusion Developer Manager New York ColdFusion User Group http://www.bennadel.com Need ColdFusion Help? http://www.bennadel.com/Ask

Re: OnRequest and session timeout

2009-04-21 Thread Ben Nadel
on Application.cfc. Try taking a look at this: http://www.bennadel.com/blog/726-ColdFusion-Application-cfc-Tutorial-And-Application-cfc-Reference.htm Cheers. -- Ben Nadel Adobe Community Expert Adobe Certified Advanced ColdFusion Developer Manager New York ColdFusion User Group http

Re: Session issues - In words of one syllable please :-)

2009-04-17 Thread Ben Nadel
I finally figured it out!-- Ben Nadel Adobe Community Expert Adobe Certified Advanced ColdFusion Developer Manager New York ColdFusion User Group http://www.bennadel.com Need ColdFusion Help? http://www.bennadel.com/Ask-Ben

Re: multiple cfapplications

2009-04-17 Thread Ben Nadel
, if one app defined a variable and then a sub-folder with a different CFApp tag with the *same* name is called, it will also have access to that variable. -- Ben Nadel Adobe Community Expert Adobe Certified Advanced ColdFusion Developer Manager New York ColdFusion User Group http://www.bennadel.com

Re: multiple cfapplications

2009-04-17 Thread Ben Nadel
Chad, No, only the nearest parent Application.cfm fires. May I ask the reason for the nested Application.cfm files? -- Ben Nadel Adobe Community Expert Adobe Certified Advanced ColdFusion Developer Manager New York ColdFusion User Group http://www.bennadel.com Need ColdFusion Help? http

Re: application.cfc subdirectories and links

2009-04-17 Thread Ben Nadel
Liz, This is not a great solution, but you could put a dynamic Base tag in the head: Main directory: base href=./ / Sub directory: base href=../ / I think that would work as a stop-gap. -- Ben Nadel Adobe Community Expert Adobe Certified Advanced ColdFusion Developer Manager New York

Re: cffile action=write file as XML. Put spacing in lines, but resave file on mac spaces disappear

2009-04-16 Thread Ben Nadel
This might be a line-delimiter problem. I believe windows uses both the return and newline characters: \r\n Linux based machines, on the other hand, I think only use one of the them...\n maybe? Not sure. -- Ben Nadel Adobe Community Expert Adobe Certified Advanced ColdFusion Developer Manager

Re: Never Ending Program?

2009-04-06 Thread Ben Nadel
Robert, For something like this, I generally have a scheduled task for a given application that executes every 5 minutes (or whatever is appropriate). When it executes, it queries a datatable of tasks that need to be executed. This table can be updated manually or be data-driven (as it sounds

Re: Never Ending Program Single Execution

2009-04-06 Thread Ben Nadel
Robert, To deal with that, I will de-activate the task item while it is running and then reactivate when the task is done. Or maybe I put an is_running flag on the record such that my pseudo code is like this: * Query for tasks that are active, need to be executed (by date), and are NOT

Re: Per-application custom tag paths ( Application.cfc )

2009-04-06 Thread Ben Nadel
This is how I does it (in Application.CFC): !--- Store the root path to application. --- cfset THIS.RootPath = GetDirectoryFromPath( GetCurrentTemplatePath() ) / !--- Build up an array of custom tag paths. --- cfset THIS.CustomTagPathsArray = [ (THIS.RootPath tags/), ..., ...,

Re: cfhttp

2009-04-03 Thread Ben Nadel
Brian, You can loop over the struct using a CFLoop / item / collection and build the CFHttpParams dynamically. -Ben On Fri, Apr 3, 2009 at 12:33 PM, Brian Dumbledore psteja2...@yahoo.comwrote: Is there a way to somehow use a struct of parameters instead of doing cfhttpparam multiple times?

Re: cfhttp

2009-04-03 Thread Ben Nadel
Brian, Thanks man, always glad to help :) On Fri, Apr 3, 2009 at 1:06 PM, Brian Dumbledore psteja2...@yahoo.comwrote: Thanks Ben, btw, I love your kinky solutions :) ~| Adobe® ColdFusion® 8 software 8 is the most

Re: POST variables not accessible with clean URL system in IIS 7

2009-04-02 Thread Ben Nadel
You can try looking at GetHTTPRequestData(). Not sure if that has what you need (and I think it changes the way it functions if FILE data is submitted with FORM). I think you'd be better off trying to fix whatever the underlying problem is rather than work around it. ... I'm sure you're trying

Re: POST variables not accessible with clean URL system in IIS 7

2009-04-02 Thread Ben Nadel
. There's nothing wrong with my code. On Thu, Apr 2, 2009 at 11:50 AM, Ben Nadel b...@bennadel.com wrote: You can try looking at GetHTTPRequestData(). Not sure if that has what you need (and I think it changes the way it functions if FILE data is submitted with FORM). I think you'd be better

Re: POST variables not accessible with clean URL system in IIS 7

2009-04-02 Thread Ben Nadel
Ooooh, you're using 404 handling. Gotcha. Yeah, I use that on my site a lot. I am not sure that I have ever submitted a FORM to it. You might want to look into something like ISAPI_REWRITE which I think changes the URL in a more natural way. On Thu, Apr 2, 2009 at 2:14 PM, David McGuigan

Re: POST variables not accessible with clean URL system in IIS 7

2009-04-02 Thread Ben Nadel
there that can give me some Java methods to try to output the raw HTTP signature handed down to ColdFusion? On Thu, Apr 2, 2009 at 12:22 PM, Ben Nadel b...@bennadel.com wrote: Ooooh, you're using 404 handling. Gotcha. Yeah, I use that on my site a lot. I am not sure that I have ever submitted

Re: Query Retries

2009-04-02 Thread Ben Nadel
Why are your queries failing? On Thu, Apr 2, 2009 at 4:46 PM, Byte Me byteme...@verizon.net wrote: Is there a rule of thumb on how many times a query should be retried? I'm using nested cftry/catch and will retry a maximum of 4 times. Each retry is delayed by a random number of

Re: File upload and make unique

2009-01-09 Thread Ben Nadel
Are you saying that ColdFusion is throwing errors during the file upload? Or is something else going on? -- Ben Nadel Adobe Community Expert Adobe Certified Advanced ColdFusion Developer Manager New York ColdFusion User Group http://www.bennadel.com Need ColdFusion Help? http

Re: File upload and make unique

2009-01-09 Thread Ben Nadel
How are you serving it up to the user? If you use CFHeader / CFContent, you can set the filename: cfheader name=content-disposition value=attachment; filename=your_file_name.ext / -- Ben Nadel Adobe Community Expert Adobe Certified Advanced ColdFusion Developer Manager New York ColdFusion User

Re: anybody see this before?

2009-01-09 Thread Ben Nadel
conversion makes a strongER statement about the set of meaningful values (ie: this or NOT this). Sorry if that was incoherent - I am wicked tired. -- Ben Nadel Adobe Community Expert Adobe Certified Advanced ColdFusion Developer Manager New York ColdFusion User Group http://www.bennadel.com Need

Re: MySQL Comparison Tool

2008-02-01 Thread Ben Nadel
Thanks Randy. I will look into that one. On 2/1/08, Adkins, Randy [EMAIL PROTECTED] wrote: Navicat has the ability to compare database structures and show the differences as well as the SQL to sync the structures. Same for data sync. -Original Message- From: Ben Nadel [mailto

MySQL Comparison Tool

2008-02-01 Thread Ben Nadel
, properties) Thanks, -- Ben Nadel Adobe Community Expert Adobe Certified Advanced ColdFusion Developer Manager New York ColdFusion User Group http://www.bennadel.com Need ColdFusion Help? http://www.bennadel.com/Ask-Ben ~| Adobe

Re: MySQL Comparison Tool

2008-02-01 Thread Ben Nadel
It's especially good that we are already using Navicat for regular DB admin. I just wasn't aware that it could do Diff comparison. Badass. -- Ben Nadel Adobe Community Expert Adobe Certified Advanced ColdFusion Developer Manager New York ColdFusion User Group http://www.bennadel.com Need

RE: CF8 Image function - get size of text written

2008-01-16 Thread Ben Nadel
of the text itself. Take a look at the innards. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: John Blayter [mailto:[EMAIL PROTECTED] Sent: Monday, January 14, 2008 3:08 PM

RE: Adobe ColdFusion IDE survey

2008-01-07 Thread Ben Nadel
floor and everything feels like it slows down. -Ben .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Todd [mailto:[EMAIL PROTECTED] Sent: Monday, January 07, 2008 12:00

PayFlow Pro Timeout

2008-01-02 Thread Ben Nadel
and why it is happening? Thanks, Ben .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com http://www.bennadel.com/ Need ColdFusion Help? www.bennadel.com/ask-ben/ ~| Adobe® ColdFusion® 8

RE: Can a QofQ be performed on result set of a cfhttp call?

2007-12-03 Thread Ben Nadel
(search) DESC .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Che Vilnonis [mailto:[EMAIL PROTECTED] Sent: Monday, December 03, 2007 2:31 PM To: CF-Talk Subject: Can

RE: error caused by cfqueryparam inside cfif

2007-11-26 Thread Ben Nadel
headaches like this. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Nicholas Vacek [mailto:[EMAIL PROTECTED] Sent: Monday, November 26, 2007 3:58 PM To: CF-Talk Subject

RE: Help please - a 500 null error

2007-11-16 Thread Ben Nadel
. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Peter Tilbrook [mailto:[EMAIL PROTECTED] Sent: Friday, November 16, 2007 12:52 AM To: CF-Talk Subject: Help please

RE: Using reReplace Backreference as StructKey or Argument

2007-11-16 Thread Ben Nadel
that you will find that dealing with the Len[] and Pos[] arrays is going to look less than elegant. I don't think there is anyone who has even enjoyed dealing with them :) This is all theory though, I have never checked the performance. .. Ben Nadel Certified Advanced ColdFusion

RE: cfinput type=quot;filequot; width

2007-11-16 Thread Ben Nadel
No problem. Hopefully one day they will make a file upload input that can do crazy stuff like, I don't know, follow CSS, or heck, give you access to style the button?!?! .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help

RE: cfinput type=file width

2007-11-16 Thread Ben Nadel
From what I have heard / experienced, the File input is an odd input. For starters, you might want to add px to your width. Also, try using the size attribute as a backup. I am pretty sure that File inputs respond somewhat consistently to Size=50 (for example). .. Ben Nadel

RE: Using reReplace Backreference as StructKey or Argument

2007-11-16 Thread Ben Nadel
for the feedback. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Jon Clausen [mailto:[EMAIL PROTECTED] Sent: Friday, November 16, 2007 11:44 AM To: CF-Talk Subject: Re: Using

RE: CFC in a higher level directory?

2007-11-15 Thread Ben Nadel
. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Patrick J Hedgepath [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 14, 2007 10:11 PM To: CF-Talk Subject: CFC in a higher level

RE: Using reReplace Backreference as StructKey or Argument

2007-11-15 Thread Ben Nadel
/blog/1040-REMatchGroups-ColdFusion-User-Defined- Function.htm Or- http://bennadel.com/index.cfm?dax=blog:1040.view .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Jon

RE: CF date values in Access

2007-11-15 Thread Ben Nadel
Maybe try using a cfqueryparam: cfqueryparam value=#dateformat(FORM.start_date, MM/DD/)# cfsqltype=cf_sql_date / .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben

RE: Regex Gunslingers

2007-11-14 Thread Ben Nadel
=blog:1037.view Hope that helps. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ Josh Nathanson wrote: Hey all, Got a regex challenge...I was able to solve it using an REFind

RE: I am looking for some good tutorials or examples for learning OOP

2007-11-13 Thread Ben Nadel
-entries.htm It has sample code that can be viewed online as well as downloaded, both of which can be seen over a period of time as my thoughts and methodologies change. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com

RE: ColdFuson XML

2007-11-06 Thread Ben Nadel
to identify anything uniquely, but it might help with the recursion. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Richard White [mailto:[EMAIL PROTECTED] Sent

RE: CF Image question...

2007-11-05 Thread Ben Nadel
it, then use CFImage to resize and OVERWRITE the uploaded file. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Sunday

RE: list help

2007-11-05 Thread Ben Nadel
and check it. Not 100% how that would work, but maybe this can point you in a good direction. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Orlini, Robert [mailto:[EMAIL

RE: ReadBinary Write Results Wierdness

2007-10-31 Thread Ben Nadel
. However, I have very little Java know-how, so take this with a grain of salt. Cheers, .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ Ben Nadel Chief Technology

RE: Can this be done

2007-10-30 Thread Ben Nadel
Pete, I would look into jQuery for AJAX. It is rockin' simple: $( input.status ).click( function(){ var jCheckbox = $( this ); $.get( change_status.cfm, { id: jCheckbox.attr( id ) }, function(){ ... Callback ... } ); } ); .. Ben Nadel Certified Advanced ColdFusion MX7

RE: How do I bypass the missing template handler?

2007-10-30 Thread Ben Nadel
Can you delete the OnMissingTemplate() event handler in the Application.cfc pseudo constructor? cfset StructDelete( THIS, OnMissingTemplate ) / Not sure if this work as expected?? .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion

RE: application.cfc and var

2007-08-03 Thread Ben Nadel
itself is not special. Thinking that way for me helped clear up a lot of the magic that I thought was going on. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Raymond

RE: (Admin) Please use ColdFusion 8 list

2007-07-30 Thread Ben Nadel
Oh man! But I'm only on Talk/Newbie :( ... It's cool, I have work to do anyway :) ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now

RE: Good CF-centric web services tutorial?

2007-07-30 Thread Ben Nadel
Scott, I have tone a bit of tinkering with Web Services (very little, though). This might help you, as I had to wade through a bunch of stuff to get there: http://www.bennadel.com/index.cfm?dax=blog:430.view http://www.bennadel.com/index.cfm?dax=blog:438.view Cheers .. Ben

RE: Query of Queries date comparison

2007-07-30 Thread Ben Nadel
(),mm/dd/)# cfsqltype=CF_SQL_TIMESTAMP / /cfquery .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Mark Lewis [mailto:[EMAIL PROTECTED] Sent: Monday, July 30, 2007 7

RE: Query of Queries date comparison

2007-07-30 Thread Ben Nadel
Claude, I think he is working with dates; I think the data-type for that column in Querynew() was date. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Claude

RE: Generate Random Number 1000 - No Duplicates

2007-07-25 Thread Ben Nadel
Barney, I love the 1XYZ-N technique for the length constraint That's damn brilliant! .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Barney Boisvert [mailto:[EMAIL

RE: HTTP_HOST not defined

2007-07-24 Thread Ben Nadel
an error like that to be thrown. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 24, 2007 10:44 AM To: CF

RE: HTTP_HOST not defined

2007-07-24 Thread Ben Nadel
Ahhh. Gotcha. I am out of ideas :) Server stuff is not my thing. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent

RE: CF8 and cfimage captchas

2007-07-24 Thread Ben Nadel
James, Check out this page: http://www.bennadel.com/blog/772-Learning-ColdFusion-8-CFImage-Part-II-T ag-Based-Image-Manipulation.htm The CFImage tag, when used as CAPTCHA has a fonts attribute which takes a comma delimited list of fonts to use. .. Ben Nadel Certified

RE: xpaths and regex

2007-07-24 Thread Ben Nadel
are looking for a value-based node, you might be able to rock something like: //*[ text() = 'TARGET_TEXT' ] Not sure if you can use Text() predicate in conjunction with a * wild card - haven't tried it. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com

RE: xpaths and regex

2007-07-24 Thread Ben Nadel
= XmlSearch( xmlData, //*[ text() = 'Meep' ] ) / cfdump var=#arrNodes# / Gets any node with value = Meep. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Ben Nadel [mailto

RE: xpaths and regex

2007-07-24 Thread Ben Nadel
I am not finding any thing on this, at least not in ColdFusion. It looks like there are Full Text things for Xpath that work like RegEx, but not that I can figure out. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help

RE: cfcontent

2007-07-24 Thread Ben Nadel
Chad, Variable only take binary values. Good news - you can easily convert string to binary: cfcontent type=text/xml variable=#ToBinary( ToBase64( 'YOUR_STRING' ) )# / .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help

RE: cfcontent

2007-07-24 Thread Ben Nadel
No worries: cfheader name=Content-Disposition value=attachment; filename=test 1234.xml Wrap file name in double quotes (NO single quotes)... Just remember to escape them . .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help

RE: cfcontent

2007-07-24 Thread Ben Nadel
No worries. I only learned that last week :) http://www.bennadel.com/index.cfm?dax=blog:839.view Cheers. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Chad Gray

RE: CDDocument Image problem

2007-07-23 Thread Ben Nadel
I had a problem with IMGs a while back. It turned out to be a problem with the Router, not with ColdFusion: http://www.bennadel.com/index.cfm?dax=blog:266.view I don't understand server stuff that much, but this might help. .. Ben Nadel Certified Advanced ColdFusion MX7

RE: GROUP BY RIGHT()?

2007-07-23 Thread Ben Nadel
Not sure if you can do that, but you might want to try getting the file extension as a calculated column in the query SELECT ( RIGHT( filename, 3 ) ) AS ext Then, in the CFOutput, you could group=ext .. Ben Nadel Certified Advanced ColdFusion MX7 Developer

RE: name conflicts with cffile action=move

2007-07-23 Thread Ben Nadel
I always thought it would be COOL if MOVE and COPY did handle the naming conflict as well. I can't see any downside to giving users the option to leverage CF for that. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help

RE: CF Calendar like Display Function

2007-07-20 Thread Ben Nadel
Here's some stuff I put together a while back: Simple calendar display: http://www.bennadel.com/index.cfm?dax=blog:663.view Modified Detroit Schedule: http://www.bennadel.com/index.cfm?dax=blog:820.view .. Ben Nadel Certified Advanced ColdFusion MX7 Developer

RE: reformatting data in text field

2007-07-20 Thread Ben Nadel
In ColdFusion Or Javascript? Try: REReplaceNoCase( FORM_VALUE, \b([\w])\b, \1, ALL ) .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: John P [mailto:[EMAIL

RE: cfheader filename problem

2007-07-18 Thread Ben Nadel
Try wrapping the filename in single quotes: cfheader name=Content-Disposition value=attachment;filename='#fileName#' .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From

RE: Current time in seconds

2007-07-17 Thread Ben Nadel
) That should give you the number of seconds that have elapsed in since the ZERO day. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Bosky, Dave [mailto:[EMAIL PROTECTED

RE: session vulnerabilities

2007-07-17 Thread Ben Nadel
in its cookies. This is NOT a security risk, as far as I can see it. At least not if your session management is using cookie-based CFID / CFTOKEN values. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask

RE: Simple JS math?

2007-07-17 Thread Ben Nadel
Try: script language=JavaScript var num = 20.0; var frac = 3/8; var DBWTemp = (num + frac); document.write(DBWTemp); /script Should work. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben

RE: error occured while Parsing an XML document

2007-07-17 Thread Ben Nadel
You probably have an unescaped in your SRC attribute value. Try this: img src=cfoutput#XmlFormat( homepage.cb_image_resized )#/cfoutput / .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben

RE: Schdule Task Management

2007-07-12 Thread Ben Nadel
I have never used it, but I would look into the ColdFusion Administrator API. It probably has access to that information. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message

RE: too many js libraries

2007-07-11 Thread Ben Nadel
For my 2 cent plug, I can tell you that the new jQuery library is only 20k compressed... So, even if you are not using it all, it's a really tight library with a simple API. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help

RE: Happy birthday ColdFusion! (12 years old!)

2007-07-09 Thread Ben Nadel
ColdFusion is so freakin' sexy, I just assumed it was a female... But I am biased :) -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, July 09, 2007 10:00 AM To: CF-Talk Subject: RE: Happy birthday ColdFusion! (12 years old!) First we have to determine

RE: Init method and getters / setters in cfc

2007-07-09 Thread Ben Nadel
is requested. * It makes extending a component more difficult because the parent component now has to be smarter about where it looks for its data. Take that with a grain of salt ;) .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help

RE: Best way to read a zip file?

2007-07-09 Thread Ben Nadel
Johnny, How is crashing? When you are crating the Zip? Opening the zip? I don't know about the size, but it seems funny that it should crash anything. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben

RE: Detecting lack of cookies/session on same page?

2007-06-19 Thread Ben Nadel
. At least, that is what I think??? .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Scott Weikert [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 19, 2007 11:56 AM

RE: Flex barcode reader

2007-06-13 Thread Ben Nadel
Thanks everyone. I will take all these suggestions and review with my team. .. Ben Nadel Certified Advanced ColdFusion Developer Nylon Technology 350 7th Avenue Floor 10 New York, NY 10001 212.691.1134 x 14 212.691.3477 fax www.nylontechnology.com Warning

Flex barcode reader

2007-06-12 Thread Ben Nadel
considering: - The kiosk is self-service - The kiosk will make remote procedure calls over a network - The kiosk will not be running ColdFusion (but will talk to CF over the network) Thanks. Sorry for the very broad question, but I just through I would throw it out there. .. Ben

RE: Flex barcode reader

2007-06-12 Thread Ben Nadel
We were thinking web app because then we wouldn't have to outsource some sort of Windows Programmer... But right now, we are just prototyping things out and exploring our options. I appreciate your reassurance that barcode reading isn't as mammoth an idea as one might think it to be. AIR is an

RE: cfhttp

2007-06-06 Thread Ben Nadel
are already on it. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Chad Gray [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 05, 2007 5:35 PM To: CF-Talk Subject: cfhttp Does

RE: NEWS: Great 3 part series on CF8's CFTHREAD tag by Ben Nadel

2007-06-05 Thread Ben Nadel
Rey, thanks for the reference :) If anyone is interested, here is another part: Part 4: http://www.bennadel.com/blog/752-Learning-ColdFusion-8-CFThread-Part-IV- Cross-Page-Thread-References.htm .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com

RE: Identifying if users have cookies enabled

2007-05-30 Thread Ben Nadel
Asad, This might help, I just experimented with this the other day: http://www.bennadel.com/blog/730-Testing-ColdFusion-Session-Cookie-Accep tance.htm OR: http://bennadel.com/index.cfm?dax=blog:730.view Cheers, .. Ben Nadel Certified Advanced ColdFusion MX7 Developer

  1   2   3   4   5   6   7   8   9   10   >