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
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
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
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.
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.
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
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
7 matches
Mail list logo