Re: Emailing a file to an application

2011-07-28 Thread Pete Ruckelshaus
Yeah, I do this for an app that allows a site admin to email pictures from his iphone to an email address, and then that email address gets culled for image attachments, which are then uploaded. On Wed, Jul 27, 2011 at 12:59 PM, Russ Michaels r...@michaels.me.uk wrote: I would however

Custom Tag, Caller Scope + Application.cfc

2011-07-28 Thread Adrian Wagner
Hello all. Long no post. I'm currently working on a module to a an existing, sprawling site that has grown without much planning to a size that was never anticipated. One of the things I need to do to build my module is switch the existing application.cfm to an application.cfc so that I can

RE: Its ColdFusion's Fault

2011-07-28 Thread Jenny Gavin-Wear
I totally agree. From: Mark A. Kruger mkru...@cfwebtools.com Sent: 26 July 2011 14:07 To: cf-talk cf-talk@houseoffusion.com Subject: RE: Its ColdFusion's Fault Do we have to go through this again.

Re: Custom Tag, Caller Scope + Application.cfc

2011-07-28 Thread Steve 'Cutter' Blades
In your Application.cfc, place your query in a persistent scope (which depends upon context). Change the custom tag to take the query in as an attribute. Change the custom tag calls to include the attribute, passing in the persistent scope var. Or, if you really can't change the custom tag

Problem with Client Variables not persisting.

2011-07-28 Thread Eric Cobb
I've got a strange problem here that I need some help figuring out. We have a site running on 8 load balanced CF 9 servers. We're doing a lot of stuff with Client Variables, and all of our code works fine in development/staging, but in production none of the client variables persist. After

Re: Problem with Client Variables not persisting.

2011-07-28 Thread Matthew Williams
I (used to) maintain a server with an app that did this as well. The code on staging worked, but was at CF9 with no patches. The production server was at 901. Staging had no firewall, but production is in a DMZ. We never did determine a why for this happening, and it ONLY happened on

Re: Problem with Client Variables not persisting.

2011-07-28 Thread Pete Freitag
Hi Eric, Yes if sticky sessions were not working or configured properly on your load balancer that would certainly cause you to get new CFID/CFTOKEN on each request. As of the ColdFusion security patch for session fixation (APSB11-04) if the CFID/CFTOKEN values do not correspond to a valid

Re: Problem with Client Variables not persisting.

2011-07-28 Thread J.J. Merrick
Eric, What LB product are you using? I have used pound in the past and with no sticky sessions the client vars persisted just fine. Oh and can I borrow your saw and drill next week? I want to make some nightstands :-D -J.J. On Thu, Jul 28, 2011 at 7:41 AM, Eric Cobb cft...@ecartech.com

Re: Problem with Client Variables not persisting.

2011-07-28 Thread Eric Cobb
Thanks Pete, Our host said they are having problems with the load balancer, so it looks like that's the problem. I was thinking about putting something out there to identify which server I was hitting. I'll probably put some type of small flag in a comment on the pages so I can just view

Re: Problem with Client Variables not persisting.

2011-07-28 Thread Eric Cobb
I really don't have any idea what LB they're using. Whatever it is, they're having problems with it so I blame it on that. :) Sure thing, I'll get up with you this weekend. :) From: J.J. Merrick j...@cyber-jay.com Sent: Thursday, July 28, 2011 9:48

QofQ cast and valuelist

2011-07-28 Thread Richard White
Hi, i am running a Query of Query with the following where clause: WHERE QueryA.column1 NOT IN (#ValueList(QueryB.column1)#) However, i get an error saying it cant compare an integer with a string. so usually i wrap the columns in a CAST as follows: WHERE CAST(QueryA.subjectID AS VARCHAR)

Re: QofQ cast and valuelist

2011-07-28 Thread Mahcsig
If you use quotedValueList instead of valueList, it will wrap the values in single quotes. Would that work? ~Mahcsig On Thu, Jul 28, 2011 at 10:48 AM, Richard White rich...@j7is.co.uk wrote: Hi, i am running a Query of Query with the following where clause: WHERE QueryA.column1 NOT IN

Re: QofQ cast and valuelist

2011-07-28 Thread Richard White
thanks that worked :) If you use quotedValueList instead of valueList, it will wrap the values in single quotes. Would that work? ~Mahcsig On Thu, Jul 28, 2011 at 10:48 AM, Richard White rich...@j7is.co.uk wrote: ~|

Re: QofQ cast and valuelist

2011-07-28 Thread Mahcsig
Cool, you could also use cfqueryparam cfsqltype=cf_sql_varchar list=true if you can't trust the input. ~Mahcsig On Thu, Jul 28, 2011 at 11:00 AM, Richard White rich...@j7is.co.uk wrote: thanks that worked :) If you use quotedValueList instead of valueList, it will wrap the values in

ColdFusion 9 64-bit Image Manipulation

2011-07-28 Thread Donnie Carvajal
We are upgrading our system to CF9 64-bit and our CFX tags we use for image resizing and info gathering are not working. We get an unable to load library error. Since these tags have been in this application for over 10 years, I will assume that they were compiled for 16-bit and 64-bit CF on

Re: ColdFusion 9 64-bit Image Manipulation

2011-07-28 Thread Pete Freitag
Lots of image functions were built into ColdFusion starting with version 8: http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec1a60c-7ffc.html#WSc3ff6d0ea77859461172e0811cbec22c24-66e4 -- Pete Freitag - Adobe Community Professional http://foundeo.com/ - ColdFusion

Re: QofQ cast and valuelist

2011-07-28 Thread Richard White
thanks i tried that too although strangely it resulted in incorrect data appearing in the query Cool, you could also use cfqueryparam cfsqltype=cf_sql_varchar list=true if you can't trust the input. ~Mahcsig On Thu, Jul 28, 2011 at 11:00 AM, Richard White rich...@j7is.co.uk wrote: