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,
t;
> 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
>
>
> t
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 can
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
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 eac
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 Commu
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
Now this (below) works as expected:
#x27;t be either/or. It must be &.
Plug in to our blog: A&W 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: Application.cfc OnErrorReque
> 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 t
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
>
>
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" wrote:
>
>I recently modified my Application.cfc to email all errors for debugging.
>W
> 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
> > can't you just do 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 experience the true event tri
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 wrote:
>
> can't you just do to get the method to fire?
> Do you really need to rena
Ah, I didn't know that.
On Thu, Jan 27, 2011 at 6:27 PM, Ian Skinner wrote:
>
> On 1/27/2011 3:12 PM, Michael Grant wrote:
> > can't you just do 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 exa
On 1/27/2011 3:12 PM, Michael Grant wrote:
> can't you just do 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 want
can't you just do 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 wrote:
>
> 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 Applic
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 onApplic
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 wrote:
>
> Hi Folks -
>
> I am feeling dumb and either I am missing something simple or it's way
> above me.
>
> In my application.
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
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 Fusi
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:
Then, when you need it:
#application.udfs.MyDecimalFormat(myNum)#
You could also do someth
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
www.austin-williams.com
>
> Great advertising can't be either/or. It must be &.
>
> Plug in to our blog: A&W Unplugged
> http://www.austin-williams.com/unplugged
>
>
>
> -Original Message-
> From: b...@bradwood.com [mailto:b...@bradwood.com]
> Sent:
: 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) Store the files outside o
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 eac
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 cfcon
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 wrote:
>
> Is it safe to put this code in the onError function?
>
> FORM Variables
>
>
> SESSION Variables
>
>
>
>
~
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 poin
Create a mapping to the siteroot, and do ?
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f
Archive:
http://www.house
Liz,
This is not a great solution, but you could put a dynamic Base tag in the
head:
Main directory:
Sub directory:
I think that would work as a stop-gap.
--
Ben Nadel
Adobe Community Expert
Adobe Certified Advanced ColdFusion Developer
Manager New York ColdFusion User Group
http://www.b
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
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
|fro
> 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
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 tel
spect, 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 n
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
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
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 call
ROTECTED]
> Sent: Monday, November 17, 2008 1:42 PM
> To: cf-talk
> Subject: RE: application.cfc error
>
> Hmmm you know I did realize that there was another web site using the same
> application name.
>
> Could this cause my problems?
>
>
>
> > -Original Me
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
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
~
If this line ever errors on AppStart:
The cart won't get created and the app will have started.
Adrian
Building a database of ColdFusion errors at http://cferror.org/
-Original Message-
From: Chad Gray
Sent: 17 November 2008 18:41
To: cf-talk
Subject: RE: application.cfc error
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: applic
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...
As a practice, I try to make this value as unique as reasona
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 w
r 17, 2008 12:59 PM
> To: cf-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
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:
Off hand I'm not sure what is causing it, but this may help
=]
--
Alan Rother
Adobe Certified Advanced ColdFusion MX 7 Developer
Manager, Phoenix Cold Fusion User Group, AZCFUG.org
~~
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 do
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
>
ts? I don't want 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: appli
, 2008 9:50 AM
> 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
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:
>
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 ot
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 the
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
6, 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-Talk
Subject: RE: Application.cfc question:
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 in
k [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 timeou
OK. If I were to use a regex, should I still place the code in
onRequestStart and use a re-direct with ?
-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 be the best place
ve
clicked 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 t
Brian, w/regards to resetting the session timeout, would this work?
http://";>
http://www.mydomain.com";>
Regards, Che
-Original Message-
From: Brian Kotek [mailto:[EMAIL PROTECTED]
Sent: Friday, June 06, 2008 9:18 AM
To: CF-Talk
Subject: Re: Applicat
al 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.
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 F
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 [mai
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
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
>Is output set to false? You can also use
> 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
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 directly before in the onRequest() function seems to have
solved that.
Cheers all.
--
Jay
No virus found in this outgoing
Is output set to false? You can also use
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
6
Would result in the source of just...
6
..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hart
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 no
> 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
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
ne
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 for
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:
m: Raymond 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
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 WITHO
> 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
> in my onRequestStart function.
Read this:
http://ray.camdenfamily.com/index.cfm?mode=entry&entry=ED9D4058-E661-02E9-E70A41706CD89724
That might solve you
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 there
> 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 k
> 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
e were significantly less, then it would 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
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
o 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 1.1 you can configure this setting. In the Railo administ
> 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 evi
anz
To: CF-Talk
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
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
ECTED]
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 cl
FWIW --- The following text is quoted straight from the CFMX Development
Guide that ships with CFMX7:
HTH...
Robert Mansen
Electronics Engineer
WRALC/ITMS
Bldg 301 West
Room C09, Cube 20
Robins AFB, GA 31098
(478) 222-3156
-Original Message-
From: Ray Champagne [mailto:[EMA
Terrence Ryan
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
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
Cool, that's what I thought.
> -Original Message-
> From: Raymond Camden [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, December 19, 2006 9:58 AM
> To: CF-Talk
> Subject: Re: Application.cfc vs cfm
> Importance: High
>
> I'm pretty darn sure it runs
logy
> E-mail: [EMAIL PROTECTED]
>
>
> -Original Message-
> From: Ray Champagne [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, December 19, 2006 9:58 AM
> To: CF-Talk
> Subject: RE: Application.cfc vs cfm
>
> That file structure formatting
: 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
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
>
> - Inde
1 - 100 of 194 matches
Mail list logo