Re: CFCs, Scopes Thread Safety code review

2008-12-31 Thread Glyn Jackson
Hi again Isaac, you just hit the nail on the head, the query given is just 1 of hundreds in that CFC but the problem of the user deleting a category happen sometime back. Halloween products after the season had ended and a customer placed an order they should not. I put it down to a catching

Re: How to deal with multiple sites within one

2008-12-31 Thread Glyn Jackson
i think this is more of a IIS issue than CF. yes you can use CGI to redirect the user but why do it at this level. if each domain is on the same server you can just setup one ColdFusion datasource then each domain can access the same database and its content. if you want to keep it secure

Re: How to deal with multiple sites within one

2008-12-31 Thread Will Tomlinson
i also have to warn you having multiple domains with the same content can class as duplicated content in Google. If Google decides the websites are the same it WILL only index one of them or only one domain will come up per search query i.e. sports. this rule will also apply to sub

Re: sharing vars between applications

2008-12-31 Thread Ryan Stille
If the two sites are on the same server, OR they use the same client variables database (and don't use any session variables), you can push the user over to the other site, sending along their cfid cftoken and their session should persist. You will probably need to make a few changes to your

ColdFusion Components: Setting dynamic arguments dynamically

2008-12-31 Thread Scott Stewart
Confused programmer is confused (just because the title sounds like LOLSpeak) I've got this little piece of code that dynamically creates and populates a structure key pair, based on what's sent from a form with a dynamically generated set of fields (javascript add row) For (i=1;i LTE

RE: ColdFusion Components: Setting dynamic arguments dynamically

2008-12-31 Thread Andy Matthews
You've got three options to pass arguments into a method. Specific placement: methodName('andy',42) Arguments must be in the slot in which they're defined in the method. Named arguments: methodName(name='andy',id=42) Arguments can be passed in any arrangement you like Argument collection:

Re: ColdFusion Components: Setting dynamic arguments dynamically

2008-12-31 Thread Scott Stewart
Here's a little more background This creates structure keys and populates them in the session scope session.NODA09_formStruct=StructNew(); For (i=1;i LTE Form.PE_Counter; i=i+1) if(StructKeyExists(FORM,'play_'i)){

Re: ColdFusion Components: Setting dynamic arguments dynamically

2008-12-31 Thread Francois Levesque
You can actually use the session key in your argumentCollection: methodName( argumentCollection = session.NODA09_formStruct ) Enjoy! Francois Levesque http://blog.critical-web.com/ On Wed, Dec 31, 2008 at 10:37 AM, Scott Stewart saste...@email.unc.eduwrote: Here's a little more background

isvalid time and timeformat discrepency

2008-12-31 Thread Richard White
hi i am using the isvalid and timeformat functions as follows: cfset newTime = 12:00 cfif isvalid(time, newTime) cfoutput#timeformat(newTime,'HH:mm:ss')#/cfoutput cfelse cfoutputinvalid time/cfoutput /cfif this example works fine and outputs the correct time 12:00:00 however if i change

Re: CFCs, Scopes Thread Safety code review

2008-12-31 Thread s. isaac dealey
Hi again Isaac, you just hit the nail on the head, the query given is just 1 of hundreds in that CFC but the problem of the user deleting a category happen sometime back. Halloween products after the season had ended and a customer placed an order they should not. I put it down to a catching

ColdFusion8 and Animation

2008-12-31 Thread Don L
I'm wondering loud if we can create some basic animation image file(s) with cfimage or related tags with ColdFusion8. It does not need to be high quality but more like a better vehicle to presenting ideas. Not Flex nor Flash. Thanks. Don Chunshen Li A27D3E938098

Re: sharing vars between applications

2008-12-31 Thread Jessica Kennedy
Are the two domains on the same server and sharing the same application name? On Tue, Dec 30, 2008 at 6:12 PM, Jessica Kennedy police_kidnapped_your_child...@yahoo.com wrote: yes, they are. ~| Adobe® ColdFusion® 8 software

Re: isvalid time and timeformat discrepency

2008-12-31 Thread Richard White
just noticed that if i change it to 13,00 then it returns false. but if i change to 11,00 then it still formats it to 00:00:00 hi i am using the isvalid and timeformat functions as follows: cfset newTime = 12:00 cfif isvalid(time, newTime)

RE: ColdFusion8 and Animation

2008-12-31 Thread Andy Matthews
Are you talking about animted GIFs? I don't believe that ColdFusion can do that. You could consider using JavaScript for animations. -Original Message- From: Don L [mailto:do...@yahoo.com] Sent: Wednesday, December 31, 2008 12:38 PM To: cf-talk Subject: ColdFusion8 and Animation I'm

Re: ColdFusion8 and Animation

2008-12-31 Thread s. isaac dealey
I'm wondering loud if we can create some basic animation image file(s) with cfimage or related tags with ColdFusion8. It does not need to be high quality but more like a better vehicle to presenting ideas. Not Flex nor Flash. I could be wrong, but I don't believe cfimage supports animated

Re: ColdFusion8 and Animation

2008-12-31 Thread Dave Watts
I'm wondering loud if we can create some basic animation image file(s) with cfimage or related tags with ColdFusion8. It does not need to be high quality but more like a better vehicle to presenting ideas. Not Flex nor Flash. The CFIMAGE tag doesn't let you create animated GIFs, as per the

QoQ DataType Error

2008-12-31 Thread James Davis
Hey all, got a brain buster for you: I have a query object result that I'm building out in a function. I've defined all my query column datatypes. The problem is that for one column, the datatype is varchar, but the data in this particular instance is all numeric, save 1 row that is an empty

Re: ColdFusion Components: Setting dynamic arguments dynamically

2008-12-31 Thread Chris Jordan
Scott don't know if this is what you're looking for but you can do this at the top of your cffunction: cffunction name=somename returntype=somereturntype cfscript var my = structNew(); // or var my = {}; if you're running cf8 for(my.key in arguments){ my.#my.key# =

Re: ColdFusion Components: Setting dynamic arguments dynamically

2008-12-31 Thread Scott Stewart
Here's what I wound up doing: moved from session to variables scope in another function cffunction name=outdoorDrama_insertUserExperience access=public output=no returntype=any cfargument name=FK_ID/ cfloop condition=#i# LTE #variables.counter# cfif

cffile action =move and file conflicts.

2008-12-31 Thread Ian Skinner
How does CF deal with file conflicts when doing a cffile action=move... operation? Is there anyway to control it with the cffile... tag itself or do I have to write my own logic? Looking at the documentation, action=move does not seem to have the same 'nameConflict' parameter that the

Re: cffile action =move and file conflicts.

2008-12-31 Thread Dave Watts
How does CF deal with file conflicts when doing a cffile action=move... operation? Is there anyway to control it with the cffile... tag itself or do I have to write my own logic? If I recall correctly, it will throw an exception if a file already exists with the name you've specified. I

Re: ColdFusion8 and Animation

2008-12-31 Thread Don L
I'm wondering loud if we can create some basic animation image file(s) with cfimage or related tags with ColdFusion8. It does not need to be high quality but more like a better vehicle to presenting ideas. Not Flex nor Flash. The CFIMAGE tag doesn't let you create animated GIFs, as

Reminder: cf.Objective() 2009

2008-12-31 Thread Nicholas M Tunney
Just a reminder: Open call for speakers closes today - http://cfobjective.com/callforspeakers.cfm Lot's of great topics coming in! Keep them coming! Nic ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic