> I'm betting the answer to this is no, but has anyone found a way of
> migrating an existing application.cfm to the onRequestStart portion of
> an Application.cfc while maintaining the viability of local variables
> that had been set in the Application.cfm? I know it's a bad practice
> -- wasn't my idea. :) I was just kinda hoping (likely futile) that
> there might be a workaround to allow us to use application.cfc in
> spite of the bad practice.

First, what's wrong with setting local variables in Application.cfm?

Second, you can just set them in Application.cfc the same way. Just don't
put them in a function, and they'll work just like in Application.cfm.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized 
instruction at our training centers in Washington DC, Atlanta, 
Chicago, Baltimore, Northern Virginia, or on-site at your location. 
Visit http://training.figleaf.com/ for more information!


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:208423
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

Reply via email to