I was going to try that but I have 15+ sites running on the server and
growing. I would rather it be some place by its self that wont require
some one calling a page to get it set.

On 6/7/07, Brad Wood <[EMAIL PROTECTED]> wrote:
> <cfif not structkeyexists(server,"servervar")>
>         <cfset server.servervar = "myvalue">
> </cfif>
>
> Place that in your root application.cfm and it will get run the first
> page load.
>
> ~Brad
>
> -----Original Message-----
> From: Phill B [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 07, 2007 4:32 PM
> To: CF-Talk
> Subject: Set server var at startup?
>
> How can I set a server var when Coldfusion starts? I need the var to
> be available to all the sites on the server and would like it to be
> set when the server starts.
>
> --
> Phil
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:280436
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to