Hey Matt,
I was reading Ben Forta's blog the other day and I read something
about being careful when using server variables. Some people were having
problems while using server variables because those variables were being
used by other servers without anyones knowledge of its use.
SERVER.variables are ok to use it is how you use that makes it recommend
or not recommended.
About the other guys that replied harshly...relax guys. We are here
to help each other.
Ravi.
Matt Williams wrote:
> I think I did hear Ben Forta say server variables are not recommended.
> I can't remember any reasons why though.
>
> My question would be how are you setting the server variable? Going
> back to Phil B's original question of can you set it at server
> startup? No.
>
> So if you are setting server variables in Application CFC, then it
> seems to me that the variable is actually an application variable.
>
> The company I work for now uses a platform config xml file which has
> server settings (which are specific to the server and application). So
> each app has it's own config file, with sections in it per server.
>
> Matt
>
> On 6/8/07, J.J. Merrick <[EMAIL PROTECTED]> wrote:
>
>> geez hold of the dogs, I will rescind my statement and chalk it up to a
>> friday misrant.
>>
>>
>>
>>
>> On 6/8/07, Dave Watts <[EMAIL PROTECTED]> wrote:
>>
>>>> Creating server variables are not recommended so there may be
>>>> another route you can take.
>>>>
>>> Not recommended by whom, exactly?
>>>
>>> This kind of blanket statement is almost always unwarranted. There is
>>> nothing wrong, generally, with using server variables.
>>>
>>> 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!
>>>
>>> This email has been processed by SmoothZap - www.smoothwall.net
>>>
>>>
>>>
>>>
>>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create Web Applications With ColdFusion MX7 & Flex 2.
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:280495
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4