On 6/2/05, S. Isaac Dealey <[EMAIL PROTECTED]> wrote: > <cffunction name="onRequest"> > <cfargument name="targetPage" type="string" required="true"> > <cfinclude template="Application.cfm"> > <cfinclude template="#targetPage#"> > </cffunction>
Yikes, including Application.cfm in both onRequest() and onApplicationStart() is very unlikely to work the way you expect... Where are your <cfset this.x = y /> settings in the pseudo-constructor? You *must* have those in order to give your application a name etc. <cfapplication> does not work inside Application.cfc because the values need to be set before any methods are called. <cfset this.name = "myApplication" /> Read the migration docs in the manual - they go into great detail about how to convert from Application.cfm to Application.cfc. -- Sean A Corfield -- http://corfield.org/ Team Fusebox -- http://fusebox.org/ Got Gmail? -- I have 50, yes 50, invites to give away! "If you're not annoying somebody, you're not really alive." -- Margaret Atwood ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:208482 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

