to get the application.cfc in the subfolder to run, then your original
request would have to be to the subfolder. CF bases which
application.cfc to fire upon the originating request, then travels up
the tree til it finds one (not down, as you are trying to do)
Steve 'Cutter' Blades
Adobe
I would tend to agree that you cannot do it this way because the
application.cfc fires on first request.
If you can use IIS (or Apache) to do your redirect before the application.cfc
fires you should be able to get the ones in the subfolders to fire first, then
do an include at the top of
That is what I was afraid of ;-) Thanks Steve!
-Original Message-
From: Steve 'Cutter' Blades [mailto:cold.fus...@cutterscrossing.com]
Sent: Monday, November 25, 2013 12:34 PM
To: cf-talk
Subject: Re: Application.cfc question
to get the application.cfc in the subfolder to run
Short answer is, its difficult if you want to inherit the methods of the root
folder Application.cfc. Coldfusion allows for one Application.cfc to extend
another, but only if the inherited Application.cfc isnt in the root directory
of the site or has a mapping in the CF Admin ( i.e. -you
:
That is what I was afraid of ;-) Thanks Steve!
-Original Message-
From: Steve 'Cutter' Blades [mailto:cold.fus...@cutterscrossing.com]
Sent: Monday, November 25, 2013 12:34 PM
To: cf-talk
Subject: Re: Application.cfc question
to get the application.cfc in the subfolder to run, then your
If the purpose is code reuse, another possibility might be putting all
logic into templates or other cfc. Then have both application.cfc call the
required functionality through includes or method calls. Somewhat like a
shared library.
Byron Mann
Lead Engineer Architect
HostMySite.com
On Nov 25,
I have the following for OnError. Live mode (application.setlocal eq 0)
works perfectly. It's the ELSE that's not working. In the else I want
it to show robust error messaging... but I'm getting a blank screen.
The onError() method is catching the error for you, so if you want
ColdFusion to
-williams.com
Great advertising can't be either/or. It must be .
Plug in to our blog: AW Unplugged
http://www.austin-williams.com/unplugged
-Original Message-
From: Justin Scott [mailto:leviat...@darktech.org]
Sent: Thursday, September 22, 2011 11:24 AM
To: cf-talk
Subject: Re
Found it... In spite of Adobe's documentation which says: This method does not
return a value; do not use the cfreturn tag.
(http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=AppEvents_06.html)
Adding cfreturn false /
Now this (below) works as expected:
cffunction
Sounds like either a) and error is occurring in onApplicationStart() or b)
you didn;t reinitialize your app and onApplicationStart isn;t running
since the app already exists.
nic
On 2/11/11 3:49 PM, Mike P mike...@optonline.net wrote:
I recently modified my Application.cfc to email all errors
Weird. It didn't work when I manually called OnApplicationStart, but it worked
when i restarted the server.
Sounds like either a) and error is occurring in onApplicationStart() or b)
you didn;t reinitialize your app and onApplicationStart isn;t running
since the app already exists.
nic
On
Hi Folks -
I am feeling dumb and either I am missing something simple or it's way
above me.
In my application.cfc, I was going to have a cfinclude that would pull
in my DB Name, user name, and password.
I would store those variables in application scope in onApplicationStart().
Doug,
can u show us the code in the include so we can see how you are
storing/referencing the username/password.
Russ
On Thu, Jan 27, 2011 at 10:49 PM, Doug Ford doug.e.f...@gmail.com wrote:
Hi Folks -
I am feeling dumb and either I am missing something simple or it's way
above me.
In
Hey Doug,
1. How many lines of code are in the include? I'm just wondering because it
might be easiest to simply move your code into the Application.CFC
2. How are you setting these vars in the include? Can you give us a sample
of that code?
3. Once you moved the code around and into the
can't you just do cfset onApplicationStart() / to get the method to fire?
Do you really need to rename the app scope?
On Thu, Jan 27, 2011 at 6:03 PM, Alan Rother alan.rot...@gmail.com wrote:
Hey Doug,
1. How many lines of code are in the include? I'm just wondering because it
might be
On 1/27/2011 3:12 PM, Michael Grant wrote:
can't you just docfset onApplicationStart() / to get the method to fire?
Do you really need to rename the app scope?
Yes, you can /fire/ the method that way. But that is OFTEN not exactly
the same as triggering the onApplicaitonStart *event*.
Ah, I didn't know that.
On Thu, Jan 27, 2011 at 6:27 PM, Ian Skinner h...@ilsweb.com wrote:
On 1/27/2011 3:12 PM, Michael Grant wrote:
can't you just docfset onApplicationStart() / to get the method to
fire?
Do you really need to rename the app scope?
Yes, you can /fire/ the method
Yeah, I was trying to get to the idea that he needed to somehow clear the
app scope and force it to re-init those vars. I should have been clearer
about that.
=]
On Thu, Jan 27, 2011 at 4:12 PM, Michael Grant mgr...@modus.bz wrote:
can't you just do cfset onApplicationStart() / to get the
can't you just docfset onApplicationStart() / to get the method to fire?
Do you really need to rename the app scope?
Yes, you can /fire/ the method that way. But that is OFTEN not exactly
the same as triggering the onApplicaitonStart *event*. Sometimes one
just really wants to
Chad Gray wrote:
I can't put it in application.cfc.
What not? That is the *good* way to include it in every file.
~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion
A quick and clean way is to create a cfc named 'utils', 'udfs' or 'helpers'
or somesuch. In that, place your MyDecimalFormat function, along with any
other udfs you may have. Then, in application.cfc:
cffunction name=onApplicationStart
cfset application.udfs = CreateObject('component',
yep. Exactly how I do it.
application.cfc = createObject(component,cfc);
application.cfc.MyDecimalFormat('1234567');
~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion
Ah.. makes sense! I should have thought of that.
Thanks!
Chad
-Original Message-
From: Dominic Watson [mailto:watson.domi...@googlemail.com]
Sent: Monday, November 23, 2009 5:12 PM
To: cf-talk
Subject: Re: application.cfc
A quick and clean way is to create a cfc named 'utils', 'udfs
Not if the files being uploaded are things like images, or text files.
Requests for those file types aren't routed through ColdFusion. Instead
the webserver hands the files directly back to the user.
Options:
1) Store the files outside of the webroot and only allow programmatic
access via
first of all, users should not be able to upload files below the web root.
that is a dangerous thing to offer to them.
What are you defining as right credentials? If a user can create
directories and upload files using some ftp client then there are a number
of things you can do to make sure each
://www.austin-williams.com
Great advertising can't be either/or. It must be .
Plug in to our blog: AW Unplugged
http://www.austin-williams.com/unplugged
-Original Message-
From: b...@bradwood.com [mailto:b...@bradwood.com]
Sent: Friday, October 09, 2009 2:45 PM
To: cf-talk
Subject: RE
, October 09, 2009 2:45 PM
To: cf-talk
Subject: RE: application.cfc for security
Not if the files being uploaded are things like images, or text files.
Requests for those file types aren't routed through ColdFusion. Instead
the webserver hands the files directly back to the user.
Options:
1
id put it in an email rather than displaying, that way you knnow
someone who isnt supps to
see it is seeing it.
but thats just me.
On Mon, Apr 20, 2009 at 12:56 PM, Chad Gray cg...@careyweb.com wrote:
Is it safe to put this code in the onError function?
FORM Variablesbr /
cfif
Liz,
This is not a great solution, but you could put a dynamic Base tag in the
head:
Main directory:
base href=./ /
Sub directory:
base href=../ /
I think that would work as a stop-gap.
--
Ben Nadel
Adobe Community Expert
Adobe Certified Advanced ColdFusion Developer
Manager New York
Create a mapping to the siteroot, and do cfinclude
template=/siterootmapping/afile.cfm/ ?
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
IMO, your best option is going to be setting your header, footer, etc. links to
absolute paths.
Meaning if your application root is www.mysite.com, then all of your primary
links need to point to /aboutUs.cfm. The ensures that no matter how deep you
are in the site, that link will always
Hi Laura,
I'm getting this same error. Did you manage to fix this error? Do you remember
what the problem was and if so can you kindly share it with me?
Regards,
John
I'm getting an odd error when I try to use Application.cfc instead of
Application.cfm. I get the following error:
500
|On Fri, Nov 28, 2008 at 10:59 AM, Hugo Ahlenius wrote:
| Is there any way that the processing (e.g. OnRequestStart)
|can know about the request to figure out if it is a web
|service call (calling a component as a web service) or a
|normal/plain .cfm request? I guess one can always parse this
because http:/host/testobject.cfc?method=testfunction request is NOT
invoking a web service.
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
Hugo Ahlenius wrote:
|On Fri, Nov 28, 2008 at 10:59 AM, Hugo Ahlenius wrote:
| Is there any way that the processing (e.g. OnRequestStart)
|can
On Fri, Nov 28, 2008 at 10:59 AM, Hugo Ahlenius wrote:
Is there any way that the processing (e.g. OnRequestStart) can know about the
request to figure out if it is a web service call (calling a component as a
web service) or a normal/plain .cfm request? I guess one can always parse
this
This will only return true for web service calls to be clear there are other
ways of calling a CFC via HTTP that this will return false, AMF for example
(which Mark was just showing me last night this lovely example).
Fusebox just looks at the extension in the target page in OnRequestStart:
On Fri, Nov 28, 2008 at 10:59 AM, Hugo Ahlenius wrote: Is there any
way that the processing (e.g. OnRequestStart) can know about the
request to figure out if it is a web service call (calling a
component as a web service) or a normal/plain .cfm request? I guess
one can always parse this from
Just curious: can anyone tell a bit more on how exactly Application.cfc is
executed? With normal cfc's I believe that the code above the first method runs
only when a new instance of the cfc is created, or when the cfc is invoked as a
static component. It seems a bit strange to me that the
, application.cfc is the same as application.cfm.
Mike
_
From: Martijn van der Woud [mailto:[EMAIL PROTECTED]
Sent: Mon 11/24/2008 1:31 PM
To: cf-talk
Subject: Re: Application.cfc question
Just curious: can anyone tell a bit more on how exactly Application.cfc is
executed? With normal
A new instance of Application.cfc is created and used on each request,
which is why the code above the first method runs each time.
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/
2008/11/25 Martijn van der Woud [EMAIL PROTECTED]:
Just curious: can anyone tell
On Sat, Nov 22, 2008 at 8:38 AM, Dave Phillips wrote:
I have the following code. When I try to execute my URL with the
reloadConfig=yes parameter, The app fails on the first line of the
onSessionStart() function with 'application.datasource does not exist.'
Since onSessionStart is called
I ran into the same problem. I assign datasource in the application.cfm and
then lose the connection string in the cfc. I believe the problem is that a
cfc is intended to run in a different machine as thought it were a web service.
As a result Cold Fusion does not carry the application state
Are you sure your not clearing the cart outside of your application.cfc?
-e
On Mon, Nov 17, 2008 at 12:19 PM, Chad Gray [EMAIL PROTECTED] wrote:
I don't understand what is happening. Anyone see something in my
application.cfc that would cause this error? I can get rid of the error by
Could it be that the application is timing out? What sort of traffic does
the site get? What is your application timeout set to?
-- Josh
-Original Message-
From: Chad Gray [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2008 9:20 AM
To: cf-talk
Subject: application.cfc error
I
Off hand I'm not sure what is causing it, but this may help
cfif (isdefined(URL.reinit)) OR (NOT
IsDefined(Application.Cart)) OR (NOT IsDefined(Application.Page))
cfset onApplicationStart() /
/cfif
=]
--
Alan Rother
Adobe Certified
Ya positive. There are only about 10 pages total in the web site. So I know
for sure there is no code to kill the variable.
-Original Message-
From: Emmet McGovern [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2008 12:43 PM
To: cf-talk
Subject: Re: application.cfc error
-talk
Subject: RE: application.cfc error
Could it be that the application is timing out? What sort of traffic does
the site get? What is your application timeout set to?
-- Josh
-Original Message-
From: Chad Gray [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2008 9:20 AM
Seems like kind of a hack eh'?
It probably would work though.
-Original Message-
From: Alan Rother [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2008 1:20 PM
To: cf-talk
Subject: Re: application.cfc error
Off hand I'm not sure what is causing it, but this may help
Hey Chad,
One more thing came to mind... Not knowing anything about your hosting setup
this is a wild guess... But your Application scope could be getting
corrupted by another site on the same server having the same Application
name...
cfset this.name = testSite
As a practice, I try to make this
Hmmm you know I did realize that there was another web site using the same
application name.
Could this cause my problems?
-Original Message-
From: Chad Gray [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2008 1:41 PM
To: cf-talk
Subject: RE: application.cfc error
November 2008 18:41
To: cf-talk
Subject: RE: application.cfc error
Seems like kind of a hack eh'?
It probably would work though.
-Original Message-
From: Alan Rother
Sent: Monday, November 17, 2008 1:20 PM
To: cf-talk
Subject: Re: application.cfc error
Off hand I'm not sure what
Hmmm you know I did realize that there was another web site using the same
application name.
Could this cause my problems?
YES
--
Alan Rother
Adobe Certified Advanced ColdFusion MX 7 Developer
Manager, Phoenix Cold Fusion User Group, AZCFUG.org
Use the following code to prevent issues with running multiple
applications with the same name on a single server.
this.name = constants.siteName { hash(getCurrentTemplatePath())
}
(If I remembered where I first saw this, I would give proper credit.)
Mike
, but not all of my applications variables are defined for testSite2.
This is where I am getting my error!
-Original Message-
From: Chad Gray [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2008 1:42 PM
To: cf-talk
Subject: RE: application.cfc error
Hmmm you know I did realize
If you are referring to something that will run in production as
opposed to some limited debugging in a development environment, then I
prefer dumping the error details to a database table or inside of an
email.
-Mike Chabot
On Thu, Oct 23, 2008 at 9:27 AM, Chad Gray [EMAIL PROTECTED] wrote:
To: cf-talk
Subject: Re: application.cfc and session structure
If you are referring to something that will run in production as
opposed to some limited debugging in a development environment, then I
prefer dumping the error details to a database table or inside of an
email.
-Mike Chabot
an error in my error function is what I
am getting at.
Chad
-Original Message-
From: Mike Chabot [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 23, 2008 9:50 AM
To: cf-talk
Subject: Re: application.cfc and session structure
If you are referring to something that will run
Scratch that question .. we found a small problem in the code .. it does run
the components.
Thought it should.
-Original Message-
From: Paul Giesenhagen [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 14, 2008 10:30 AM
To: CF-Talk
Subject: Application.cfc OnSessionEnd
Can you call
the 'this' scope corresponds to the CFAPPLICATION tag, not the
application scope. If you want to set stuff into the application
scope you have to use it literally. A concrete example: setting
this.name is equivalent to passing the NAME attribute to
CFAPPLICATION, which in turn is available as
That would be the most logical place to put it. I'm not sure that a cfabort
is the best bet though. Why not simply use a regex and just strip out the
offending portion of the query string? Start with http and remove that, and
everything after it.
-Original Message-
From: Che Vilnonis
OnRequestStart would seem to be a good place for it. You might also override
the Session timeout (if you're using sessions) so that these spam requests
don't create a large number of dead sessions. You can set the timeout to 5
seconds or something before you do the redirect.
Regards,
Brian
On
Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Friday, June 06, 2008 9:17 AM
To: CF-Talk
Subject: RE: Application.cfc question: Where would be the best place to put
this code?
That would be the most logical place to put it. I'm not sure that a cfabort
is the best bet though. Why
, June 06, 2008 9:18 AM
To: CF-Talk
Subject: Re: Application.cfc question: Where would be the best place to put
this code?
OnRequestStart would seem to be a good place for it. You might also override
the Session timeout (if you're using sessions) so that these spam requests
don't create a large number
a spammed link to get to your site. Why kill that legit request when
you don't have to?
-Original Message-
From: Che Vilnonis [mailto:[EMAIL PROTECTED]
Sent: Friday, June 06, 2008 8:24 AM
To: CF-Talk
Subject: RE: Application.cfc question: Where would be the best place to put
this code
OK. If I were to use a regex, should I still place the code in
onRequestStart and use a re-direct with cflocation?
-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Friday, June 06, 2008 9:44 AM
To: CF-Talk
Subject: RE: Application.cfc question: Where would
[mailto:[EMAIL PROTECTED]
Sent: Friday, June 06, 2008 9:18 AM
To: CF-Talk
Subject: Re: Application.cfc question: Where would be the best place to put
this code?
OnRequestStart would seem to be a good place for it. You might also
override
the Session timeout (if you're using sessions) so
That makes sense to me.
-Original Message-
From: Che Vilnonis [mailto:[EMAIL PROTECTED]
Sent: Friday, June 06, 2008 8:54 AM
To: CF-Talk
Subject: RE: Application.cfc question: Where would be the best place to put
this code?
OK. If I were to use a regex, should I still place the code
[mailto:[EMAIL PROTECTED]
Sent: Friday, June 06, 2008 9:58 AM
To: CF-Talk
Subject: RE: Application.cfc question: Where would be the best place to put
this code?
That makes sense to me.
-Original Message-
From: Che Vilnonis [mailto:[EMAIL PROTECTED]
Sent: Friday, June 06, 2008 8:54 AM
To: CF
Oops. Fixed it. Needed to add urldecode() to my conditional.
-Original Message-
From: Che Vilnonis [mailto:[EMAIL PROTECTED]
Sent: Friday, June 06, 2008 10:12 AM
To: CF-Talk
Subject: RE: Application.cfc question: Where would be the best place to put
this code?
OK. This is interesting
I've figured what I was doing wrong, so my corrected question is: is
there any way to terminate a running thread that was launched by a
PREVIOUS page request?
~|
Get involved in the latest ColdFusion discussions, product
Use output=false on the component and all of the methods
On 9/3/07, James Smith [EMAIL PROTECTED] wrote:
I have a cfm page which must at all costs return a simple pipe delimited
list with no whitespace before or after it. Application.cfc is adding some
and messing everything up. For now I
Is output set to false? You can also use
cfcontent reset=yes / just before any output in the calling page to
reset any white space. That is, of course, if you don't want ANYTHING
displayed before this point
Example:
1
2
3
4
5
cfcontent reset=yes /6
Would result in the source of just...
6
Output=no doesn't quite work (almost but not quite) since setting it on
the onRequest() function results in no output being sent to the browser at
all!
However, adding cfcontent reset=yes directly before cfinclude
template=#Arguments.targetPage# in the onRequest() function seems to have
solved
Is output set to false? You can also use
cfcontent reset=yes / just before any output in the calling page to
reset any white space. That is, of course, if you don't want ANYTHING
displayed before this point
I always like usin that one for the doctype in a header. :)
me
Yep ;-)
..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
-Original Message-
From: Will Tomlinson [mailto:[EMAIL PROTECTED]
Sent: Monday, September 03, 2007 3:58 PM
To: CF-Talk
Subject: Re: Application.cfc adding whitespace
Is output set to false? You can
I googled for 'cflocation application.cfc onerror' and this was the
first result (the fix for it)
http://www.coldfusionjedi.com/index.cfm/2005/9/28/Two-Nice-Fixes-in-Cold
Fusion-701
You can either update to CF 7.01 (why are you not up to date??) or you
can put this into your onError method:
Oh wow! this server is not up to date. No wonder I was getting strange
results from staging to production.
Thanks!
-Original Message-
From: Peterson, Chris [mailto:[EMAIL PROTECTED]
Sent: Monday, August 27, 2007 9:23 AM
To: CF-Talk
Subject: RE: application.cfc onError
I googled
Plenty of ways to do this, but I'd probably create a utilities.cfc and then
drop it into the application scope (in OnApplicationStart()). That way,
anytime you want to use it on your site, you just call it that way. The
added benefit is if you find you have more functions liek this that you may
Plenty of ways to do this, but I'd probably create a utilities.cfc and
then
drop it into the application scope (in OnApplicationStart()). That way,
anytime you want to use it on your site, you just call it that way.
I concur with Crow - I was going to suggest exactly the same thing. You
Camden [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 01, 2007 6:24 PM
To: CF-Talk
Subject: Re: application.cfc and var
I assume you mean in methods. Yes.
The var rule also applies to UDFs as well.
Var now.
Var tomorrow.
Var always.
:)
On 8/1/07, Chad Gray [EMAIL PROTECTED] wrote:
Ok now
I assume you mean in methods. Yes.
The var rule also applies to UDFs as well.
Var now.
Var tomorrow.
Var always.
:)
On 8/1/07, Chad Gray [EMAIL PROTECTED] wrote:
Ok now that I have learned about declaring variables in CFCs so you don't run
into race conditions and problems. How about
Jones Eric R Ctr 8 AF Det 1/AFNOC wrote:
Why doesn't the Application.cfc file run when a template isn't found?
Because technically the constructor code of Application.cfc is included
in the template and that is a bit hard when the template isn't present.
Anyone know how to catch these
I am new to application.cfc and I am running into problems trying to
use the onError function. I think I have narrowed it down to a
cfabort in my onRequestStart function.
Read this:
http://ray.camdenfamily.com/index.cfm?mode=entryentry=ED9D4058-E661-02E9-E70A41706CD89724
That might solve
Anyone know what this java.lang.NullPointerException is? There is nothing
in the CF logs to help me figure out
what this error is.
I have found that this error often pops up when you try to use a date
function such as DateDiff or DateFormat, and the value you are passing to
the function is
I have started using application.cfc and sending an email when an
error occurs by placing a CFMail tag in the onError function.
I have one user that when she is doing an insert on a table and is
taken back to the display page I get this error emailed to me.
I think this was a bug. I know
One tip - maybe do a structkeyexists on your exception values like
type and tagcontext within rootcause. I see you using it for rootcause
itself, but not the others. (Although message should always exist
afaik.)
Worse comes to worse - just mail a dump of the exception object and
see the keys
That file structure formatting got messed up in the transfer. Amended:
/root
- Application.cfc
- Index.cfm
/root/subdirectory
o Application.cfm
o index.cfm
~|
Create robust
I'm pretty darn sure it runs the first one it finds. Since your
immediate dir has .cfm, it will be loaded.
On 12/19/06, Ray Champagne [EMAIL PROTECTED] wrote:
That file structure formatting got messed up in the transfer. Amended:
/root
- Application.cfc
- Index.cfm
To: CF-Talk
Subject: RE: Application.cfc vs cfm
That file structure formatting got messed up in the transfer. Amended:
/root
- Application.cfc
- Index.cfm
/root/subdirectory
o Application.cfm
o index.cfm
Hi Ray,
in Railo 1.1 you can configure this setting. In the Railo administrator
you will be able to set the Application Listeners as follows:
Type:
none - No Application.cfm and Application.cfc will be included
classic - First look for Application.cfm and after the request for
OnRequestEnd.cfm
Senior Systems Programmer
Wharton Computing and Information Technology
E-mail: [EMAIL PROTECTED]
-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 19, 2006 10:03 AM
To: CF-Talk
Subject: Re: Application.cfc vs cfm
No - the .CFC wins
FWIW --- The following text is quoted straight from the CFMX Development
Guide that ships with CFMX7:
!---
How ColdFusion MX finds and process application definition pages
ColdFusion MX uses the following rules to locate and process the
Application.cfc,
Application.cfm, and OnRequestEnd.cfm
]
Sent: 19 December 2006 15:11
To: CF-Talk
Subject: Re: Application.cfc vs cfm
Hi Ray,
in Railo 1.1 you can configure this setting. In the Railo administrator you
will be able to set the Application Listeners as follows:
Type:
none - No Application.cfm and Application.cfc will be included classic
Should read
how does this affect application.cfc
-Original Message-
From: Snake [mailto:[EMAIL PROTECTED]
Sent: 19 December 2006 15:48
To: CF-Talk
Subject: RE: Application.cfc vs cfm
While on this subject. Considering CFC's are slower to instantiate compared
to regular .cfm files, how
Sent: Tue Dec 19 15:11:10 2006
Subject: Re: Application.cfc vs cfm
Hi Ray,
in Railo 1.1 you can configure this setting. In the Railo administrator
you will be able to set the Application Listeners as follows:
Type:
none - No Application.cfm and Application.cfc will be included
classic - First
While on this subject. Considering CFC's are slower to
instantiate compared to regular .cfm files, how does this
affect application.cfm, has anyone tested? Is it slower than
using application.cfm and onrequestend.cfm
I haven't bothered doing any testing.
However, I haven't seen any
necessary to implement a
3rd party CF server.
Rick
-Original Message-
From: Gert Franz [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 19, 2006 10:11 AM
To: CF-Talk
Subject: Re: Application.cfc vs cfm
Hi Ray,
in Railo 1.1 you can configure this setting. In the Railo administrator
you
the speed to be
dire, the pages took seconds to load, compared to milliseconds for the same
site not done using CFC's
Russ
-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: 19 December 2006 17:09
To: CF-Talk
Subject: RE: Application.cfc vs cfm
While on this subject
be more attractive
and worth the effort to do the work necessary to implement a
3rd party CF server.
Rick
-Original Message-
From: Gert Franz [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 19, 2006 10:11 AM
To: CF-Talk
Subject: Re: Application.cfc vs cfm
Hi Ray,
in Railo
You could just use jsstringformat() to escape strings in javascript
..:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
-Original Message-
From: Chad Gray [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 14, 2006 11:43 AM
To: CF-Talk
Subject: application.cfc
I am
1 - 100 of 191 matches
Mail list logo