Re: [coldspring-dev] The advantages of Coldspring

2007-09-24 Thread Brian Kotek
Tom I think your replies are going to CF-Talk, not the ColdSpring list. On 9/24/07, Tom Chiverton [EMAIL PROTECTED] wrote: On Friday 21 Sep 2007, [EMAIL PROTECTED] wrote: As for having to pass init variables, well there is no reason to do that within the ShoppingCart cfc anyway and I

Re: Security Questions

2007-09-24 Thread Brian Kotek
I think Chris needs to give these Java developers the smackdown. Don't you love it when people who have no idea what they are talking about start spouting complete BS as if it were completely true? It never ceases to amaze me. Go read any post involving CF on Slashdot or Digg and have your mind

Re: Instantiating all objects within Application.cfm

2007-09-23 Thread Brian Kotek
Wow, I had no idea that was the case. So basically, never, ever host anything sensitive on a shared server. On 9/22/07, Sean Corfield [EMAIL PROTECTED] wrote: On 9/22/07, James Holmes [EMAIL PROTECTED] wrote: So was I - as long as I know the application name, a CFAPPLICATION tag anywhere on

Re: Instantiating all objects within Application.cfm

2007-09-22 Thread Brian Kotek
I was talking about in CF code. Of course if the instance of CF isn't secured or is older then you can get at absolutely anything with the underlying Java objects. Basically, don't host anything sensitive on an unsecured, shared server. I assumed this was a well known rule, but maybe I was wrong.

Re: Instantiating all objects within Application.cfm

2007-09-21 Thread Brian Kotek
They can't, and I'm 99% sure they never have been. The only code that can read an application variable is code that lives under a directory where the cfapplication tag with that application name. Many people store this info in an application-scoped Config CFC and pass that into whatever other

Re: cfcache problem

2007-09-21 Thread Brian Kotek
I'm not sure, but if I recall correctly CFCACHE still writes temp files to the file system and reads them back each time, which doesn't perform very well under load. Have a look at Ray's scopecache custom tag. I looked around for it and the only link I could find was in the SVN repo for Blog CFC.

Re: cfcache problem

2007-09-21 Thread Brian Kotek
Yes, Ray's tag also stores things in memory (in fact I think CFACCELERATE was based on Ray's tag). What I meant to say regarding performance was that when Brandon (and Ray as well I beleive) testing their in-memory caching against CFCACHE, the difference in speed was measured in orders of

Re: Catching CFHTTP errors when a PC is off.

2007-09-21 Thread Brian Kotek
I'm not sure I see why it matters why the connection failed. If it failed, you have to respond. You can certainly catch specific types of errors, but unless you're doing something different depending on the error (and in this case I'm not sure what that would be since you really have no idea why

Re: Instantiating all objects within Application.cfm

2007-09-20 Thread Brian Kotek
Well, you're creating the CFCs over and over on every single request, which is probably not good. Depending on what the CFCs do, and whether they are stateless (have no changing instance data) or stateful (holds changing instance data, or holds different instance data for each user), most people

Re: Instantiating all objects within Application.cfm

2007-09-20 Thread Brian Kotek
in the default attribute regardless of whether the value exists or not, cfparam would probably perform much more badly. I think cfparam should really be avoided as much as possible for this reason. Brian Kotek wrote: Well, you're creating the CFCs over and over on every single request, which

Re: Instantiating all objects within Application.cfm

2007-09-20 Thread Brian Kotek
If addInventory() just inserts something into the database, and you aren't storing the entire query result set in the Inventory object as instance data, then you don't need to do anything else. This is all getting rather murky because you haven't actually stated what these components are doing.

Re: Instantiating all objects within Application.cfm

2007-09-20 Thread Brian Kotek
You need to var-scope your queries, or you'll run into concurrency issues if you store this CFC in the application scope. This is critical. You must var-scope everything: query names, loop index variables, temp variables, etc. On 9/20/07, Vince Collins [EMAIL PROTECTED] wrote: ==

Re: Automated code generator for db add/edit/delete/report?

2007-09-20 Thread Brian Kotek
Model-Glue will automatically generate list/add/edit/delete scaffolds for you (using Transfer or Reactor). And the next version of Fusebox will also do scaffolding. On 9/20/07, Josh Nathanson [EMAIL PROTECTED] wrote: Anybody know of a code generator for scaffolding derived from a database

Re: Scope Question

2007-09-19 Thread Brian Kotek
Try cgi.query_string. On 9/19/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I'm using this very simple server side imagemap to send coordinates my results script of where the user clicked on the image. My questions is how can I extract the x and y coordinates once it's passed as ...

Re: Sorting Query - SQL Injection

2007-09-17 Thread Brian Kotek
On 9/17/07, Vince Collins [EMAIL PROTECTED] wrote: That suggestion works. However, in an example of a query with 10 columns and assuming you want to allow desc and asc, does anyone have a more conscience way other than 20 cfcase statements? You could specify a list of table names and use

Re: Sorting Query - SQL Injection

2007-09-17 Thread Brian Kotek
where table_name = 'MY_TABLE' Granted this would require 2 trips to the database, 1 to get the column names, then check to see if your sortby variable is in that list, then another to actually query the table. On 9/17/07, Brian Kotek [EMAIL PROTECTED] wrote: On 9/17/07, Vince

Re: Odd database behavior: duplicate key error

2007-09-13 Thread Brian Kotek
Just to follow up on this thread, is the final verdict that you must use cflock to prevent these kinds of concurrency issues in the database, UNLESS you use CFTRANSACTION with the serializable isolation level? On 9/12/07, Dave Watts [EMAIL PROTECTED] wrote: They recently changed it to the

Re: Dynamic named CFC and method

2007-09-12 Thread Brian Kotek
cfinvoke component = application.aImage method = #b# returnVariable = z argumentCollection = #arguments# On 9/12/07, Andrew Grosset [EMAIL PROTECTED] wrote: I have a cfc in the application scope and I access it like so: cfset application.aImage.updateIm(argumentCollection=q) I would like to

Re: Dynamic named CFC and method

2007-09-12 Thread Brian Kotek
of the application-scoped CFC you want to invoke. On 9/12/07, Brian Kotek [EMAIL PROTECTED] wrote: cfinvoke component = application.aImage method = #b# returnVariable = z argumentCollection = #arguments# On 9/12/07, Andrew Grosset [EMAIL PROTECTED] wrote: I have a cfc in the application

Re: Directory Watcher Skipping Files

2007-09-11 Thread Brian Kotek
Does this help? http://coldfusion.sys-con.com/read/317586.htm On 9/11/07, Virgil Spruit [EMAIL PROTECTED] wrote: Yeah, I also encountered some problems with the watcher. We have 1000+ files for one website and when uploading a file we wanted it to initiate a function but the directory

Re: Odd database behavior: duplicate key error

2007-09-11 Thread Brian Kotek
Yes. CFTRANSACTION only creates a transaction for the current thread (actually the current database connection from the connection pool). If multiple threads could be running the same process at the same time, resulting in a race condition, then you need to lock that set of queries as well. Use a

Re: add xml node?

2007-09-11 Thread Brian Kotek
cfset ArrayAppend(xml['a'].xmlChildren[1].xmlChildren, XmlElemNew(xml, 'd')) / On 9/11/07, Paul Hastings [EMAIL PROTECTED] wrote: say i have an xml doc a b c / /b /a how would i add a node d to node b, so i'd end up with something like this? a

Re: Odd database behavior: duplicate key error

2007-09-11 Thread Brian Kotek
I can't test it myself to simulate the race condition, but I definitely know that people have been talking about this issue for a very long time. I can remember reading posts about it going back for years, and in those cases, people had tried CFTRANSACTION alone and it didn't make a difference.

Re: Odd database behavior: duplicate key error

2007-09-11 Thread Brian Kotek
Well that's just it, from what Dave (and Simon's article) are saying, this is not the case. CFTRANSACTION (with the appropriate level of isolation) should handle concurrency across threads as well as handling rollbacks. I'd like to confirm that this is true, because if it is, my whole

Re: Odd behavior when using cfform inside a CFC

2007-09-10 Thread Brian Kotek
You could try dumping the variables scope of the CFC to see if cfform is putting something in there. But whatever the problem is, I'm pretty sure it must be related to the fact that the CFC is being stored in a shared scope. Does switching to a per-request CFC allow the JavaScript to work

Re: webservice

2007-09-07 Thread Brian Kotek
and adjust your future posts accordingly. On 9/7/07, Chad Gray [EMAIL PROTECTED] wrote: Who died and made you forum master of questions asking? Was that a properly formatted question? -Original Message- From: Brian Kotek [mailto:[EMAIL PROTECTED] Sent: Thursday, September 06

Re: Dynamic named CFC and method

2007-09-07 Thread Brian Kotek
The point being, handling it properly is a complex endeavor that must be very carefully considered. On 9/7/07, Paul Vernon [EMAIL PROTECTED] wrote: difficult to test. Also, if any of these variables are coming from the form or URL scope, it opens up huge security holes because the user

Re: Dynamic named CFC and method

2007-09-07 Thread Brian Kotek
I'd be careful doing this. For certain things there is no way around making a dynamic call. But if you add lots of calls to dynamic CFC names, with dynamic method names and dynamic arguments, you're basically making it impossible to follow the application flow and probably making things very

Re: Dynamic named CFC and method

2007-09-07 Thread Brian Kotek
On 9/7/07, Paul Vernon [EMAIL PROTECTED] wrote: Essentially, there is a central registry of events that tracks this for me. I can query the registry to see what objects had registered event handlers for any given event if I need to, but 99.9% of the time *i don't need to know* because it

Re: Dynamic named CFC and method

2007-09-07 Thread Brian Kotek
On 9/7/07, Paul Vernon [EMAIL PROTECTED] wrote: On 9/7/07, Paul Vernon [EMAIL PROTECTED] wrote: I have a spider object. I have a string manipulation services object. The spider object is not an instance of a strings object because it doesn't make sense in an OO fashion for it to be.

Re: webservice

2007-09-06 Thread Brian Kotek
PROTECTED] wrote: So how do I make this complexType in java? I don't understand the error. -Original Message- From: Brian Kotek [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 05, 2007 4:19 PM To: CF-Talk Subject: Re: webservice Ok. On 9/5/07, Chad Gray [EMAIL PROTECTED] wrote

Re: Am I the only one who thinks Flex 2 isn't

2007-09-06 Thread Brian Kotek
I agree. Doing it with a CFC means you can supply REST data, SOAP data, AMF data, JSON data, WDDX, and more, with a single component. Since you can generate SOAP, AMF, JSON and WDDX automatically, the only extra work is manually generating some XML output. On 9/6/07, Dave Watts [EMAIL PROTECTED]

Re: BlogCFC

2007-09-06 Thread Brian Kotek
It does not. On 9/6/07, Eric Roberts [EMAIL PROTECTED] wrote: Got a question for you Ray...does BlogCFC make use of reactor? I don't remeber if it did or not. Eric ~| Get the answers you are looking for on the

Re: (ADMIN) email problems?

2007-09-06 Thread Brian Kotek
I'm using email, but I've also been seeing lots of double/triple posts. Not sure if it's related or not. On 9/6/07, chad gray [EMAIL PROTECTED] wrote: Is email working on CFTalk? I tried posting a message about an hour ago via email and it has not arrived to the list. I also got a message

Re: Clear Object Variables

2007-09-05 Thread Brian Kotek
You could try using CreateObject() to create the Java object, then call init() (the Java constructor) before each use, which I would think should clear the instance variables. Not sure though, that's just an idea. On 9/5/07, Robert Harrison [EMAIL PROTECTED] wrote: I'm using the code below to

Re: PHP or .Net?

2007-09-05 Thread Brian Kotek
I'd even say SQL. SQL is probably the most underused tool out there. And worse, everyone thinks they're good at it because they can write an inner join. Until you start graping the power of indexes (for performance), solid schema design, and powerful SQL capabilities like inline views, case

Re: Am I the only one who thinks Flex 2 isn't

2007-09-05 Thread Brian Kotek
On 9/5/07, Tom Chiverton [EMAIL PROTECTED] wrote: 2. Flex 2 AND database: We have created an XML for the data, that's makes the application sluggish as hell! XML data have much overhead ( I believe something like 2/3 ) Yes. And ? There is a reason ColdFusion talks AMF3 to Flex, not

Re: PHP or .Net?

2007-09-05 Thread Brian Kotek
Learning the Java syntax is pretty straightforward. It's the same logical ideas: conditionals, loops, invoking methods on objects, etc. The hard part is learning the Java API, which is gigantic. You'll spend a lot of time with the API reference to figure out what objects you have to call to do

Re: Am I the only one who thinks Flex 2 isn't

2007-09-05 Thread Brian Kotek
A CFC will respond to web service requests and AMF without you having to do anything. Further, if custom XML is being generated, it has to come from somewhere. So the XML generation could stay in place but the underlying CFC supplying the data could easily be exposed for AMF calls, allowing you to

Re: Clear Object Variables

2007-09-05 Thread Brian Kotek
Did you try my suggestion to re-run the constructor? On 9/5/07, Robert Harrison [EMAIL PROTECTED] wrote: The code below is caching the results for each file. They stay persistent until server reboot. I need to clear them on demand and have tried everything to find them. I've dumped all the

Re: Creating XML from RecordSet

2007-09-05 Thread Brian Kotek
You don't even need to write it to a file. Point the Flash app at a CFM page that dynamically generates the XML (or returns a cached version of it if performance is an issue) and set the mime type of the response to XML. You have no orphan files, and the Flash app never knows (or cares) that the

Re: Coldfusion wddx problem

2007-09-05 Thread Brian Kotek
Not sure if it is the cause of the error, but I would recommend agains doing this. All browsers have a limitation on the length of the URL that they will pass, which range from about 2000 up to 100,000. A WDDX string could easily pass this length limit. I'd look at storing it in a cookie (though

Re: How create results with an Outer Join using 2 different databases

2007-09-05 Thread Brian Kotek
If your RDBMS doesn't support the creation of some sort of database link (which lets you query another database from within the RDBMS), you'll probably have to loop over the results and build up a query result set manually. On 9/5/07, Joy Holman [EMAIL PROTECTED] wrote: ISSUE: I'm working

Re: Clear Object Variables

2007-09-05 Thread Brian Kotek
-williams.com Great advertising can't be either/or... It must be . -Original Message- From: Brian Kotek [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 05, 2007 2:10 PM To: CF-Talk Subject: Re: Clear Object Variables Did you try my suggestion to re-run the constructor? On 9/5

Re: Am I the only one who thinks Flex 2 isn't

2007-09-05 Thread Brian Kotek
If you invoke the CFC as a web service (using ?wsdl on the URL), you get the result back as a SOAP response (XML). If you invoke a CFC method via a URL without specifying ?wsdl, you get the returned value as WDDX. If you invoke it from Flash, the response is in AMF. Also, in CF8 you can specify

Re: webservice

2007-09-05 Thread Brian Kotek
Ok. On 9/5/07, Chad Gray [EMAIL PROTECTED] wrote: I am trying to work with a web service and I am getting this error in CF. Error converting CFML arguments to Java classes for web service invocation. Unable to create web service argument class [

Re: Creating XML from RecordSet

2007-09-05 Thread Brian Kotek
Flash doesn't do anything server side, so I'm not sure what you're trying to say. On 9/5/07, C. Hatton Humphrey [EMAIL PROTECTED] wrote: Thinking about this a bit more, this may or may not work depending on how flash reads the XML. If Flash is simply opening the text file server-side (as it

Re: Model Glue and reactor

2007-09-04 Thread Brian Kotek
Yes, you tell it where the Reactor config file is in the Model-Glue ColdSpring XML file: bean id=reactorConfiguration class=reactor.config.config constructor-arg name=pathToConfigXmlvalue/deli/config/reactor/Reactor.xml/value/constructor-arg property

Re: CF8 AJAX

2007-09-04 Thread Brian Kotek
Passing the session ID in the JavaScript is a bad idea. Someone could modify that and look at projects for other users. You already have the session ID on the server, why would you want to pass it again from the select box? On 8/31/07, Asim Manzur [EMAIL PROTECTED] wrote: I have cfselect

Re: CFGrid Ajax Results

2007-09-04 Thread Brian Kotek
If you read the documentation, you'll see the answer is no. You have to pass a query into the grid, unless you manually build up the grid elements using cfgridrow. You could combine the city and state into one column in the SQL. You might also be able to generate the URL in your SQL depending on

Re: CFGrid Ajax Results

2007-09-04 Thread Brian Kotek
-Cell-Renderers Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _ http://blog.cutterscrossing.com Brian Kotek wrote: If you read the documentation, you'll see the answer is no. You have to pass a query into the grid

Re: cflocation to cflayout

2007-09-04 Thread Brian Kotek
It isn't possible. cflocation will redirect the entire page. On 9/4/07, Steve Sequenzia [EMAIL PROTECTED] wrote: Anyone know if it is possible to use cflocation to redirect a page inside of a cflayout to a cflayoutarea? I don't want it to break the page out. Thanks in advance for any help.

Re: CFGrid Ajax Results

2007-09-04 Thread Brian Kotek
However you define complicated, it's far more complicated than just using what is built in to cfgrid. Furthermore, the custom renderer examples are just changing the format of the displayed grid, and don't even touch on the issue of building up your own data (based on a ColdFusion structure) in

Re: Multiple File Uploading

2007-08-29 Thread Brian Kotek
Hey Matt. Even CGI/Perl is only server side. I don't think there is any way around using Flash, ActiveX, or a Java applet for this, if it absolutely has to have a progress bar. On 8/29/07, Matt Williams [EMAIL PROTECTED] wrote: My challenge is to provide a tool for uploading multiple files that

Re: What's not secure?

2007-08-29 Thread Brian Kotek
The error I see is that the certificate sent by Google doesn't match the name (one says www.google-analytics.com and the other says www.google.com). On 8/29/07, Matthew Smith [EMAIL PROTECTED] wrote: I am trying to get a page to load through https, but I get the notification that there are

Re: What's not secure?

2007-08-29 Thread Brian Kotek
Message- From: Brian Kotek [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 29, 2007 9:38 PM To: CF-Talk Subject: Re: What's not secure? The error I see is that the certificate sent by Google doesn't match the name (one says www.google-analytics.com and the other says www.google.com

Re: CF8 returns float value in query

2007-08-28 Thread Brian Kotek
If the scale is set to 4 in the database then four decimal places is the correct value. Either CF7 or the JDBC driver that CF7 uses must have been dropping the extra decimal places, but that was technically incorrect behavior. If you don't want four decimal places, you should change the column

Re: Help with File Upload: AJAX and CFFILE

2007-08-28 Thread Brian Kotek
How does the Ajax.Request call know which form you want to post? On 8/28/07, Aaron Roberson [EMAIL PROTECTED] wrote: I'm having a problem trying to use AJAX (with the Prototype framework) with the cffile tag to upload files to the server. The problem seems to be related to the fact that the

Re: Help with File Upload: AJAX and CFFILE

2007-08-28 Thread Brian Kotek
You can't do this in the way you are attempting. You're not actually submitting the form, you're just passing a string. If you Google around, you'll see that all of the AJAX file upload libraries use iFrames (such as http://www.webtoolkit.info/ajax-file-upload.html). I'd try to follow that

Re: CF8 returns float value in query

2007-08-28 Thread Brian Kotek
to a number lower than what it has? On 8/28/07, Brian Kotek [EMAIL PROTECTED] wrote: If the scale is set to 4 in the database then four decimal places is the correct value. Either CF7 or the JDBC driver that CF7 uses must have been dropping the extra decimal places

Re: CF7 to CF8 upgrade or interoperability issues?

2007-08-28 Thread Brian Kotek
CF doesn't cache images or CSS files. On 8/28/07, Jason Durham [EMAIL PROTECTED] wrote: I'm having a terrible time with DW8 and CF8 on my development box (single developer edition PC). CF8 is holding images and CSS files in cache which is preventing me from editing/saving files while they

Re: Encryption - CAST128(cast5)

2007-08-23 Thread Brian Kotek
I'd probably try to find a Java implementation of it and use that. On 8/23/07, J W [EMAIL PROTECTED] wrote: I have a project that I have been handed that needs a piece encrypted in CAST128 (Cast5). Has anyone here worked with that encryption method? If so what is the best way to integrate

Re: cflayout question

2007-08-22 Thread Brian Kotek
If you use cfform inside a cflayout, the form is submitted via AJAX automatically. On 8/22/07, Will Tomlinson [EMAIL PROTECTED] wrote: I'm messing round with cflayout, and ran across this problem. My cflayoutarea is using a source file as its content. That source file contains a form that

Re: CFMBB and Locking

2007-08-22 Thread Brian Kotek
This is the very definition of a race condition, and will require a lock to ensure data consistency. On 8/22/07, Rick Root [EMAIL PROTECTED] wrote: Over the years, I've rarely used cflock for anything. I still don't fully understand when I should use it. Anyway, I'm concerned about scaling

Re: Configuring a CF Cluster

2007-08-21 Thread Brian Kotek
If you are unsure I'd strongly urge you to call Adobe rather than rely on someone replying to a public list like this. (Not to slight Andy, since he is probably right, but for a question like this it would be much better to get the answer from an official source). On 8/21/07, Peterson, Chris

Re: Purging Registry.

2007-08-21 Thread Brian Kotek
Never ever store client variables in the registry. That is utterly insane. Stop whatever you are doing and change this to a database or cookies immediately. I'll never understand why on earth Macromedia even made this an option. On 8/21/07, NUGROHO NOTO [EMAIL PROTECTED] wrote: I am running CF5

Re: Need help to prevent this kind of query made by spider.

2007-08-18 Thread Brian Kotek
Extend your check to include URL.category_id in addition to FORM.category_id. The spider is probably passing moreinfo.cfm in the URL. On 8/18/07, NUGROHO NOTO [EMAIL PROTECTED] wrote: Lately... I got many error message in my application log (CF administrator)

Re: UML Modeling Software and Coldfusion

2007-08-17 Thread Brian Kotek
Note that I have not tested the CFC generator with anything other than Poseidon. Since the XMI format is a standard, in theory it should work. But I just wanted to point out that it hasn't been tested. On 8/17/07, Richard White [EMAIL PROTECTED] wrote: Thanks Brian thats really helpful i will

Re: Creating a CF Webservice

2007-08-17 Thread Brian Kotek
You should be able to do it from a CFC too. You just need to make sure you return a STRING containing the XML, not the XML Document Object which is specific to CF. On 8/17/07, Jason Fill [EMAIL PROTECTED] wrote: Well as it happens there is another thread on this, over at

Re: Kind of OT: CF staff learning Java - need advice

2007-08-17 Thread Brian Kotek
Hal Helms teaches a Java for CFers class. However you do it, I think classroom training is much more useful than on the job training because you are completely removed from work and focused only on learning. On 8/17/07, Casey C Cook [EMAIL PROTECTED] wrote: Currently we have a staff of 8

Re: QueryConvertForGrid removes leading zero

2007-08-17 Thread Brian Kotek
Write a function that returns the data in the same format the QueryConvertForGrid does, but keeps your leading zeros. I'd speculate that internally the function is doing a Query of Queries which may be treating these values as numbers and thus removing the leading zeros. On 8/17/07, Chris Martin

Re: CF8

2007-08-16 Thread Brian Kotek
It sounds like what they're saying is that you can't run Developer on any machine that can be used by application end-users. Does that mean you can run it for staging as long as no end users can access the staging server? On 8/16/07, Dave Watts [EMAIL PROTECTED] wrote: That doesn't say that

Re: UML Modeling Software and Coldfusion

2007-08-16 Thread Brian Kotek
I wrote a CFC generator that will parse UML (only tested with Poseidon) and generate CFC models. That includes abstract and concrete classes, interfaces (if on CF8), inheritance, aggregation, CFC stub file generation, CFUnit/CFCUnit unit test stubs, test runners, build.xml, ColdSpring XML, and a

Re: UML Modeling Software and Coldfusion

2007-08-16 Thread Brian Kotek
On 8/16/07, Richard White [EMAIL PROTECTED] wrote: Hi Thanks for the reply. Ill explain our situation. we may have been a little naive but we have spent alot of time developing, like you said, activity, sequence, and class diagrams in pencil and then drawing them up in a drawing package. we

Re: I'm being threatened again

2007-08-15 Thread Brian Kotek
More interesting, if you try to go to Ray Horn's blog from Rick's entry, you get a big page with a warning on it about all the sites that have slandered him. I'd bet money the person posting that comment is the ACTUAL Ray Horn. It's sad, not only is he trying to avoid the mess he made, but he's

Re: CF jobs outside major cities

2007-08-14 Thread Brian Kotek
Any lead programmer who would interview a remote developer will be able to tell instantly if you are new to the language. ;-) On 8/14/07, J.J. Merrick [EMAIL PROTECTED] wrote: Who says he is brand new to the language?, he is a skilled application developer with over 10 years of experience in

Re: CF jobs outside major cities

2007-08-14 Thread Brian Kotek
Oh I fully agree that one should have a wide range of skills. Nothing wrong with learning new languages. I was just pointing out that if the reason for learning the new language was specifically to get more remote development work, that's probably not going to happen. At least not initially. On

Re: SOT: SQL Express

2007-08-14 Thread Brian Kotek
Huh I never even knew this. How does it work? Does adding that to the connection string force the driver to log on to the SQL Server using Windows NTLM authentication, using the user name and password that the CF service is running under? On 8/14/07, Dawson, Michael [EMAIL PROTECTED] wrote:

Re: Data Validation Resources

2007-08-14 Thread Brian Kotek
What he's saying is that you can't assume the validation values you are passing have not been altered, which would allow a user to change or eliminate the validation and save bad data. The validation rules should be specified on the server. The only thing you're relying on the client for is

Re: strip all non-numeric characters from a string

2007-08-14 Thread Brian Kotek
Did you attempt to search for this yourself first? A Google search for non numeric regex brings back over 60,000 results. Not trying to be mean, but you are expected to at least make an effort to solve the problem before you ask for help on a list. On 8/14/07, Matthew Smith [EMAIL PROTECTED]

Re: CF jobs outside major cities

2007-08-13 Thread Brian Kotek
When I was freelance I didn't have much trouble finding remote CF work. I don't think trying to switch to Rails or PHP is going to help you much. People base their desire let you work remotely based on your experience and skill level. I can't imagine someone hiring a remote Rails or PHP developer

Re: using ajaxCFC with a CFC in mapped location

2007-08-13 Thread Brian Kotek
AjaxCFC doesn't handle inherited methods. It uses the metadata of the target CFC to determine what method to invoke and what arguments to pass. Since metadata doesn't include inherited methods, your approach isn't going to work. You'll need to create (or use ColdSpring to generate) a remote proxy

Re: using ajaxCFC with a CFC in mapped location

2007-08-13 Thread Brian Kotek
Regardless of what library you use to perform that AJAX call, the target CFC is going to have to be in a web accessible directory and have methods and arguments that correspond to what is being called remotely. There's no way around this. On 8/13/07, Andy Matthews [EMAIL PROTECTED] wrote: This

Re: Need some help putting multiple strings in a db

2007-08-13 Thread Brian Kotek
String parsing if your only choice, so you'll need to look at more regular expressions or a scripting language like GAWK. On 8/13/07, Brian Bradley [EMAIL PROTECTED] wrote: I am converting our content management system (that we bought years ago) into coldfusion using verity and sql. There are

Re: SOT: SQL Express

2007-08-13 Thread Brian Kotek
Setting up a SQL Express database should be the same as connecting to any other SQL Server. If it is local and on windows, make sure the Windows firewall is set to exclude the SQL Server executables. On 8/13/07, Orlini, Robert [EMAIL PROTECTED] wrote: I have SQL Express installed and am having

Re: using ajaxCFC with a CFC in mapped location

2007-08-13 Thread Brian Kotek
- From: Brian Kotek [mailto:[EMAIL PROTECTED] Sent: Monday, August 13, 2007 1:32 PM To: CF-Talk Subject: Re: using ajaxCFC with a CFC in mapped location Regardless of what library you use to perform that AJAX call, the target CFC is going to have to be in a web accessible directory and have

Re: securing jsessionid

2007-08-11 Thread Brian Kotek
Have you turned off Use J2EE session variables in the administrator? On 8/11/07, Phil Wilson [EMAIL PROTECTED] wrote: Hi I'm trying to figure out how I can encrypt or hide the jsessionid value because as it stands with firefox and the webdeveloper add on, it can be found in a number of

Re: securing jsessionid

2007-08-11 Thread Brian Kotek
If the hacker had physical access to the machine, how would it matter whether the jsessionid was encrypted or not? On 8/11/07, Phil Wilson [EMAIL PROTECTED] wrote: What is TLS? Sorry for my ignorance. A quick google on it suggested it is to do with SSL, which i have setup for this app. My

Re: securing jsessionid

2007-08-11 Thread Brian Kotek
Yeah even if you encrypt it, if someone sniffs the connection and gets the encrypted value, they can pass that the same way they would pass the normal jsessionid. In other words, it doesn't make any difference. Maybe you could salt the id with their IP address or something but then you could run

Re: Is cfqueryparam worth it?

2007-08-10 Thread Brian Kotek
You can work off the assumption that all of your queries will benefit. While I'm sure they exist, I've never seen a query that wasn't faster using bind variables. On 8/10/07, Ben Mueller [EMAIL PROTECTED] wrote: Okay, now I need to do some homework. Are there resources anywhere that can help

Re: Is cfqueryparam worth it?

2007-08-10 Thread Brian Kotek
Yes, a prepared statement using bind variables is going to be significantly faster in virtually all cases. By significant, I mean twice as fast, if not more. It depends on the database. I can't imagine why you'd want to let an invalid value still execute the query, but if you choose to do this

Re: Problem Outputting Dynamic Variable from a Query

2007-08-10 Thread Brian Kotek
There is a way, you use the array syntax to get at a specific value in the query. Someone already posted about how to do this: #myQuery['myColumn'][rowNumber]#. To be clear, you don't want to condense your work into a couple of databases. You want to normalize your single database to keep the

Re: SelectOnLoad

2007-08-10 Thread Brian Kotek
This was only added in the final version so it sounds like you are still on an older beta version. This definitely works in the final release. On 8/10/07, Charles Sheehan-Miles [EMAIL PROTECTED] wrote: Weird. Definitely the release version -- developer edition, just downloaded from Adobe 4

Re: CF8 / CFGRID / HREFKEY

2007-08-10 Thread Brian Kotek
I would just bind the grid to a JavaScript function using the cfajaxproxy. That JavaScript can trigger anything you want, including a page redirection. On 8/9/07, Charles Sheehan-Miles [EMAIL PROTECTED] wrote: All, Just really getting started with CF8, so if this question is too basic, such

Re: Problem Outputting Dynamic Variable from a Query

2007-08-09 Thread Brian Kotek
First, I think you might consider that the database schema you have here is not very good. You're going to have a separate database table for every course? Why would you do this? A much better option would be to have a table of courses, with course IDs, and another table with times and dates that

Re: determining the exiistance of an Array element

2007-08-09 Thread Brian Kotek
In the future, if you know you are going to have a spotty array like this, it is an indicator that a structure might be a better choice to hold the data. Regards, Brian On 8/9/07, Scott Stewart [EMAIL PROTECTED] wrote: Hey all, I wrapped the code up in a try/catch block and it deals with

Re: Problem Outputting Dynamic Variable from a Query

2007-08-09 Thread Brian Kotek
Then you are definitely approaching this the wrong way. What you want to have is a table with all the courses and a table with all the times and rates for the courses. Having separate tables for every course is going to be completely unmaintainable going forward. Again, I'd urge you to stop right

Re: sql not in

2007-08-09 Thread Brian Kotek
You can also use WHERE NOT EXISTS. I'd try to write an example for you but I don't really understand what you're trying to do aside from the fact that you want to select something from table 1 when it doesn't exist in table 2. Are a,b,c,d column names? Data values? The way you described this is

Re: Generate dynamic XML data set for Spry in Fusebox

2007-08-07 Thread Brian Kotek
Or any Fusebox or CF debugging, Fusebox layouts, etc? On 8/7/07, Raymond Camden [EMAIL PROTECTED] wrote: Oh ok - did you forget your cfcontent perhaps? http://www.coldfusionjedi.com/index.cfm/2007/8/6/Dont-forget-that-CFCONTENT-tag-when-working-with-Spry On 8/7/07, Elena Aminova [EMAIL

Re: coldfusion 8 and memory

2007-08-07 Thread Brian Kotek
The memory limitation is in the Windows JVM, not CF. On 8/7/07, Tony [EMAIL PROTECTED] wrote: hi there. back in the days of cfmx 7.x 1.5gb was the max amt of ram you could specify on a windows server to allocate to coldfusion. has that changed with cf8? thanks! tony -- 'Never have

<    1   2   3   4   5   6   7   8   >