Re: Reusing COM objects?

2003-09-29 Thread jon hall
How about something like this... FileLib.cfc        function FolderSize(path)    {  Var folder = this.fso.Getfolder(path);  Return folder.Size;    }    etc... Store it in the application scope like so. Then call the methods just as you have been, just prefixing the calls with 'ap

Reusing COM objects?

2003-09-29 Thread Bushy
Hi, In my application I'm using the following CFC. This gets loaded everytime a user click on a file link to get the file information (date, size, etc.). I've been told that I could speed things up substantially by just having one function do a single COM connection and have the other functions ju