re: Trying to understand application.cfc...

2010-08-12 Thread Jason Fisher
I do exactly that, Rick, and it works fine. All my app vars are set in onApplicationStart, except for the constants like 'name', which I set outside the methods: cfcomponent output=false cfscript this.name = myAppName; this.applicationTimeout =

RE: Trying to understand application.cfc...

2010-08-12 Thread Rick Faircloth
application.website = RickFaircloth.com /cffunction /cfcomponent Any wrong or missing? -Original Message- From: Jason Fisher [mailto:ja...@wanax.com] Sent: Thursday, August 12, 2010 2:17 PM To: cf-talk Subject: re: Trying to understand application.cfc... I do exactly

Re: Trying to understand application.cfc...

2010-08-12 Thread Eric Cobb
You should be able to set that variable in OnApplicationStart() with no problems. In fact, as you said, that's the preferred place to set it. You must have something else going on that's causing the problem. Thanks, Eric Cobb ECAR Technologies, LLC http://www.ecartech.com

RE: Trying to understand application.cfc...

2010-08-12 Thread Andrew Scott
: Rick Faircloth [mailto:r...@whitestonemedia.com] Sent: Friday, 13 August 2010 4:31 AM To: cf-talk Subject: RE: Trying to understand application.cfc... Thanks for the reply, Jason... Well...I swear, the first time I tried to set application.website inside onApplicationStart, I got

RE: Trying to understand application.cfc...

2010-08-12 Thread Paul Day
@houseoffusion.com Subject: RE: Trying to understand application.cfc... Thanks for the reply, Jason... Well...I swear, the first time I tried to set application.website inside onApplicationStart, I got an error saying application.website wasn't defined. Now, for some reason, it works. The only thing

RE: Trying to understand application.cfc...

2010-08-12 Thread Rick Faircloth
That's most likely what happened... -Original Message- From: Andrew Scott [mailto:andr...@andyscott.id.au] Sent: Thursday, August 12, 2010 2:31 PM To: cf-talk Subject: RE: Trying to understand application.cfc... Rick, Is it highly possible that you had run the application

RE: Trying to understand application.cfc...

2010-08-12 Thread Rick Faircloth
Thanks for the tip! -Original Message- From: Paul Day [mailto:p...@nucomsolutions.com] Sent: Thursday, August 12, 2010 2:36 PM To: cf-talk Subject: RE: Trying to understand application.cfc... Rick, One thing I do is to place a piece of code into the onRequestStart method to reinit