RE: Replace Question

2012-06-27 Thread Robert Harrison
jagger" was guy with big lips who dreamed of being a Beatle... Is there a way I could do the replace to highlight the result and NOT change the case? Thanks, Robert Robert Harrison Director of Interactive Services Austin & Williams Advertising I Branding I Digital I Direct 12

Replace Question

2012-06-27 Thread Robert Harrison
ed of being a Beatle... Is there a way I could do the replace to highlight the result and NOT change the case? Thanks, Robert Robert Harrison Director of Interactive Services Austin & Williams Advertising I Branding I Digital I Direct   125 Kennedy Drive,  Suite 100   I  Hauppauge, NY 11788

RE: CFHeader Problem

2012-06-27 Thread Robert Harrison
> but I have a related question for you. If you're serving files in your web > root, why are you bothering to use CFCONTENT to serve them? This of that example as "foo". It's for illustration only :-) Robert Harrison Director of Interactive Services Austin & W

RE: Thousand Separator ONLY

2012-06-26 Thread Robert Harrison
I believe you do your own format mask? I don't know the length of your number, but I think NumberFormat(myvar,"__,___.__") would work to cover most any number you throw at it. Robert Harrison Director of Interactive Services Austin & Williams Adver

RE: CFHeader Problem: SOLVED (sort of)

2012-06-26 Thread Robert Harrison
are >still looking. For now, increasing the Java Heap Size Max has solved the problem. Robert Harrison Director of Interactive Services Austin & Williams Advertising I Branding I Digital I Direct   125 Kennedy Drive,  Suite 100   I  Hauppauge, NY 11788 T 631.231.6600 X 119   F 631.434.7022  

RE: Thousand Separator ONLY

2012-06-26 Thread Robert Harrison
Should be able to do that with a number format mask http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=functions_m-r_08.html Robert Harrison Director of Interactive Services Austin & Williams Advertising I Branding I Digital I Direct   125 Kennedy Drive,  Suite 100

RE: CFHeader Problem

2012-06-26 Thread Robert Harrison
According to the documentation the default is "yes". Robert Harrison Director of Interactive Services Austin & Williams Advertising I Branding I Digital I Direct   125 Kennedy Drive,  Suite 100   I  Hauppauge, NY 11788 T 631.231.6600 X 119   F 631.434.7022   http://www.austi

CFHeader Problem

2012-06-26 Thread Robert Harrison
in a CFTRY it does not thrown an error). When I abort (exit the spinning page) I get a diagnostic dump: Java heap space null The error occurred on line -1. What the heck? I I doing something wrong? Robert Harrison Director of Interactive Services Austin & Williams Advertis

RE: getting back to indexing .cfm files

2012-06-19 Thread Robert Harrison
Yep. We use Google custom search all the time. It's easy. Why re-invent the wheel? Robert Harrison Director of Interactive Services Austin & Williams Advertising I Branding I Digital I Direct   125 Kennedy Drive,  Suite 100   I  Hauppauge, NY 11788 T 631.231.6600 X 119   F 631

RE: CF Header to Serve a File

2012-06-14 Thread Robert Harrison
Thanks. Issue resolved. The problem was a corrupt test file. Robert Harrison Director of Interactive Services Austin & Williams Advertising I Branding I Digital I Direct   125 Kennedy Drive,  Suite 100   I  Hauppauge, NY 11788 T 631.231.6600 X 119   F 631.434.7022   http://www.au

CF Header to Serve a File

2012-06-14 Thread Robert Harrison
physical path to the file and the file name No matter what I do it does not seem to know where the file is (get_file) is the full drive path and file name. It always tries to download from the web root. What am I missing here? Thanks, Robert Harrison Director of Interactive Services

RE: Data Truncation on CFquery Update: SOLVED

2012-06-13 Thread Robert Harrison
Thanks Rob Parkhill. It was the Max data length in cf admin.It was set to 64,000 characters by default. Adjusting that solved the problem. Robert Harrison Director of Interactive Services Austin & Williams Advertising I Branding I Digital I Direct   125 Kennedy Drive,  Suite 100

Date Truncation on CFquery Update

2012-06-13 Thread Robert Harrison
t the culprit. Any ideas what is causing the truncation? Thanks Robert Harrison Director of Interactive Services Austin & Williams Advertising I Branding I Digital I Direct   125 Kennedy Drive,  Suite 100   I  Hauppauge, NY 11788 T 631.231.6600 X 119   F 631.434.7022   http://www.austin-wil

RE: finding html tags

2012-06-07 Thread Robert Harrison
Yes, remove the htmlCodeFormat from your statement. What exactly are you trying to do? Robert Harrison Director of Interactive Services Austin & Williams Advertising I Branding I Digital I Direct   125 Kennedy Drive,  Suite 100   I  Hauppauge, NY 11788 T 631.231.6600 X 119   F 631.434.

RE: Get First Paragraph: SOLVED

2012-06-04 Thread Robert Harrison
a pain that was. Thanks for the help. Robert Harrison Director of Interactive Services Austin & Williams Advertising I Branding I Digital I Direct   125 Kennedy Drive,  Suite 100   I  Hauppauge, NY 11788 T 631.231.6600 X 119   F 631.434.7022   http://www.austin-williams.com Blog:

RE: Get First Paragraph: Remove Empty Paragraphs

2012-06-04 Thread Robert Harrison
 )*', '', 'all' )# To This: #reReplaceNoCase(myString,'([^\w*?])*','','all' )# This seems to be working. Can someone that knows regex better that I confirm the "to this" says:Strip from to UNLESS it contains a letter or

RE: Get First Paragraph: Remove Empty Paragraphs

2012-06-04 Thread Robert Harrison
? No one know a method to strip empty paragraphs from a string? I'd like to remove all occurrences of paragraphs that have no content - stuff like: , OR OR   Any ideas? Thanks Robert Harrison Director of Interactive Services Austin & Williams Advertising I Branding I Digital

RE: Get First Paragraph: Remove Empty Paragraphs

2012-06-04 Thread Robert Harrison
Getting close, no I'm trying to consider any empty paragraphs. Tried this: , , "," , , ")> But it does not work completely. How could I remove all paragraphs that are empty, or contain only blanks or non-breaking spaces? Robert Harrison Director of Inter

RE: Get First Paragraph

2012-06-04 Thread Robert Harrison
> Don't forget to check CFLib for things like this... > http://www.cflib.org/udf/firstParagraph That was my starting point. That does not work if the string starts with something other than a paragraph. Robert Harrison Director of Interactive Services Austin & William

Get First Paragraph

2012-06-04 Thread Robert Harrison
endTag = endTag + 3; extract = left(str, endTag); } else { extract = str; } if (startTag gt 0) { startTag = startTag + 4; extract = right(extract, startTag); } else { extract = str; } return extract; } #getFirstParagraph(comment)# Tha

RE: Variables

2012-05-16 Thread Robert Harrison
If the var is used only within a single program a regular local var is fine. If the var needs to persist and be recalled from another program later (i.e., a program where the var is not passed as a URL or form value), then use the session.var. Robert Harrison Director of Interactive

RE: Holy sweet mother of Jeremy Allaire...

2012-05-15 Thread Robert Harrison
When did CF10 come out? http://www.adobe.com/products/coldfusion-family.html I saw no mention of this anywhere, and to find this page you have to go to Products / More Products - then scroll down the alphabetic listing and click on Cold Fusion. Robert Harrison Director of Interactive

RE: CFIMAGE Killing the Server

2012-05-07 Thread Robert Harrison
> Are you informing the user when a specific image is rejected? Yes. Of course. Robert Harrison Director of Interactive Services Austin & Williams Advertising I Branding I Digital I Direct   125 Kennedy Drive,  Suite 100   I  Hauppauge, NY 11788 T 631.231.6600 X 119   F 631.4

RE: CFIMAGE Killing the Server

2012-05-07 Thread Robert Harrison
GE does convert the CYMK to RGB, but that apparently requires significant processing resources. Robert Harrison Director of Interactive Services Austin & Williams Advertising I Branding I Digital I Direct   125 Kennedy Drive,  Suite 100   I  Hauppauge, NY 11788 T 631.231.6600 X 119   F 6

RE: CFIMAGE Killing the Server

2012-05-07 Thread Robert Harrison
> CORRECTION: The images are also being resized to a large and standard view > size using CFIMAGE Robert Harrison Director of Interactive Services Austin & Williams Advertising I Branding I Digital I Direct   125 Kennedy Drive,  Suite 100   I  Hauppauge, NY 11788 T 631.231.6600

CFIMAGE Killing the Server

2012-05-07 Thread Robert Harrison
loads the server whiles until it catches up... then everything comes back. What is the best approach we can take to ensure we don't overload the server when doing this? Would that be CFTHREAD or something? Any ideas? Thanks Robert Harrison Director of Interactive Services Austin

RE: (ot) Blocking IPs

2012-05-02 Thread Robert Harrison
inst blanket IP blocking. Robert Harrison Director of Interactive Services Austin & Williams Advertising I Branding I Digital I Direct   125 Kennedy Drive,  Suite 100   I  Hauppauge, NY 11788 T 631.231.6600 X 119   F 631.434.7022   http://www.austin-williams.com Blog: http://www.austi

(ot) Blocking IPs

2012-05-02 Thread Robert Harrison
sites other parts of the world, like places in Asia, the Middle East, South and Central America, etc. I'm not surprised at the complaints. Is this a normal practice, or is this host over-zealous? Robert Harrison Director of Interactive Services Austin & Williams Advertising I Brandi

RE: Coldfusion MS acess question

2012-04-19 Thread Robert Harrison
>datepart("q", datecolumn) AS quarter, column1, column2 Did you verify the datecolumn is a properly defined as a date field in the data base and does not have 'null' values? Robert B. Harrison Director of Interactive Services Austin & Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P

cf-talk@houseoffusion.com

2012-04-17 Thread Robert Harrison
Does anyone know where you can download the custom tag and where you can find decent documentation on the PHP functions that are available when using that tag? Thanks, Robert Robert B. Harrison Director of Interactive Services Austin & Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788

RE: Browser and OS detection with CF

2012-03-19 Thread Robert Harrison
Check out the cgi vars: http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Expressions_8.html Should all be available there. Robert B. Harrison Director of Interactive Services Austin & Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 63

Image Crop/Resize Tool

2012-02-24 Thread Robert Harrison
Does anyone know of a decent utility or CF compatible code that could be used to help users resize/crop the images they've uploaded. I know I could use CFIMAGE to do it, but I'd like to add something to the CMS that let users see what they are doing before they do it. Any ideas on what may be

RE: Opinion: Abuse of session variables

2012-01-31 Thread Robert Harrison
Thanks for all the input. Besides the fact that the application could conceivably have hundreds of thousands of session Vars in memory, I'm concerned about collision too. I see no scope referencing in these Vars and see they are all 'common names'. I also see no routines to clear any vars af

Opinion: Abuse of session variables

2012-01-31 Thread Robert Harrison
I'm an old school programmer who watches every bit and byte and really practices resource management in my coding practices. I've got a new programmer working for me (on contract) and I'm finding he's using session Vars all over the place. He creating session Vars on forms that have a hundred

RE: PHP The Anthem

2012-01-27 Thread Robert Harrison
Sounds like gangstas ... perfect positioning for PHP. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups

RE: CFSELECT - Required

2011-12-16 Thread Robert Harrison
> Button line was Uhm... that's supposed to be Bottom line. Auto spelling correction on typos can be unpredictable some times. Robert B. Harrison Director of Interactive Services Austin & Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 ht

RE: CFSELECT - Required

2011-12-16 Thread Robert Harrison
> Try adding 'selected' property to your first option tag: > Month Thanks, but I've tried pretty much every variation you can think of, including that. Button line was on this form we abandoned use of CFForm and I just wrote a custom validation for the form. I hate having to do that though. I

RE: Very disappointing statis

2011-12-14 Thread Robert Harrison
> ColdFusion has a huge market "behind the firewall" in corporate and > government intranets and other places that these kinds of surveys can't > report on That may be true. Does anyone know of solid statistics on CF market share of CMS driven sites. Any stats that look more promising than thi

RE: Very disappointing statis

2011-12-14 Thread Robert Harrison
Yes you can run JS server side. It's rare: http://en.wikipedia.org/wiki/Nodejs However, the focus is 1.2% ColdFusion. OMG. Robert B. Harrison Director of Interactive Services Austin & Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://

RE: Very disappointing statis

2011-12-14 Thread Robert Harrison
> The following server-side programming languages are used by less than 0.1% of > the websites >JavaScript >> All credibility is lost with that statement I don't think so. There are a few people using Javascript on the server. I've actually seen it once. Crazy, but nonetheless it is rea

Very disappointing statis

2011-12-14 Thread Robert Harrison
Very disappointing statistics for ColdFusion market penetration. http://w3techs.com/technologies/overview/programming_language/all Robert B. Harrison Director of Interactive Services Austin & Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022

RE: CFSELECT - Required

2011-12-13 Thread Robert Harrison
> The message isn't appearing because your form element has a value. the blank > space is considered a value. According to the CF documentation that is how to make it work. Regardless, it also does not work if you say value="" or leave out the value clause altogether. I looked this up on

CFSELECT - Required

2011-12-13 Thread Robert Harrison
According to the CF documentation you can make a select list required and you can get around the need to set the size gt 1 by entering " " as the value of the first option. This is the documentation: REQUIRED... Note: This attribute has no effect if you omit the size attribute or set it

RE: application vars

2011-11-21 Thread Robert Harrison
> ok, as a side note, another way to handle the https requirement is with url > rewriting, just store a list of url's that need to be https and redirect if > they are accessed at http. These sites tend to get moved around and I use a custom built framework. This works so I can just move this s

RE: application vars

2011-11-21 Thread Robert Harrison
> if you have both variables stored in application scope, why bother copying > them to local scope, just use the one you need directly from application > scope. Because many of the pages use include files that also use that var. Using them like this makes the var change on the include file and

RE: application vars

2011-11-21 Thread Robert Harrison
Sent: Monday, November 21, 2011 4:20 PM To: cf-talk Subject: Re: application vars That would work just fine. Note that you don't need the "##" when assigning variables like that. will do. On 11/21/11 1:15 PM, Robert Harrison wrote: > Ok. So if I want to create a global v

RE: application vars

2011-11-21 Thread Robert Harrison
Ok. So if I want to create a global var that's almost always the same (with a few exceptions), I could do the following in the application.cfc: Set up the application vars I always want available. Set up the most standard use like below (whic

application vars

2011-11-21 Thread Robert Harrison
If I have an application variable "application.myvar" and I reset it on any page, it resets that variable for the entire application. Is there a way I can reset an application variable for just the page where the reset lives? Robert B. Harrison Director of Interactive Services Austin & Will

RE: Query Errors

2011-11-18 Thread Robert Harrison
Well, the errors stopped. Everything on the query checks out fine and the logs don't show any issues. I'm stumped. Probably a connectivity problem but see no other evidence of that. I guess I'll let it ride as a glitch and see what happened. Strange. Robert B. Harrison Director of Interact

Query Errors

2011-11-18 Thread Robert Harrison
I've been using the query below in a CFC for months and today it started throwing random time out errors. Nothing has changed. Any thought as to why I may be getting errors on this query all of the sudden? SELECT TOP 1 portal_polls.poll_id, portal_polls.question, portal_polls.answer1, porta

RE: CF in the news

2011-10-21 Thread Robert Harrison
Link appears to be broken. Robert B. Harrison Director of Interactive Services Austin & Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or.  It must be &. Plug in to our blog:

RE: Annoying CF Form Validation Error

2011-10-21 Thread Robert Harrison
> there is a minor error in the CF form validation when you use > validate="float". It does not validate correctly. It allows both a $ sign > and/or a , to be inserted in the field. And, to make it worse, if you enter a $ sign in a field with validate="float" it kills all validation on the f

Annoying CF Form Validation Error

2011-10-20 Thread Robert Harrison
Well, this is just an annoyance, but it seems there is a minor error in the CF form validation when you use validate="float". It does not validate correctly. It allows both a $ sign and/or a , to be inserted in the field. That's just wrong. Robert B. Harrison Director of Interactive Services

RE: Question about SQL Encryption VS CF Encryption

2011-10-20 Thread Robert Harrison
Actually you don't need to decrypt passwords at all. For something like passwords you could use HASH store them in the data base. Then to check to see that a user's password is correct, also convert that to a has value and compare hash value to hash value. At least, that's how I do it. Some sa

RE: Error message

2011-10-20 Thread Robert Harrison
It appears you are allowing user to enter some values then storing them as cookies. The error you are showing looks like it may be a syntax error in the CF code where some line is not seeing the values correctly. This could happen if you get a stray " or stray # in your user values somewhere an

RE: cgi.HTTP_USER_AGENT

2011-10-19 Thread Robert Harrison
I added the meta tags: and it's still reporting back as IE7 in the https://portal.vaughn.edu/test_useragent.cfm environment. That code should have forced it to IE9 standards. What the heck! Robert B. Harrison Director of Interactive Services Austin & Williams 125 Kennedy Drive, Su

RE: cgi.HTTP_USER_AGENT

2011-10-19 Thread Robert Harrison
> Your browser is what is sending that data - it's part of the HTTP request > packet the browser sends when it requests a file. Same browser from same machine reporting differently on different environments. Exact same CF file generating the output. There is something more going on here. Rob

RE: cgi.HTTP_USER_AGENT

2011-10-19 Thread Robert Harrison
Even stranger now... https://portal.vaughn.edu/test_useragent.cfm this is reporting IE9 incorrectly. http://www.austin-williams.com/test_useragent.cfm this is reporting IE9 correctly. These site are on the same CF9 server. The only difference I can think of now would be some setting we

cgi.HTTP_USER_AGENT

2011-10-19 Thread Robert Harrison
I have an issue where user agent (cgi.HTTP_USER_AGENT) for IE 9 is being reported correctly on one server and incorrectly on another... http://www.vaughn.edu/test_useragent.cfm Reporting IE 9 correctly on CF8 server http://www.austin-williams.com/test_useragent.cfm Reporti

RE: Clean URLs: Preferred IIS Method

2011-10-06 Thread Robert Harrison
Does anyone have any experience with this: http://iirf.codeplex.com/ This has also been suggested as a solution... and the one thing I like is that is utilizes an .ini file in the root of the site. That would mean we could make the CF programs rewrite or update the .ini file when there are add

Clean URLs: Preferred IIS Method

2011-10-06 Thread Robert Harrison
We have a request to use only "clean" URLs. That is, URLs with not file name, like http://www.mysite/news/2011/this-is-my-story I've gotten this to work like http://www.mysite/news.cfm/2011/this-is-my-story, but can't quite get to the format above. We are runn

RE: detecting mobile devices

2011-10-04 Thread Robert Harrison
This works. Yes, I am a mobile device. No, I'm not a mobile device Robert B. Harrison Director of Interactive Services Austin & Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great ad

RE: multiple email addresses in cfmail FROM attribute

2011-09-29 Thread Robert Harrison
attribute Yes Robert, instead of using form="#form.email# just put mine in there. Steve LaBadie, Web Manager East Stroudsburg University 570-422-3999 http://www.esu.edu slaba...@esu.edu -Original Message- From: Robert Harrison [mailto:rob...@austin-williams.com] Sent: Thursday, Septem

RE: multiple email addresses in cfmail FROM attribute

2011-09-29 Thread Robert Harrison
That was what you wanted... yes? Robert B. Harrison Director of Interactive Services Austin & Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or.  It must be &. Plug in to ou

RE: multiple email addresses in cfmail FROM attribute

2011-09-29 Thread Robert Harrison
end the form data via email to the owner of the form, not to the people registering. Steve LaBadie, Web Manager East Stroudsburg University 570-422-3999 http://www.esu.edu slaba...@esu.edu -Original Message- From: Robert Harrison [mailto:rob...@austin-williams.com] Sent: Thursday, Septem

RE: Java Files in CF

2011-09-29 Thread Robert Harrison
-- > From: Russ Michaels [mailto:r...@michaels.me.uk] > Sent: Thursday, September 29, 2011 2:24 PM > To: cf-talk > Subject: Re: Java Files in CF > > > put then in the lib folder, or you could always use JavaLoader to do within > CF. > > > On Thu, Sep 29, 2011 at 7:

RE: multiple email addresses in cfmail FROM attribute

2011-09-29 Thread Robert Harrison
I still don't understand what you want to do from that. What's the action you want to take? Do you want to send mail to the people in the form? Do you want to send an email to someone else with the form data in the email? What's the goal? -Original Message- From: Steve LaBadie [m

RE: Java Files in CF

2011-09-29 Thread Robert Harrison
va Files in CF put then in the lib folder, or you could always use JavaLoader to do within CF. On Thu, Sep 29, 2011 at 7:20 PM, Robert Harrison wrote: > > I have a guy writing a procedure that will allow students to automatically > log-in to various sites via buttons in the student p

RE: multiple email addresses in cfmail FROM attribute

2011-09-29 Thread Robert Harrison
I thought from what I read he wanted to send an email to each of the addresses in the form... that's why I suggested the loop. I might have misunderstood what he wanted to do. ~| Order the Adobe Coldfusion Anthology now! http

Java Files in CF

2011-09-29 Thread Robert Harrison
I have a guy writing a procedure that will allow students to automatically log-in to various sites via buttons in the student portal (a secure CF site on my server requiring log-in credentials). He wrote the code for this in java and provided two .jar files. Now he's asking me to copy the .jar

RE: multiple email addresses in cfmail FROM attribute

2011-09-29 Thread Robert Harrison
Something like this should work. 1. Use the same field name on each field. The result of that will be that when you submit, you'll send a comma delimited list of email values Email: 2. Do a form submit to the next step 3. Loop over the comma delimited list of email addresses and genera

Executing Java in CF

2011-09-26 Thread Robert Harrison
Hi, I'm having no luck finding this documentation, maybe someone know off the top of their head. I have some server sided java code I need to execute in a coldfusion page. That may call either a .war or .jar file. How do I specify in the CF page that a portion of the code is JAVA? Thanks,

RE: Date Question

2011-09-22 Thread Robert Harrison
ystems.com] Sent: Thursday, September 22, 2011 1:53 PM To: cf-talk Subject: Re: Date Question Convert to EST by using DateAdd() to add/subtract the correect number of hours and then use dateCompare() to check the CST date against now() (for the 24 hours check) Cheers On Thu, 2011-09-22 at 12:52 -0400

Date Question

2011-09-22 Thread Robert Harrison
I have a date string I'm reading from an XML file. It's in this format: Tue, 20 Sep 2011 10:20:27 CST I'm in EST. How can convert this string to a data time value I can work with and tell if the data is more than 24 hours old? Robert B. Harrison Director of Interactive Serv

RE: 20USD/Hour Seriously?

2011-09-22 Thread Robert Harrison
I agree. For $20/hr ... I wouldn't even talk for less than $60... but I'd expect better and generally get it. Robert B. Harrison Director of Interactive Services Austin & Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-wi

RE: 20USD/Hour Seriously?

2011-09-22 Thread Robert Harrison
20USD/Hour Seriously? > Is it just me or does this post smell of trollage? I though it smelled a bit like Mumbai ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?ta

RE: Application.cfc OnErrorRequest

2011-09-22 Thread Robert Harrison
Found it... In spite of Adobe's documentation which says: This method does not return a value; do not use the cfreturn tag. (http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=AppEvents_06.html) Adding Now this (below) works as expected:

RE: Application.cfc OnErrorRequest

2011-09-22 Thread Robert Harrison
Using Still gives me a blank page with no error information. Robert B. Harrison Director of Interactive Services Austin & Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either

Application.cfc OnErrorRequest

2011-09-22 Thread Robert Harrison
Hi, I have a site I'm converting to use application.cfc rather than application.cfm. I have a setting I use to say I'm on local (development mode) or live. If application.setlocal eq 1 I'm in dev mode and it turns a bunch of stuff on or off to help me with development. Works perfectly for eve

RE: Graphical Tree Image Output

2011-09-21 Thread Robert Harrison
CFTREE http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_t_10.html Robert B. Harrison Director of Interactive Services Austin & Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great adv

RE: How to fix the wrong time of the scheduled task on Admin

2011-09-09 Thread Robert Harrison
> Thank you very much. It is a time zone issue Wish I could have stayed on that thread because I probably could have stepped you right through it... but suddenly everything on my desk is an emergency and I haven't looked at the list so much. Looks like I'll be here all weekend... same as two

RE: How to fix the wrong time of the scheduled task on Admin

2011-09-08 Thread Robert Harrison
Check your time zone settings. That sounds like a time zone offset. Robert B. Harrison Director of Interactive Services Austin & Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be eit

RE: Strange Catch 22 Situation

2011-09-08 Thread Robert Harrison
s/3605362/swf-not-loading-in-ie8-after-we-switched-to-ssl On Thu, Sep 8, 2011 at 1:59 PM, Robert Harrison wrote: > > > I've had this exact thing happen. Just swap https for http in your > > object > values. They all have a secure version for exactly this type of thing. > &g

RE: Strange Catch 22 Situation

2011-09-08 Thread Robert Harrison
> I've had this exact thing happen. Just swap https for http in your object > values. They all have a secure version for exactly this type of thing. Yes, that's what we did and it works in all browsers except IE 8. IE 8 won't load the YouTube video via https. All other the browsers work fine.

RE: (ot) Best Site Search Solution

2011-09-08 Thread Robert Harrison
We use the Google paid version frequently. It works well; it's easy to implement. Here's a couple of samples if you want to see it can be customized to match your site: http://www.rivkinradler.com or http://www.vaughn.edu/ Robert B. Harrison Director of Interactive Services Austin & Williams

Strange Catch 22 Situation

2011-09-08 Thread Robert Harrison
This is not exactly a CF program (although it's a CF site), but I could still use any ideas anyone may have. We have a portal page that runs in secure sockets (https). Part of the page pulls in some social media (Facebook, YouTube, Twitter). If we pull these in using non-secure (http) IE giv

RE: BUG in CF9 Encrypt and Decrypt?

2011-08-31 Thread Robert Harrison
Yes, it's the TRIM. Thanks... I'm just so used to using trim I never thought about it trimming spaces when they are part of the encrypted value. But now I'll remember that. Thanks Robert B. Harrison Director of Interactive Services Austin & Williams 125 Kennedy Drive, Suite 100 Hauppauge

RE: BUG in CF9 Encrypt and Decrypt?

2011-08-31 Thread Robert Harrison
OT: You can nix the extraneous pound signs. On Wed, Aug 31, 2011 at 2:06 PM, Robert Harrison wrote: > > Am I doing something wrong here? See these lines of code. > > > > > > This gives the error: The input and output encodings are not same. > > Most of the time t

RE: BUG in CF9 Encrypt and Decrypt?

2011-08-31 Thread Robert Harrison
This has got to be a bug. The question is does this make CF encrypt and decrypt totally unreliable, or is there something I know I can count on to work around this... like make a longer key or something? -Original Message- From: Robert Harrison [mailto:rob...@austin-williams.com

BUG in CF9 Encrypt and Decrypt?

2011-08-31 Thread Robert Harrison
Am I doing something wrong here? See these lines of code. This gives the error: The input and output encodings are not same. Most of the time this works fine. Change the testval or change the key it works... but every now and then I get the error. Am I doing something wrong, or is this a

RE: Application Variable Randomly Resetting

2011-08-23 Thread Robert Harrison
I've seen this before with a client who decided to 'clone' an application and adapt it for other purposes. They wound up having several applications on the same server with the same application name. Every now and then applications vars and session vars would jump across applications. Check t

RE: What the heck

2011-08-22 Thread Robert Harrison
> Your comment mentions cookie .. should it be ("cookie.userid")? That's further down :-) Robert B. Harrison Director of Interactive Services Austin & Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F

RE: What the heck

2011-08-22 Thread Robert Harrison
se Sr. Web Application Developer/ Systems Administrator CF Webtools www.cfwebtools.com wilg...@trunkful.com www.trunkful.com On Aug 22, 2011, at 12:50 PM, Robert Harrison wrote: > > What am I missing here > > Element USERID is undefined in SESSION. > The error occurred in >

What the heck

2011-08-22 Thread Robert Harrison
What am I missing here Element USERID is undefined in SESSION. The error occurred in C:\inetpub\wwwroot\vaughn_college_portal\_main_securecheck.cfm: line 3 1 : 2 : 3 : ~| Order the Adobe Coldfusion Anthology now! http:

RE: CFLOCK QUESTION

2011-08-22 Thread Robert Harrison
ifference is it is not as critical as session, as session can be hijacked and is why you want to keep them as low as possible. On Tue, Aug 23, 2011 at 12:54 AM, Robert Harrison < rob...@austin-williams.com> wrote: > > Wow. I've been writing CF since 4.0 and never understood t

RE: CFLOCK QUESTION

2011-08-22 Thread Robert Harrison
Wow. I've been writing CF since 4.0 and never understood that correctly. I thought the session variables lasted from when they were first set until time-out. Now if I'm understanding this correctly session variables timeout is actually defining only the length of time the user can be idle..

RE: CFLOCK QUESTION

2011-08-22 Thread Robert Harrison
> remember that when a page from a session is requested this value is always > reset back to the value you define in your application settings. Are you saying the each time a page is requested the session variable timeout is reset? Sounds like that's what you are saying, Robert B. Harrison

RE: CFLOCK QUESTION

2011-08-22 Thread Robert Harrison
> why do you make your application last the same value as the session scope? Do > you really need your application to be reset every 4 hours Good question. For now we're still adjusting the programming and I want the application to reset more frequently until the system is more stabilized. It'

CFLOCK QUESTION

2011-08-22 Thread Robert Harrison
I know this is a stupid question, but I still want to be sure I'm doing this right. I have a 'Portal' which is tailored to individuals. I'm using session.userid to identify individual users so I can do lookups, etc. as specified in their various profiles. I want the session variable to last ar

RE: ColdFusion 10 and beyond

2011-08-09 Thread Robert Harrison
> How sad is it that the ColdFusion team blog is using WordPress? Why not > BlogCFC or MangoBlog? Well, I kid you not, but for a little while the Microsoft Developer Network site was done in Cold Fusion. They changed that rather quickly. I would hope Adobe would do the same... but then again

<    1   2   3   4   5   6   7   8   >