We worked around the issue, but we did identify at least one bug
Application.cfm when called via a Webservice.







"This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant,
Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions." 
Visit our website at http://www.reedexpo.com

-----Original Message-----
From: Andrew Scott
To: CF-Server
Sent: Tue Aug 01 06:08:47 2006
Subject: RE: Application.cfc problem - bug or expected behaviour?

Hmmm,

The logic you are providing is incorrect. When a request is made to a page
CF adds the application and OnRequestEnd to the request call. If a page
calls an object via cfinvoke or CreateObject why would you expect this to
then reload an application.cfc/cfm. The reason it doesn't is because it
would override any application that has called it and create serious issues
with applications.

I don't think you really thought about that question.
 
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613  8676 4223
Mobile: 0404 998 273
 
-----Original Message-----
From: Robertson-Ravo, Neil (RX)
[mailto:[EMAIL PROTECTED] 
Sent: Monday, 17 July 2006 4:25 PM
To: CF-Server
Subject: Application.cfc problem - bug or expected behaviour?

All, 

We are building a seperate API layer for an application which sits in it's
own folder to be called by either a Web Service or a normal component call.
The API does not and will not have any .cfm pages within it's folder struct
- it is literally a loose collection of cfc's.

The API has it's own Application.cfc which I was expecting to be called when
we call the wrapper CFC (the gateway for both the internal createObject
calls and external cfinvoke web service calls.

What I have found is that, as expected, the Application.cfc is called when
the wrapper is called via a Web Service call but it is not called when
called via createObject? Is this expected behaviour? Is it a bug? It is odd
as you would expect both methods to trigger the Application.cfc as they are
effectively doing the same thing - calling the wrapper cfc.

Anyone know why?






"This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant,
Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions." 
Visit our website at http://www.reedexpo.comThis e-mail is from Reed
Exhibitions (Oriel House, 26 The Quadrant, Richmond, Surrey, TW9 1DL, United
Kingdom), a division of Reed Business, Registered in England, Number 678540.
It contains information which is confidential and may also be privileged.
It is for the exclusive use of the intended recipient(s).  If you are not
the intended recipient(s) please note that any form of distribution, copying
or use of this communication or the information in it is strictly prohibited
and may be unlawful.  If you have received this communication in error
please return it to the sender or call our switchboard on +44 (0) 20
89107910.  The opinions expressed within this communication are not
necessarily those expressed by Reed Exhibitions.  Visit our website at
http://www.reedexpo.com





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Server/message.cfm/messageid:6065
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:10
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.10

Reply via email to