RE: output column average using coldfusion

2008-04-18 Thread Brad Wood
Actually, you don't even need to convert it to a list and back to an array, Just do this: #arrayavg(myQuery['myColumn'])# ~Brad -Original Message- From: Barney Boisvert [mailto:[EMAIL PROTECTED] Sent: Friday, April 18, 2008 2:46 PM To: CF-Talk Subject: Re: output column average using

RE: Prevent Cross Site scripting

2008-04-18 Thread Brad Wood
implications of formatting the data over and over again you could cache static pages and serve them up. If your data is ever-changing, I consider this overhead a small price to pay that comes with the business of storing and regurgitating data. ~Brad -Original Message- From: Andrew Grosset

RE: Prevent Cross Site scripting

2008-04-17 Thread Brad Wood
to have some special characters in a form field. ~Brad -Original Message- From: Jacob [mailto:[EMAIL PROTECTED] Sent: Thursday, April 17, 2008 4:01 PM To: CF-Talk Subject: Prevent Cross Site scripting If I added the following, would this prevent Cross Site Scripting issues: cfif

RE: Passwod recovery strategies

2008-04-16 Thread Brad Wood
if it is forgotten. The password is of course hashed, so no one can get to it... well maybe with a rainbow table. :) ~Brad -Original Message- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 15, 2008 7:49 PM To: CF-Talk Subject: Re: Passwod recovery strategies * User

RE: Macromedia?

2008-04-16 Thread Brad Wood
That error came from your web connectors (IIS or Apache-to-CF bridge) which I THINK is part of JRUN. I don't think JRUN has ever been re-branded by Adobe since no new releases have come out. It's still Macromedia JRUN, isn't it? ~Brad -Original Message- From: Chad Gray [mailto:[EMAIL

RE: Forcing a CFC to refresh...

2008-04-16 Thread Brad Wood
code with undocumented features. Go figure. ~Brad -Original Message- From: Les Mizzell [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 16, 2008 1:02 PM To: CF-Talk Subject: Re: Forcing a CFC to refresh... Actually, this is incorrect. Congressional websites are hosted and managed

RE: Strange Behavior - stumped

2008-04-16 Thread Brad Wood
I get a 500 servlet error. 4:35 pm CST ~Brad -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 16, 2008 4:16 PM To: CF-Talk Subject: Strange Behavior - stumped On some browser this page shows up fine, on other the page is garbled. Can you see

RE: Strange Behavior - stumped

2008-04-16 Thread Brad Wood
Nevermind. Must have been a server restart. It works fine for me now. IE 7, 4:38 pm. ~Brad -Original Message- From: Brad Wood [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 16, 2008 4:36 PM To: CF-Talk Subject: RE: Strange Behavior - stumped I get a 500 servlet error. 4:35 pm

RE: OutofMemoryError

2008-04-15 Thread Brad Wood
the XML into an object and then tostringing it? Do you need it in object form to manipulate it before you write it? What would happen if you wrote the xml out to a temp file first and then zipped it ~Brad -Original Message- From: Brian Kotek [mailto:[EMAIL PROTECTED] Sent: Tuesday, April

RE: Forcing a CFC to refresh...

2008-04-15 Thread Brad Wood
Besides deleting the web service from ColdFusion administrator, there is some Admin API functionality that will do it programmatically but you will obviously need the CF Admin password to use it. ~Brad Is there any way (on a shared server that I've very little access to beyond FTP) to *force

RE: Passwod recovery strategies

2008-04-15 Thread Brad Wood
someone else's password, then they won't be able to get the link in the E-mail. The password is only reset if the link is clicked. Also there is no record of their password in their inbox and they are required to change it anyway. ~Brad -Original Message- From: Jim McAtee [mailto

RE: deleting all files in a directory with code

2008-04-14 Thread Brad Wood
If you are dealing with a large amount of files, or want to recurse, you can use cfexecute to run the command line equivalent. That makes your code a bit less portable though. ~Brad -Original Message- From: Che Vilnonis [mailto:[EMAIL PROTECTED] Sent: Monday, April 14, 2008 3:53 PM

cfchart spacing problem

2008-04-09 Thread Brad Wood
is a bit stickier and I'll probably need to post the code, but I figured we would work on the gap first. Thanks. ~Brad ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free

Another IDE survey -- Public results this time.

2008-04-09 Thread Brad Wood
From Jim Priest courtesy of Ray Camden's Soundings Survey App. http://www.thecrumb.com/2008/04/09/the-open-cfml-ide-survey/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the

RE: cfdocument not working with CF 8.0.1 update

2008-04-08 Thread Brad Wood
Rupesh, To confirm, you not saying he should un-install the 8.01 updater, but instead another ColdFusion Hotfix he had manually applied before the updater was released. Is that correct? Thanks. ~Brad -Original Message- From: Rupesh Kumar [mailto:[EMAIL PROTECTED] Sent: Tuesday, April

RE: escaping # in a password...

2008-04-08 Thread Brad Wood
password='[EMAIL PROTECTED]' -Original Message- From: Paul Ihrig [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 08, 2008 10:56 AM To: CF-Talk Subject: escaping # in a password... ok... some one is using a # in a ftp password. how do i escape it in this tag? cfhttp url=ftp://sername;

RE: Time to First Byte

2008-04-08 Thread Brad Wood
trusted cache so the NAS should not even come into play after the first load of each page. ~Brad -Original Message- From: Brian Peddle [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 08, 2008 12:38 PM To: CF-Talk Subject: Time to First Byte I know without deep details this may be hard

RE: Dynamically adding subdomains to apache

2008-04-04 Thread Brad Wood
to look at listfirst(cgi.server_name). ~Brad -Original Message- From: Jeff Gladnick [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2008 5:02 PM To: CF-Talk Subject: Dynamically adding subdomains to apache Is there a best practice way to dynamically create subdomains in Apache

RE: how much is a session overhead?

2008-04-03 Thread Brad Wood
it is (a few strings, or queries and CFC's) -- Number of unique visitors to your site per day. Most people's performance problems with session happen with memory issues when they store a _lot_ of information in the session scope on a very high traffic site. ~Brad -Original Message- From

RE: OT - Database schema compare/sync tools for MSSQL

2008-04-03 Thread Brad Wood
Red Gate rocks the hizzy. It also has an API you can tap into. We had a previous SQL .net guy who wrote his own comparison tool using the Regdate API's. ~Brad -Original Message- From: Jeff Price [mailto:[EMAIL PROTECTED] Sent: Thursday, April 03, 2008 11:59 AM To: CF-Talk Subject: Re

RE: 500 The ClientScope service is not available.

2008-03-31 Thread Brad Wood
Where are client variables stored on that server? Cookies? Registry? *shudder* Database? Check your cfserver.log file at the time he received the error. Chances are there was a client variable purge going on, or a connectivity issue with the client storage database. ~Brad -Original

RE: Occasional Connection Failure with CFHTTP

2008-03-27 Thread Brad Wood
It could be any network blip on your server, UPS's server and anywhere in between. I wonder what would happen if you were to try/catch errors on that CFHTTP line and in the catch try the CFHTTP again to see if it would work on the second try. ~Brad -Original Message- From: Michael

RE: How to unGZip very large archives via CF?

2008-03-27 Thread Brad Wood
I have no experience doing this, but I have a thought... I believe programs like WinZip can be run from the command line. You could use cfexecute to have an external app do the work for you. ~Brad -Original Message- From: [EMAIL PROTECTED] [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED

RE: turn the coldfusion query into sql stored procedure or view

2008-03-25 Thread Brad Wood
to rewrite all the SQL, MOST of it can be directly placed in a proc with little changes. Each of your criterions will need to be input parameters to the proc. ~Brad -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2008 10:42 AM To: CF-Talk Subject

RE: Any Gotcha's in using CF UUID for db record primary key?

2008-03-24 Thread Brad Wood
sequential GUIDs. [ newSequentialID() ] Please enlighten me as I must be considering too simple of a scenario. ~Brad -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2008 10:39 AM To: CF-Talk Subject: Re: Any Gotcha's in using CF UUID for db record

RE: Any Gotcha's in using CF UUID for db record primary key?

2008-03-24 Thread Brad Wood
back and change, but I calculated the other day that we spend about 13 Gigs of storage space on GUIDs in our tables and indexes. Had all those GUIDs been ints, it only would have been around 3 Gigs. So we have an extra 10 Gigs of space difference because we used GUIDs instead of ints. ~Brad

RE: Perhaps a little over complicated - Dissecting a String

2008-03-24 Thread Brad Wood
You mean like this? (untested) cfif len(listfirst(my_string,.)) LTE 100 #listfirst(my_string,.)#. cfelse #left(my_string,100)# /cfif ~Brad -Original Message- From: Nate Willard [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2008 5:00 PM To: CF-Talk Subject: Perhaps

RE: String function question

2008-03-21 Thread Brad Wood
to strip out form fields and replace them with a CF variable of the same name. tabletrtd input name=my_form_field type=text /td/tr/table Would become tabletrtd #form.my_form_field# /td/tr/table Just thoughts... ~Brad -Original Message- From: Bruce Sorge [mailto:[EMAIL

RE: Baffling Error

2008-03-20 Thread Brad Wood
Those are all most likely SQL injection or cross site scripting attack attempts. There is really nothing you can do to stop them. Just make sure all URL data is sanitized before using etc. ~Brad -Original Message- From: Mark Leder [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20

RE: Memory discrepancy

2008-03-20 Thread Brad Wood
The default perm generation size is 64 Megs for Java in general, but I believe CF 6.1 and 7 default it to 128 Megs with the following line in jvm.config: -XX:MaxPermSize=128m My CF 8 box appears to set it to 192 Megs. ~Brad -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED

RE: XML Node Traversal

2008-03-19 Thread Brad Wood
True that. I like to think of XML in CF simply as structs of arrays. You can access the data just as you would traverse structs and arrays. Once you cfdump the XML, it becomes clearer. ~Brad you can also get a little more dynamic and loop over

RE: Hostmysite down?

2008-03-19 Thread Brad Wood
include waiting on a semaphore like standard edition of CF does when throttling cfdocument calls. I/O and network access would be native OS code. Java now has interrupt(), but it wasn't introduced until Java 1.5. ~Brad -Original Message- From: Mark Kruger [mailto:[EMAIL PROTECTED] Sent

RE: Bluedragon = open source

2008-03-12 Thread Brad Wood
for. ~Brad -Original Message- From: Russ [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2008 4:35 PM To: CF-Talk Subject: RE: Bluedragon = open source I remember last time I looked at the CF alternatives, BD was the only one that seemed mature. Others seemed to be either in early stages

RE: What are the Necessary Code Changes for Migrating from 6.1 to 8?

2008-03-12 Thread Brad Wood
. It drives me crazy sometimes. ~Brad -Original Message- From: Aaron Rouse [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2008 11:42 AM To: CF-Talk Subject: Re: What are the Necessary Code Changes for Migrating from 6.1 to 8? Microsoft never has problems with their products, simply

RE: Bluedragon = open source

2008-03-12 Thread Brad Wood
open source softwares like MySQL, but only for my personal stuff. ~Brad ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w

RE: Closing a Session

2008-03-12 Thread Brad Wood
JavaScript events for when the window closes, but what if the user unplugs their computer? ~Brad -Original Message- From: William Seiter [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2008 2:41 PM To: CF-Talk Subject: Re: Closing a Session if you have declared the OnSessionEnd

RE: CFPOP #Body# and carriage returns

2008-03-11 Thread Brad Wood
. That may or may not be a safe assumption to make though. ~Brad -Original Message- From: Steve Good [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2008 2:21 PM To: CF-Talk Subject: CFPOP #Body# and carriage returns I am pulling data from a pop3 server using the cfpop tag and everything

RE: CFPOP #Body# and carriage returns

2008-03-11 Thread Brad Wood
) !--- Put in br's for the preview in place of line feeds --- cfset my_string = replacenocase(my_string, chr(10),br /,all) !--- Replace tabs with 5 spaces --- cfset my_string = replacenocase(my_string,chr(09),nbsp;nbsp;nbsp;nbsp;nbsp;,all) ~Brad -Original Message- From: Steve Good [mailto

RE: Bluedragon = open source

2008-03-11 Thread Brad Wood
CFML to the ends of the Earth by now? Smith has been open source since May of last year. ~Brad ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk

Bluedragon = open source

2008-03-10 Thread Brad Wood
Interesting: http://www.newatlanta.com/corporate/news/bluedragon_opensource_announce. jsp ~Brad ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http

RE: page cannot be displayed

2008-03-10 Thread Brad Wood
will have to confirm which version you have. Those mappings are set up for you when you install CF standard, but reinstalling IIS may have wiped them out. ~Brad -Original Message- From: Greg Morphis [mailto:[EMAIL PROTECTED] Sent: Monday, March 10, 2008 2:01 PM To: CF-Talk Subject: page

RE: page cannot be displayed

2008-03-10 Thread Brad Wood
I think Windows 2000 = IIS 5 Windows 2003 = IIS 6 It basically dependant on your version of Windows. It sounds like your mappings might be fine-- I'm out of ideas for now without knowing more about what actually changed on your servers. ~Brad -Original Message- From: Greg Morphis

RE: page cannot be displayed

2008-03-10 Thread Brad Wood
the try. ~Brad -Original Message- From: Greg Morphis [mailto:[EMAIL PROTECTED] Sent: Monday, March 10, 2008 3:00 PM To: CF-Talk Subject: Re: page cannot be displayed I wasn't involved in what was done just in the clean up... I did see them playing around with JRun.. but when I try

RE: page cannot be displayed

2008-03-10 Thread Brad Wood
slower). At any rate, I'm glad it's working for you. ~Brad -Original Message- From: Greg Morphis [mailto:[EMAIL PROTECTED] Sent: Monday, March 10, 2008 3:42 PM To: CF-Talk Subject: Re: page cannot be displayed Looks like it's corrected. isapi caching was turned off man I need to do some

RE: Need query help

2008-03-04 Thread Brad Wood
If you query is highly dynamic, this way may not be best. Let's say the user can specify groups that are of type college, jewish, preschool, catholic, and skinny. Now, you have to join to the type table 5 times and that ain't looking too good. ~Brad -Original Message- From

RE: Need query help

2008-03-04 Thread Brad Wood
What would that look like? Unioned result sets are not mutually dependant, but Will needs all his criteria to be met. ~Brad -Original Message- From: Adkins, Randy [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2008 10:00 AM To: CF-Talk Subject: RE: Need query help Could do a UNION

RE: Need query help

2008-03-04 Thread Brad Wood
How could a value be equal to two things at once? Your where clause requires that the gt.grouptype column simultaneously equal 'College' and 'Jewish'. That query will return no results. ~Brad -Original Message- From: Nicholas Stein [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04

RE: Need query help

2008-03-04 Thread Brad Wood
BY t.groupname ~Brad ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk

RE: Need full path file browser

2008-03-04 Thread Brad Wood
, but send the value of the hidden field as an Ajax call, or copy it over to a second form on the page which doesn't have the file field. I haven't done exactly that, but I believe it should be possible and wouldn't require any applet or active x control. ~Brad -Original Message- From

RE: CF functions question

2008-03-03 Thread Brad Wood
the benefit, if it was called as: cfset stResult = application.persistent_component.foo(client.user_specific _input) But is there any benefit to the var in the example Dominic posted? I'm not saying anyone's wrong yet-- I just want to know if there was a good reason. Thanks. ~Brad

RE: CF functions question

2008-03-03 Thread Brad Wood
programmer and cfincluded in a library of other functions. Then all of a sudden it would be much easier to get unintentional overwriting of variables. Color me convinced. :) ~Brad -Original Message- From: Dominic Watson [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2008 2:24 PM

RE: CF functions question

2008-03-03 Thread Brad Wood
if there was a valid reason, or if it was just the token response to any thread involving cf functions. Dominic's response was convincing enough for me though. ~Brad -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2008 3:01 PM To: CF-Talk Subject: RE: CF

RE: Need query help

2008-03-03 Thread Brad Wood
in your query, so a group with 5 type records, would be duplicated 5 times in the result set-- once for each type. Do you want this, or do you want a single record for the group no matter how many types they match? ~Brad -Original Message- From: ColdFusion [mailto:[EMAIL PROTECTED] Sent

RE: Need query help

2008-03-03 Thread Brad Wood
returned a record for both the Jewish and College type. Alternatively, inner joining to the type table twice, once for each type you want will work as well but might not perform as well. ~Brad ~| Adobe® ColdFusion® 8 software 8

RE: Failing gracefully when using xmlParse()...

2008-02-29 Thread Brad Wood
those errors. The onus is on the programmer to ensure they have well-formed XML before they knock on xmlparse's door. ~Brad -Original Message- From: Che Vilnonis [mailto:[EMAIL PROTECTED] Sent: Friday, February 29, 2008 1:15 PM To: CF-Talk Subject: RE: Failing gracefully when using

RE: Interesting idea for next CF - thoughts...

2008-02-28 Thread Brad Wood
Watch out for that though. I remember someone on this list who used to use the extends= attribute in their cfcomponent tags. That worked great until CF8 when Adobe actually implemented that attribute and all their code broke. :) ~Brad -Original Message- From: s. isaac dealey [mailto

RE: JRun Clustering problem - Instance keeps shutting down

2008-02-28 Thread Brad Wood
That is probably because the JRun connector loaded in IIS is what divvies up the requests. ~Brad -Original Message- From: AJ Mercer [mailto:[EMAIL PROTECTED] Sent: Thursday, February 28, 2008 6:38 AM To: CF-Talk Subject: Re: JRun Clustering problem - Instance keeps shutting down I

RE: JRun Clustering problem - Instance keeps quot;shutting downquot;

2008-02-28 Thread Brad Wood
Is it possible there is a connectivity issue which is causing the JRun connectors (which are loaded on the IIS box and control load balancing) to think that instance is down? I don't know off the top of my head if there is a log file on the IIS box. ~Brad -Original Message- From: James

RE: Interesting idea for next CF - thoughts...

2008-02-28 Thread Brad Wood
They didn't use an empty value. They put in cfc names and/or notes as to what other component that component extended. Of course, the values they had been putting in there were not valid for CF8. The empty quotes were the lines your imagination was supposed to go between. ~Brad -Original

RE: JRun Clustering problem - Instance keeps quot;shutting downquot;

2008-02-28 Thread Brad Wood
\wsconfig\1\LogFiles\jrun_iis6_wildcard00.log In the last log, the 1 directory corresponds to the clusters set up in C:\JRun4\lib\wsconfig\wsconfig.properties. I obviously have IIS6, and the number on the end of the file name is auto-incrementing. ~Brad -Original Message- From: Brad Wood

RE: Interesting idea for next CF - thoughts...

2008-02-28 Thread Brad Wood
Lol. You got me. I meant implements=, not extends=. That was the one CF8 introduced. :) ~Brad -Original Message- From: Cutter (CFRelated) [mailto:[EMAIL PROTECTED] Sent: Thursday, February 28, 2008 8:48 AM To: CF-Talk Subject: Re: Interesting idea for next CF - thoughts... You mean

RE: JRun Clustering problem - Instance keeps amp;quot;shutting downamp;quot;

2008-02-28 Thread Brad Wood
on the list. :) ~Brad -Original Message- From: James Buckingham [mailto:[EMAIL PROTECTED] Sent: Thursday, February 28, 2008 9:30 AM To: CF-Talk Subject: Re: JRun Clustering problem - Instance keeps amp;quot;shutting downamp;quot; The log file was from the failing instance

RE: Populating a variable stored in a database

2008-02-27 Thread Brad Wood
To dynamically create CF code I would suggest writing it to a file and cfincluding it. An even better solution though if you have a known set of possible values would be to do a series of find and replaces on the string replacing #rate# with the actual rate etc. ~Brad -Original Message

RE: Populating a variable stored in a database

2008-02-27 Thread Brad Wood
and possible performance implications of evaluate. ~Brad -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 27, 2008 10:28 AM To: CF-Talk Subject: Re: Populating a variable stored in a database Brad Wood wrote: To dynamically create CF code I would

RE: Populating a variable stored in a database

2008-02-27 Thread Brad Wood
he wants them to be managed through an interface... ~Brad -Original Message- From: Greg Morphis [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 27, 2008 10:37 AM To: CF-Talk Subject: Re: Populating a variable stored in a database Why are you storing the whole statement? Why not just

RE: Populating a variable stored in a database

2008-02-27 Thread Brad Wood
would actually be necessary for that. Does that make sense? I don't know how it fits your needs, but that is how I have done it. ~Brad -Original Message- From: Rob Parkhill [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 27, 2008 10:40 AM To: CF-Talk Subject: Re: Populating a variable

RE: Populating a variable stored in a database

2008-02-27 Thread Brad Wood
. Then the whole thing is turned into a PDF and E-mailed. ColdFusion handles the replacing of the variables part pretty well. I have never had it cause a performance issue yet. ~Brad -Original Message- From: Greg Morphis [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 27, 2008 11:00 AM To: CF

RE: Interesting idea for next CF - thoughts...

2008-02-27 Thread Brad Wood
-documenting applies at your class and method level-- not at each individual line of code. Interesting thought though... ~Brad -Original Message- From: John Skrotzki [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 27, 2008 3:13 PM To: CF-Talk Subject: Interesting idea for next CF

RE: Adobe, please improve FckEditor integration w/ Cold Fusion 8

2008-02-26 Thread Brad Wood
Have you submitted an enhancement or bug request to www.adobe.com/go/wish/ yet? ~Brad -Original Message- From: Don L [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 26, 2008 11:11 AM To: CF-Talk Subject: Adobe, please improve FckEditor integration w/ Cold Fusion 8 Here I have three

RE: Adobe, please improve FckEditor integration w/ Cold Fusion 8

2008-02-26 Thread Brad Wood
LOL. You should have just patented the idea back then and ran with it. You would have beat Adobe to the punch. ~Brad -Original Message- From: Don L [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 26, 2008 11:37 AM To: CF-Talk Subject: Re: Adobe, please improve FckEditor integration w

RE: QofQ and SQL TOP statements...

2008-02-26 Thread Brad Wood
No, use cfquery maxrows=5 ~Brad -Original Message- From: Che Vilnonis [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 26, 2008 2:32 PM To: CF-Talk Subject: QofQ and SQL TOP statements... QofQ and SQL TOP statements... can these be used together? If so, how? I keep getting an error

RE: cfloop question

2008-02-26 Thread Brad Wood
would if you were looping over your query with a cfoutput. Don't forget, query objects don't have to come from a database. You can build one with querynew() etc if you want to hard-code the addresses like your example shows. ~Brad -Original Message- From: Steve Kahn [mailto:[EMAIL

RE: accepting/returning cookies with cfinvoke

2008-02-25 Thread Brad Wood
I didn't get any takers with this. Anyone? ~Brad -Original Message- From: Brad Wood [mailto:[EMAIL PROTECTED] Sent: Friday, February 22, 2008 4:07 PM To: CF-Talk Subject: accepting/returning cookies with cfinvoke If I am using cfinvoke to consume a web service, will ColdFusion accept

RE: accepting/returning cookies with cfinvoke

2008-02-25 Thread Brad Wood
Does cfhttp automatically accept cookies and pass them back, or does it just give me access to the response so I can pull them out myself? As far as Apache HTTPClient goes-- this is really a curious experiment in the can ColdFusion do this without any help category. :) ~Brad -Original

RE: accepting/returning cookies with cfinvoke

2008-02-25 Thread Brad Wood
Thanks. I'm on Linux though so I don't think WinHTTP would help. I wanted to know if CF could do it all by itself though without resorting to a third party app. ~Brad -Original Message- From: Sonny Savage [mailto:[EMAIL PROTECTED] Sent: Monday, February 25, 2008 10:56 AM To: CF-Talk

RE: accepting/returning cookies with cfinvoke

2008-02-25 Thread Brad Wood
Thanks Russ and Dave-- that answers the bulk of my question. If anyone has a blog off the top of their head demonstrating this, now would be a perfect time to mention it. :) ~Brad -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Monday, February 25, 2008 11:14 AM

RE: accepting/returning cookies with cfinvoke

2008-02-25 Thread Brad Wood
If anyone has a blog off the top of their head demonstrating this, now would be a perfect time to mention it. === Actually I found a good one myself. http://www.bennadel.com/blog/725-Maintaining-Sessions-Across-Multiple-Co ldFusion-CFHttp-Requests.htm Thanks Ben. :) ~Brad

RE: accepting/returning cookies with cfinvoke

2008-02-25 Thread Brad Wood
dunno-- maybe there's a really good and complicated reason why that wouldn't work. Or maybe most web services don't use cookies, so it's never been worth8 Adobe's time to do that. I guess I can always throw it in the pot for a CF9 enhancement suggestion. :) ~Brad -Original Message- From

accepting/returning cookies with cfinvoke

2008-02-22 Thread Brad Wood
If I am using cfinvoke to consume a web service, will ColdFusion accept and or return cookies set by the third party for authentication purposes? I'm thinking no, but how then does one do that? ~Brad ~| Adobe

Client Storage

2008-02-21 Thread Brad Wood
Is there any reason not to share the same client storage database between multiple ColdFusion servers? We have 9 servers which all store their client variables in the same database. ~Brad ~| Adobe® ColdFusion® 8

RE: CFC protect from SQL Injection?

2008-02-21 Thread Brad Wood
ways to skin a cat. In case anyone is wondering, the above example is real. I made my previous DBA's jaw drop when I showed him how our order find screen could be used to return usernames and passwords if the right search criteria contained a single tick in it. :) ~Brad

RE: query.columnlist get correct column order

2008-02-20 Thread Brad Wood
Glad we could help. :) -Original Message- From: Richard White [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 20, 2008 5:44 PM To: CF-Talk Subject: Re: query.columnlist get correct column order i have just noticed as well that the column names are all in upper case but i need

RE: empty array elements

2008-02-18 Thread Brad Wood
Thanks for the link to the post on hidden array methods though-- I have learned my new CF/Java item for the day. :) ~Brad -Original Message- From: Dominic Watson [mailto:[EMAIL PROTECTED] Sent: Monday, February 18, 2008 3:07 PM To: CF-Talk Subject: Re: empty array elements While

RE: empty array elements

2008-02-18 Thread Brad Wood
I think your list conversion is the problem. CF pre 8 ignores empty list elements. Have you considered cfwddx? ~Brad -Original Message- From: Richard White [mailto:[EMAIL PROTECTED] Sent: Monday, February 18, 2008 2:40 PM To: CF-Talk Subject: Re: empty array elements What method

RE: empty array elements

2008-02-18 Thread Brad Wood
While helpful, I don't think your blog post has to do with Richard's actual problem. He does not appear to be dealing with missing array elements-- just empty ones. Furthermore, he does not wish to remove them-- but to retain them. ~Brad -Original Message- From: Dominic Watson [mailto

RE: cf8 query weirdness

2008-02-15 Thread Brad Wood
Why do you have both selects? The first one may be interfering. I assume you want the result set returned by the second? ~Brad -Original Message- From: Russ [mailto:[EMAIL PROTECTED] Sent: Friday, February 15, 2008 3:09 PM To: CF-Talk Subject: cf8 query weirdness I have something like

RE: cf8 query weirdness

2008-02-15 Thread Brad Wood
Ok, I get it. The sometable stuff had thrown me off. You could call a stored proc instead and send out the identity column as an output parameter, but I'm guessing you don't want to have to re-write all that... ~Brad -Original Message- From: Russ [mailto:[EMAIL PROTECTED] Sent: Friday

RE: How to stop bots indexing my dev sites

2008-02-13 Thread Brad Wood
I'm half joking, but it would probably work... Associate .txt files with CF and make your robots.txt dynamic. :) A more plausible solution might be to protect the entire folder the dev site is in with .htaccess or something so someone out there can't just hit it with out a token login. ~Brad

RE: OT Javascript - when is an element visible

2008-02-12 Thread Brad Wood
coordinates and size. Doesn't sound fun though-- maybe someone will post and show us a pre-built function in the prototype library or something. :) ~Brad What I'm trying to work out, is a way to find out when one of those child divs is visible and when it's

RE: Now that CFDJ is dead, CF Journals Or Magazine?

2008-02-11 Thread Brad Wood
Fusion Authority is the only other regularly printed CF resource. It is produced by House Of Fusion (who runs this list.) Check it out- they have some good stuff. https://secure.houseoffusion.com/vol2issue3.cfm ~Brad -Original Message- From: Ian Worthington [mailto:[EMAIL PROTECTED

RE: cfinput autosuggest styling problem

2008-02-08 Thread Brad Wood
that is the only thing that will override a dropdown. (Milonic style) I hope you can find a solution already built for you, because it can be a pain. ~Brad -Original Message- From: Dominic Watson [mailto:[EMAIL PROTECTED] Sent: Friday, February 08, 2008 10:34 AM To: CF-Talk Subject: cfinput

RE: JRun maxing out?

2008-02-08 Thread Brad Wood
SeeFusion or Fusion-Reactor will make you wonder how you ever lived without them. SeeFusion has a free 2-hour trial before you buy. Both programs will show you exactly what is running on your box and give you a stack trace to show you where the problem code lies. ~Brad -Original Message

RE: Alert component

2008-02-08 Thread Brad Wood
, this is nothing I've done, but I don't see why it wouldn't work. ~Brad -Original Message- From: Will Swain [mailto:[EMAIL PROTECTED] Sent: Friday, February 08, 2008 5:27 PM To: CF-Talk Subject: RE: Alert component Someone else might be able to shed more light, but is this something you could

RE: ColdFusion: Some People Just Don't Know Any Better

2008-02-07 Thread Brad Wood
but rather due to a friend who owned a CF server and let me host their for free. If it hadn't been for that there's no way I would have bothered with CF when I couldn't actually use it for real on my personal site to experiment with. I would have probably gone over to Perl or PHP. ~Brad -Original

RE: ColdFusion: Some People Just Don't Know Any Better

2008-02-07 Thread Brad Wood
-- It is their decision. But, I gotta' say as bitter-sweet as my feelings are for Microsoft, I think that was a smart move on their part. I really, really want to see large scale adoption of CF, Flex, Air, etc. That's why I am in favor of anything which will help that. ~Brad -Original Message- From

RE: ColdFusion: Some People Just Don't Know Any Better

2008-02-07 Thread Brad Wood
No, I'm pretty sure it was introduced in 4.x. I seem to recall it was 4.0.1, but I'm not entirely sure. I bet Ben Forta could tell us half asleep with both eyes closed. He's a master of random CF version history factoids. :) ~Brad

injection prevention

2008-02-07 Thread Brad Wood
that approach is asinine. To blindly sanitize variables with no regard for what they contain seems dumb. The correct answer to me would be to sanitize as necessary with functions like htmleditformat() at the point of use. Am I crazy, or do other people do this? ~Brad

RE: CFDOCUMENT not working

2008-02-06 Thread Brad Wood
are valid. If you are on Windows, run SysInternal's tcpview.exe or netstat to look for open TCP connections attempting to retrieve an external image from a server which is not responding. ~Brad -Original Message- From: Tarek Jubaer [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 06

RE: Is the need for multiple CF instances diminishing?

2008-02-06 Thread Brad Wood
load for you. It may not be a spotless solution, but it has merit. ~Brad ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w

RE: Is the need for multiple CF instances diminishing?

2008-02-06 Thread Brad Wood
32bit Java. 64bit Java doesn't suffer from this limitation AFAIR. Speaking of which, is CF certified on any 64bit java? I remember something about it being certified on x64 Solaris or something. Is anyone using it on a 64bit Java under windows? Hmmm, this knowledge base article shows

<    4   5   6   7   8   9   10   11   12   13   >