Re: index.cfm being hacked

2010-11-16 Thread Brian McCairn
Had a similar problem with another host, they said... The compromise you have reported is due to to an exploit of the windows FileSystem Object in .NET, and a poorly written upload script on another website that allows for executable website content to be run. ... Unfortunately, due to the

Re: index.cfm being hacked

2010-11-16 Thread Russ Michaels
Mike, Trying to determine if the problem is with your site or the server can be very tricky, most people are quick to blame the host, often for having things enabled that they insisted onhaving enabled even though they were told it is insecure. It is true there are some things that simply have

Re: Homesite on Windows 7

2010-11-16 Thread Jason Fisher
That would be a pain. I've only ever had that problem over RDS, and that was even before Windows 7. When working on actual local / mapped drives, HomeSite's not giving me that trouble at all. Wonder what the difference is? On 11/15/2010 6:31 PM, Michael Grant wrote: It's when you are

Re: cfscript based components formatting

2010-11-16 Thread Raymond Camden
Sorry - what? On Mon, Nov 15, 2010 at 10:33 PM, Andrew Scott andr...@andyscott.id.au wrote: No annotations in the comments was mentioned to be slower than using the other way. Regards, Andrew Scott http://www.andyscott.id.au/

Re: Homesite on Windows 7

2010-11-16 Thread Dave Merrill
IntelliJ IDEA with the CFML plugin, which I love, does create projects (and makes them very useful, as a search scope for instance), but it also lets you open any file, including as a right-click or default action for selected file types. If you *never* work on projects, I think you might still

RE: Homesite on Windows 7

2010-11-16 Thread Robert Harrison
Anyways, did anyone ever solve the problem where HomeSite will not do a save as in Windows 7? Yes, I have it working. Two things to note on set-up to get Homesite to run correctly on Windows 7. Go to the setting and change them to: 1) Run in XP compatability mode, and 2) Run

Re: Homesite on Windows 7

2010-11-16 Thread Michael Grant
This is how I have mine set up and I still can't create a new file (CTRL+N) and then save it to an FTP folder (CTRL+S). I get an error. I don't get the error saving locally though. On Tue, Nov 16, 2010 at 10:58 AM, Robert Harrison rob...@austin-williams.com wrote: Anyways, did anyone ever

Re: Homesite on Windows 7

2010-11-16 Thread Rick Colman
I am having the same problem trying to save as on my web directories on a remote server (CrystalTech). Could it be another dumb Vista/Windows 7 security hack? On 11/16/2010 8:04 AM, Michael Grant wrote: This is how I have mine set up and I still can't create a new file (CTRL+N) and then save

Re: index.cfm being hacked

2010-11-16 Thread Al Musella, DPM
I had that problem a while back.. I shut down the ftp server and luckily never had the problem again.. I also set up my home computer to check the index.cfm page of all of my websites for changes. I get an email and text alert whenever one of my index.cfm pages changes. I created a script to

Re: Homesite on Windows 7

2010-11-16 Thread Jason Fisher
OK, so that problem I *do* have, but I'm pretty sure I ran into that even before I moved to Windows 7. I have no troubles saving locally, but saving New directly over RDS (or FTP) usually errors. Very annoying, I agree. From: Michael Grant

Re: Homesite on Windows 7

2010-11-16 Thread Larry Lyons
You do know that Aptana is incorporated into CFBuilder. That would give you all the CF features missing from Aptana. (although the combo of CFEclipse and Aptana gives you many of CFBuilder's features). I never did. I have always used and loved homesite (CFStudio) and was horrified when I had

Re: Homesite on Windows 7

2010-11-16 Thread Claude Schnéegans
You do know that Aptana is incorporated into CFBuilder. That would give you all the CF features missing from Aptana. Including support for for vtm tag definitions? ~| Order the Adobe Coldfusion Anthology now!

CFCs for AJAX

2010-11-16 Thread Donnie Carvajal
I have several CFCs that I am accessing for AJAX calls. Since the calls load a method directly, what is the best practice for instantiating the object? For example, I want to insure the user is logged in, so there are Client variables to check, I don't want to pass user credentials in the

Re: Homesite on Windows 7

2010-11-16 Thread Michael Grant
Yeah, it's the price of Aptana that sold me. On Tue, Nov 16, 2010 at 11:53 AM, Larry Lyons larrycly...@gmail.com wrote: You do know that Aptana is incorporated into CFBuilder. That would give you all the CF features missing from Aptana. (although the combo of CFEclipse and Aptana gives you

ODBC Data Source for Client Variables

2010-11-16 Thread Donnie Carvajal
Has anyone tried setting up Client Variables though an ODBC datasource on 2 different servers running 2 different versions of ColdFusion and they both point to the same datasource? Can this be done? I have an app running CF 5.5 that needs changes before it can be upgraded to any version of

Re: CFCs for AJAX

2010-11-16 Thread Tony Bentley
Ajax Call - OnRequest() - checkUserCredentials.init(client){abort or continue} ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive:

Re: CFCs for AJAX

2010-11-16 Thread Tony Bentley
I would do user checks in a component from onRequest and then use a proxy cfc for your ajax requests. Using onRequest, you can check the url and if it is the proxy cfc, then do your user credential checks before allowing access. Otherwise, you'll need to use the client scope in your cfc

Re: Homesite on Windows 7

2010-11-16 Thread Gerald Guido
Why do modern editors put the files and folders in the same window as a bit tree... Interesting question. I did not notice that until you mentioned it. But I prefer that as well. Actually the File Explorer View in the Adobe CF 8 Eclipse extensions behaves that way and allows you to browse and

Re: CFCs for AJAX

2010-11-16 Thread Donnie Carvajal
I thought the onRequest method caused issues with calling CFCs remotely. I heard CF 9 fixed, but I'm not using CF 9. I guess this would work in the onRequestStart method though. Is this correct? I would do user checks in a component from onRequest and then use a proxy cfc for your ajax

Re: CFCs for AJAX

2010-11-16 Thread Tony Bentley
Even if it is a remote cfc call it's still a request that fires onSessionStart() and onRequestStart(). I'm not sure what kind of issues you've heard but it works with me in CF8.0.1+ ~| Order the Adobe Coldfusion Anthology

Re: CFCs for AJAX

2010-11-16 Thread Tony Bentley
Shoot. Sorry, I meant to say onRequestStart() not onRequest. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive:

Re: CFCs for AJAX

2010-11-16 Thread Donnie Carvajal
I figured it was a typo. I get the credential check in the onRequestStart(), makes sense. The other issue I'm having is that I need to access the user object that would be created in onRequestStart(). Basically, CF based objects can't be passed to remote methods, correct? So either way, I

Re: CFCs for AJAX

2010-11-16 Thread Ian Skinner
On 11/16/2010 12:06 PM, Donnie Carvajal wrote: I thought the onRequest method caused issues with calling CFCs remotely. Can cause problems. The problem usually being that the onRequest, onRequestStart and|or onRequestEnd cause data to be added to the request response that AJAX can not

Re: CFCs for AJAX

2010-11-16 Thread Tony Bentley
If you avoid any output in any application methods then it will work fine and any Ajax framework (JQuery, JSON.js, etc) can convert the returned code to native JSON. This is why I said invoke a cfc and pass in the scope(s) of choice in your onRequestStart method. Can cause problems.  The

Re: CFCs for AJAX

2010-11-16 Thread James Holmes
Create a proxy (or facade) object that you can call via AJAX. In this object you can access the instantiated objects that are in the session or application scope. As long as you know that only this one proxy object accesses those scopes directly (and in fact that's its purpose) then you won't run

Re: CF Blog software

2010-11-16 Thread Sean Corfield
On Sat, Nov 13, 2010 at 4:19 AM, Russ Michaels r...@michaels.me.uk wrote: This new function It's not a function :) I read your email and thought What new function? Why can't Russ be more specific? :) So now CFML has a 'new' keyword that works just like 'new' in other languages: a = new

Re: Should a getMemento method return the results of getters if they exist?

2010-11-16 Thread Sean Corfield
On Sun, Nov 14, 2010 at 11:03 AM, Dave Merrill enigm...@gmail.com wrote: In the cfproperty-oriented world, where properties get dumped into the variables scope along with your methods and anything else there, many folks including me have written getMemento methods to return a struct with the

Re: Should a getMemento method return the results of getters if they exist?

2010-11-16 Thread Mike Kear
About the only use for getMemento() method I have is as a kind of CFDUMP of the current data contained within an object. As a debugging device to check that the values of the various parameters actually are what i think they should be. In that case, the getMemento() method should always