Server Scope / UDFs

2002-11-19 Thread Sean Daniels
Is there a way to force CFMX to load some vars into server scope when the service is started? Also, has anyone had any negative reaction to loading a CFC into server scope? I basically have a library of UDFs I want globally available that I thought I would throw into a CFC and load into server

RE: Server Scope / UDFs

2002-11-19 Thread Raymond Camden
Is there a way to force CFMX to load some vars into server scope when the service is started? No. Unless you have all your code under an Application.cfm that does it. FYI, 'events' like this has been on the enhancement list for sometime. :) Also, has anyone had any negative reaction to

Re: Server Scope / UDFs

2002-11-19 Thread Sean A Corfield
On Tuesday, Nov 19, 2002, at 08:35 US/Pacific, Sean Daniels wrote: Is there a way to force CFMX to load some vars into server scope when the service is started? As Raymond says, put code in Application.cfm to load it once. Also, has anyone had any negative reaction to loading a CFC into

Re: Server Scope / UDFs

2002-11-19 Thread Sean Daniels
On Tuesday, November 19, 2002, at 11:51 AM, Raymond Camden wrote: No. Unless you have all your code under an Application.cfm that does it. FYI, 'events' like this has been on the enhancement list for sometime. :) Thanks for the responses Sean Ray. I hope the events thing happens someday.

RE: Server Scope / UDFs

2002-11-19 Thread Dave Watts
As easy as it would be to add cfif not isdefined(server.udfs) to every application.cfm on the server it would be far cooler to not have to. :) Well, personally, I'm not much of a fan of the idea of loading UDFs into memory anyway - memory is good for storing data, but is wasted on code.

Re: Server Scope / UDFs

2002-11-19 Thread Sean A Corfield
On Tuesday, Nov 19, 2002, at 12:05 US/Pacific, Dave Watts wrote: Well, personally, I'm not much of a fan of the idea of loading UDFs into memory anyway - memory is good for storing data, but is wasted on code. Well, functions are just data. The benefit is that you don't have to include the

Re: Server Scope / UDFs

2002-11-19 Thread S . Isaac Dealey
On Tuesday, Nov 19, 2002, at 12:05 US/Pacific, Dave Watts wrote: Well, personally, I'm not much of a fan of the idea of loading UDFs into memory anyway - memory is good for storing data, but is wasted on code. Well, functions are just data. The benefit is that you don't have to include