Re: CF 404 handler non being invoked on IIS

2015-02-08 Thread Brian Cain
You will need to change a setting in IIS for the 404 page not found and point it to a CF page designed to process those requests. Thanks, Brian On Feb 8, 2015, at 11:35 AM, Mark Spence markpence...@gmail.com wrote: This is working on the live hosted site, but on my local install of iis

Re: Need someone to help with site

2014-07-06 Thread Brian Cain
Hi Matthew, What is the site? Any specifics as to why the site is down? Regards, Brian Cain Sent from my iPhone On Jul 6, 2014, at 8:18 PM, Matthew Smith chedders...@gmail.com wrote: I need someone to help with a site that has been down for a month. Will pay $50 hour via Paypal

Re: Does Not Contain Number

2014-04-20 Thread Brian Cain
Use a regex. If refind(address, [0-9] You have a number Else No number My syntax may be off, but I think this is the logic you are looking for. Brian Cain Sent from my iPhone On Apr 20, 2014, at 3:41 PM, David Moore dgmoor...@hotmail.com wrote: Well, you are doing a great job. I guess

Re: cflocation mystery- solved

2014-02-02 Thread Brian Cain
You should also be retiring a 301 status code to the client. This makes a difference for SEO purposes. In CF7 or before you would need to use the cfheader tag. CF8 and on, you can add the status code attribute to the cflocation tag. Sent from my iPhone On Feb 2, 2014, at 11:51 AM, Rob

Noise words

2014-01-23 Thread Brian Cain
Hello, I am working on a problem that is provide ample frustration. I have a keyword search on my site. For the most part this works fine. It is hitting a MSSQL 2012 server with FT Index setup. My routine for formatting the keywords and everything is in place and works well. The problem

Re: Noise words

2014-01-23 Thread Brian Cain
I tried that, and it did not make a difference. I still get the informational message with option on or off. On Thu, Jan 23, 2014 at 12:29 PM, Dave Watts dwa...@figleaf.com wrote: I am working on a problem that is provide ample frustration. I have a keyword search on my site. For the

Re: Noise words

2014-01-23 Thread Brian Cain
for searching by company name. Not elegant, but functional. On Thu, Jan 23, 2014 at 1:24 PM, Russ Michaels r...@michaels.me.uk wrote: I have had this issue before and simply removed the noise words from the search string first. On Thu, Jan 23, 2014 at 7:16 PM, Brian Cain bcc9...@gmail.com wrote

Re: Noise words

2014-01-23 Thread Brian Cain
When I call a proc with no noise words it works as expected. When I add the noise words back to the proc, save the cfstoredproc result to a variable and dump that I get cached=false and executiontime=395. There are no proc results returned with it. I even tried adding the cfprocresult tags to

Re: CFFILE Question

2013-10-23 Thread Brian Cain
about it. http://www.bennadel.com/blog/1220-ColdFusion-CFMailParam-s-New-Content-Attribute-Is-Awesome.htm Brian Cain On Wed, Oct 23, 2013 at 8:08 AM, Steve LaBadie slaba...@po-box.esu.eduwrote: I have a web-based form that requires the user to upload a document. Everything works fine until I

Re: Syntax Problem

2013-10-17 Thread Brian Cain
You should try putting your content into a variable using cfsavecontent and then choose to display in the browser or send an email. You cannot wrap the begin and end tags of a cfmail the way you are doing. cfsavecontent var=mycontentcfoutputYour stuff/cfoutput/cfsavecontent cfif generate_email

Re: Syntax Problem

2013-10-17 Thread Brian Cain
T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_williams -Original Message- From: Brian Cain [mailto:bcc9...@gmail.com] Sent: Thursday, October 17, 2013 2:58 PM To: cf-talk

Re: Mobile

2013-09-28 Thread Brian Cain
on screen width rather than user agent strings. This. This is why I ask questions like this one of this list. Answer so simple and yet so genius. Thank you! On Fri, Sep 27, 2013 at 5:50 PM, Brian Cain bcc9...@gmail.com wrote: I would suggest basing your redirect on screen width rather than

Re: Mobile

2013-09-27 Thread Brian Cain
I would suggest basing your redirect on screen width rather than user agent strings. Also the dev tools in Chrome has a neat little feature to allow you to specify a different user agent as well as screen size for testing on the desktop. Sent from my iPhone On Sep 27, 2013, at 4:13 PM, Dan

Re: Best means of setting a library of reusable code

2013-06-25 Thread Brian Cain
I have to agree with Matt. You are setting yourself up for a dependency nightmare if your cfc functions do not encapsulate their logic. On Tue, Jun 25, 2013 at 10:50 AM, Matt Quackenbush quackfu...@gmail.comwrote: Hang on a minute. If I understand this correctly So, how do I make the

Re: What would you call high traffic for CF8 standard?

2013-06-13 Thread Brian Cain
little trick that improved keyword search performance about 5-10 fold on my sites. Brian Cain Sent from my iPhone On Jun 13, 2013, at 4:32 PM, Paul Vernon paul.ver...@web-architect.co.uk wrote: Yeah... again I would say you are getting all you can out of this setup. I'm not finding a lot

CFMail alternative

2013-04-04 Thread Brian Cain
I have had an ongoing problem with ColdFusion dropping some mail messages. The mail log show the messages being delivered to the mail server, but there is no record on the mail server. I found this thread on Adobe's website (http://forums.adobe.com/thread/585718), but there never seemed to

Re: CFMail alternative

2013-04-04 Thread Brian Cain
Positive they are not there. On Thu, Apr 4, 2013 at 11:33 AM, wrote: but there is no record on the mail server Are you sure the mesages are not in the undelivered folder? I was having the same issue until I realized that my mail server had a limit of 1000 messages sent per hour. So

Re: A little help with jquery/cfm

2013-02-12 Thread Brian Cain
is the orgnamelist variable all together. That is a waste of resources. To be on the safe side you should also use cfqueryparam to wrap the variables in your SQL statement to prevent SQL injection attacks. Brian Cain On Feb 12, 2013, at 7:25 PM, Bruce Sorge sor...@gmail.com wrote: Hey all, I have

Re: A little help with jquery/cfm

2013-02-12 Thread Brian Cain
Yes. You are checking on checkcode.cfm. That is the page that needs to be modified. Brian Cain On Feb 12, 2013, at 7:47 PM, Bruce Sorge sor...@gmail.com wrote: The think is that the check is not done when they post, it's done when they enter the code, then shift the focus form the form

Re: New Security Issue with CF

2013-01-04 Thread Brian Cain
Don't get me wrong, I detest hackers and their exploits, but i think the way this one works quite ingenious. My server did get hit, but after reviewing the log files and checking for changes, I don't think they did anything. I am thankful for that, cause they could have done some major damage.

Re: New Security Issue with CF

2013-01-04 Thread Brian Cain
the scheduler to be called without authentication. Seems like a glaring oversight to me. Brian Cain On Jan 4, 2013, at 5:16 PM, Justin Scott leviat...@darktech.org wrote: The file itself is some tool designed to be used by developers, probably not developed by rhe hacker himself. He just

CFMAIL Not getting to mail server

2012-11-27 Thread Brian Cain
some threads about this issue and other people experiencing it, but no solutions or help from Adobe on a permanent fix. Thanks, Brian Cain ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion

Query with no results is not defined

2012-08-22 Thread Brian Cain
have verified that if the query does return data that is works as normal. and it does. Has anyone encountered this behavior, or have any idea why this is occurring? Thanks, Brian Cain ~| Order the Adobe Coldfusion Anthology now

Re: Query with no results is not defined

2012-08-22 Thread Brian Cain
, Cameron Childress camer...@gmail.comwrote: On Wed, Aug 22, 2012 at 5:38 PM, Brian Cain bcc9...@gmail.com wrote: Has anyone encountered this behavior, or have any idea why this is occurring? Is it in a CFC? Smells like an improperly scoped query. Show some code? -Cameron -- Cameron

Re: Query with no results is not defined

2012-08-22 Thread Brian Cain
scope, CF has to check through a number of scopes for it. It could also explain the issue - if for example anywhere else in your app you are using that var name in say, Application, Server, Request or Session scope. On Wed, Aug 22, 2012 at 2:51 PM, Brian Cain bcc9...@gmail.com wrote

Re: CFinclude issues

2012-03-02 Thread Brian Cain
Not to state the obvious, but you are trying to include it from a .cfm page right? You cannot use a cfinclude on a .htm page. On Fri, Mar 2, 2012 at 2:16 PM, wrote: Aren't they all also relative to the original including templates path though even though they're nested? I would say yes.

Re: CFinclude issues

2012-03-02 Thread Brian Cain
Yes Andrew, that was the point I was making. On Fri, Mar 2, 2012 at 2:56 PM, Andrew Scott andr...@andyscott.id.auwrote: Actually you can't being an html file, it will never be run by ColdFusion, and will only be seen as a standard html comment. -- Regards, Andrew Scott WebSite:

Re: CFinclude issues

2012-03-02 Thread Brian Cain
Andrew: You must have meant that for the other guy. My original reply said you cannot use cfinclude in a .htm file. I will add the addendum that being the case in a traditional server configuration. Brian Cain On Mar 2, 2012, at 4:06 PM, Andrew Scott andr...@andyscott.id.au wrote

SEO Redirection

2012-02-07 Thread Brian Cain
name=Location value=http://#subDomain#.#appdatasource#.com#thePage#; cfexit /cfif Any ideas on how to better optimize this solution for global implementation, or whta may be causing the performance lag. Thanks, Brian Cain

Re: SEO Redirection

2012-02-07 Thread Brian Cain
Good point on that. Thanks for the suggestion. Sent from my iPad On Feb 7, 2012, at 4:41 PM, Bobby Hartsfield bo...@acoderslife.com wrote: I think all of those lcase() and LEFT() calls are unnecessary as well. lists aren't known for their performance but in this case, I'd think this

Maximum Request Setting CF6

2011-11-08 Thread Brian Cain
Greetings, I have a legacy site running CF6.1 Enterprise. I have noticed that it will only process 8 requests at one time and will que the others. Does anyone know where I might be able to change this in CF6? I cannot find a setting for it.

Check for list of words in string

2011-10-11 Thread Brian Cain
in short, how do I search for keywords like select,declare in a string without looping over the keywords? Thanks, Brian Cain ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp

Re: Check for list of words in string

2011-10-11 Thread Brian Cain
the values or further analyze possible exploit attempts. I did end up using the regex for the query strings, but as always, no one solution is the perfect fit. Thanks, Brian Cain On Tue, Oct 11, 2011 at 12:52 PM, Brook Davies cft...@logiforms.com wrote: Wouldn't this also catch words like

Email Labs Mailing List API

2011-08-19 Thread Brian Cain
Does anyone have experience setting up an API call to the EMailLabs API? It accepts SOAP requests, but I am looking for a little jump start. Thanks, Brian Cain ~| Order the Adobe Coldfusion Anthology now! http

Re: coldfusion spreadsheet leading zeroes issue

2011-08-17 Thread Brian Cain
I know that it works within excel. Not sure if there is something else going on when creating a spreadsheet. I imported a tab delimited file that used the single quote preceding the zeros, and excel did not treat it the same way as when you use a single quote using excel directly. Sorry that

Re: coldfusion spreadsheet leading zeroes issue

2011-08-16 Thread Brian Cain
You could also try using a single quote as your leading character. This is how would would enter it in excel without changing the column formatting. BC On Tue, Aug 16, 2011 at 12:56 PM, Brook Davies cft...@logiforms.com wrote: This is an excel issue, not a CF issue. If you set the data type

Re: coldfusion spreadsheet leading zeroes issue

2011-08-16 Thread Brian Cain
The single quote does not appear. It is a special formatting rule for excel. It makes the column display as a character field by default. It is used specifically to handle leading zeros. Brian Cain On Tue, Aug 16, 2011 at 3:22 PM, funand learning funandlrnn...@gmail.comwrote: If I use

QoQ in Railo

2011-06-23 Thread Brian Cain
://local.careerspecific.com/jobs.cfm/SiteID/1/CatID/881/Engineering_Jobs.htm A link like the one above gives me a 404 error. Any ideas? Thanks, Brian Cain ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe

Re: QoQ in Railo

2011-06-23 Thread Brian Cain
Thanks, I will try there too. On Thu, Jun 23, 2011 at 12:16 PM, Che Vilnonis ch...@asitv.com wrote: Have you tried the Railo Group? It's worked for me in the past. http://groups.google.com/group/railo?lnk=srg ~Che -Original Message- From: Brian Cain [mailto:bcc9...@gmail.com

Re: (ot) Shameful

2011-05-26 Thread Brian Cain
I think this thread just took on a new life. On Thu, May 26, 2011 at 11:57 AM, DURETTE, STEVEN J (ATTASIAIT) sd1...@att.com wrote: Double tap to the chest and one to the head ensures a bullet-proof vest doesn't come back to haunt you. :P (That's my video game experience talking!)

Re: (ot) Shameful

2011-05-26 Thread Brian Cain
ROFL!!! Sent from my iPad On May 26, 2011, at 3:55 PM, John M Bliss bliss.j...@gmail.com wrote: cfdoubletap centermass=true / On Thu, May 26, 2011 at 3:54 PM, Dave Watts dwa...@figleaf.com wrote: I know about ColdFusion, and I know about firearms, purely through the accident of

Re: down?

2011-05-25 Thread Brian Cain
For split second yes. I freaked a little, and no I haven't been able to get to the HOF website all day. On Wed, May 25, 2011 at 2:46 PM, Paul Giesenhagen p...@quilldesign.comwrote: + 1 -Original Message- From: Jason Durham [mailto:jqdur...@gmail.com] Sent: Wednesday, May 25, 2011

Re: Including a variable within a database response

2011-04-01 Thread Brian Cain
be sure to specify the All scope. You may also want to look at the ReplaceNoCase function. Brian Cain On Fri, Apr 1, 2011 at 10:22 AM, Scott Williams myscottwilli...@yahoo.comwrote: Hi all -- I have a script that draws some text from a database, and I would like to embed a person's name within

Re: Output the value of dymanic session vars

2011-03-25 Thread Brian Cain
Try using cfset var=evaluate(HUMANRESEARCH_SB_MODULE#moduleID#_GROUP#groups.GroupID# = #session.institutionRegister.HUMANRESEARCH_SB_MODULE#moduleID#_groups.GroupID#) cfoutput#var#/cfoutput On Fri, Mar 25, 2011 at 9:21 AM, Torrent Girl moniqueb...@gmail.com wrote: I dynamically created a

Re: Data Truncation on TEXT field

2011-03-14 Thread Brian Cain
Check the advanced settings on the datasource in the CF Adminstrator. Make sure CLOB (Enable long text retrival) is checked , and increase the long text buffer to handle the larger data field size. ~| Order the Adobe

Re: CF9 Undelivr not working as expected

2011-03-14 Thread Brian Cain
If it is a valid formatted email address CF will send to the mail server regardless. I believe CF will only move something to undeliverable if it cannot connect to the mail server or if the email address in not in a valid format. Brian

Re: Serving Content based on Geolocation of IP address

2011-03-10 Thread Brian Cain
I use a product called ip2location. They have a dll that will return a country code based on ip. Usually work pretty well. It cost around $100/yr. I have mine setup as a com object under windows. Seems to be pretty low overhead. Sent from my iPhone On Mar 10, 2011, at 10:40 AM, Michael Grant

Re: Check boxes

2011-03-04 Thread Brian Cain
Are you doing the update via a SQL statement or stored proc? On Fri, Mar 4, 2011 at 11:01 AM, Scott Williams myscottwilli...@yahoo.comwrote: Hello all -- I have a form that contains checkboxes which sends multiple record numbers to an action form for processing. For example, it would

Re: Check boxes

2011-03-04 Thread Brian Cain
That is exactly what I was going to suggest. Good job. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive:

Re: I'm confused/stumped - cant figure this out

2011-03-03 Thread Brian Cain
Why are you using hidden text fields at all? You can put the amount in the options value attribute. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion

Re: (ot) People using your shop cart to test credit cards.

2011-02-25 Thread Brian Cain
. Brian Cain ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342594

Re: IE8 Form Submit button not being passed

2011-02-23 Thread Brian Cain
You could probably avoid a lot of code rewrites by changing from an image button to using styles and a background image. That is what I do and have been able to avoid that issue. Sent from my iPhoned On Feb 23, 2011, at 7:43 AM, Phillip Duba phild...@gmail.com wrote: Unfortunately John,

Re: Feedback on this approach to many sites, one codebase (MSOC)

2011-02-23 Thread Brian Cain
I wrote a custom desktop application in VB to update all my databases at one time. Using SQL scripting this can be easily managed. When I am ready to roll out a change that requires a DB update, I can do it in real time, with minimal service interruption, and without taking the sites offline.

Re: Feedback on this approach to many sites, one codebase (MSOC)

2011-02-23 Thread Brian Cain
Granted most of my changes are minor like updating a stored procedure or view or adding a column. I also run them on a test database first. Updates that may have a major impact on a table with millions of records, would never be done while the sites are up, but regular minor changes and fixes

Re: SELECT - Option selected

2011-02-17 Thread Brian Cain
I couldn't agree more. I abandoned CFFORM years ago. Sent from my iPhone On Feb 17, 2011, at 6:05 AM, Michael Grant mgr...@modus.bz wrote: In my experience CFForm is more trouble than it's worth. I generally just use regular forms + jquery to get elegant client-side validation. Much more

Re: Feedback on this approach to many sites, one codebase (MSOC)

2011-02-17 Thread Brian Cain
to include my code base. What setup are you using? Good luck, Brian Cain ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http

Re: SELECT - Option selected

2011-02-15 Thread Brian Cain
If you are talking the HTML select element it is selected=selected Sent from my iPhone On Feb 15, 2011, at 4:47 PM, Torrent Girl moniqueb...@gmail.com wrote: this is an old post but I am pulling my hair out as well. Does anyone know the answer to the select=true, select=selected problem?

Re: SQL selecting distinct items by date?

2011-02-14 Thread Brian Cain
Sorry I am a little late in the reply on this one, but did you try using the MAX function. SELECT DISTINCT TOP 5 pivot.CategoryID, Category.Name, MAX(Item.DateAdded) FROM Category INNER JOIN pivot ON Category.CategoryID = pivot.CategoryID INNER JOIN Item ON pivot.ItemID = Item.ItemID GROUP BY

Re: coldfusion errors

2011-02-08 Thread Brian Cain
Error handling is for run time errors. Your second example is a compile error. You cannot use error handling to fix this. You could try a site wide error handler, but that probably won't work either. Brian Cain Sent from my iPhone On Feb 8, 2011, at 7:30 PM, Richard Steele r

Re: Charge for meetings

2011-02-05 Thread Brian Cain
I follow the same basic rule. No charge on the initial consult, but hourly after that. It helps force the client to prepare and think through why they really want. Sent from my iPhone On Feb 5, 2011, at 4:19 PM, Phillip Vector vec...@mostdeadlygame.com wrote: I charge per hour. If you

Re: Subtracting two dates

2011-01-28 Thread Brian Cain
Use the DateDiff function. http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=functions_c-d_28.html ~| Order the Adobe Coldfusion Anthology now!

Re: PlainText email

2011-01-27 Thread Brian Cain
messages, and I was getting scores above 5.0 so I was worried. Brian Cain ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http

Re: PlainText email

2011-01-27 Thread Brian Cain
of the mail server software (Surgemail). Thanks, Brian Cain ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com

Re: PlainText email

2011-01-27 Thread Brian Cain
There is one coming your way from i...@careersinfood.com Thanks, Brian Cain ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http

Re: How would I do this in SQL?

2011-01-27 Thread Brian Cain
on this and it helps point you in the right direction. Brian Cain ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups

Re: How would I do this in SQL?

2011-01-27 Thread Brian Cain
NOT IN (SELECT DISTINCT category FROM products)) Basically you use the sub query to pull a list of all products that have a category assigned and the look for categories that are not in that list. Hopefully I am not way off on this and it helps point you in the right direction. Brian Cain

Re: How would I do this in SQL?

2011-01-27 Thread Brian Cain
Sorry that I answer didn't take inheritance into account. Is there a maximum number of levels of subcategories, or will it always be an unknown? I have done looping with tSQL in the past using cursors, and it really is a pain. You could use a UDF (User Defined Function) and return a table

Re: why is cf_builder so slow? (was: expensive)

2011-01-27 Thread Brian Cain
Not to get on the DW bashing wagon, I actually prefer DW for all my work, but I can be buggy as hell. I actually wrote a batch file to kill it when it won't close properly. I found for me when it would hang on close and I would kill the task it would hang on start the next time. I finally

PlainText email

2011-01-26 Thread Brian Cain
help would be appreciated. Thanks, Brian Cain ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk

Re: PlainText email

2011-01-26 Thread Brian Cain
help cut down on redundant coding. Thanks, Brian Cain ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf

Re: DSN Connection String - failover faster/better?

2011-01-26 Thread Brian Cain
) in less than 30 seconds. I am not a database expert, but love the setup I have now. Thanks, Brian Cain ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag