Rob,

okay, if you need to change this date and if we have only two ways left:
file and table, I'd better suggest you to choose a table with the single
row:
1. it is easy to work with
2. it is OS independent
3. if you do think it is weird now, you'll have to do this later, cause very
possibly you'll have more such data to store

stas@

-----Исходное сообщение-----
От: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Кому: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Дата: четверг, 22 июня 2000 г. 6:12
Тема: Re: "Permanent variable" storage


>
>
>Thanks everyone for the responses.
>
>>why do you think application scope is a bad idea? even after server
restart
>>your application will be intended to reinitialize thru application.cfm...
>
>Yes I know, but if the variables need to be changed they must be stored
>elsewhere in order for application.cfm to be able to initialise with the
current
>values.
>
>Just say I have two email addresses, one for contacts and one for
registration.
>
>If I have an "update email addresses" page that simply does a <cfset
>application.contact_address="[EMAIL PROTECTED]">, then this variable will
be OK
>until the server restarts but then it will be erased by whatever the
defaults in
>application.cfm are. Or at least I think that's the way it works.
>
>I was thinking I could have a table set up wtih four columns, email_id,
>contact_address, registration_address and date_created. I could then do an
>insert when they change the email address and initialise the application
with
>whatever the newest email addresses are.
>
>However, I don't need to save the older addresses so the information is
>redundant. Should I just have a table with one row that just gets updated?
I
>know I can do this but I am just wondering if there is an alternative.
>
>--------
>Rob Keniger
>
>
>---------------------------------------------------------------------------
---
>Archives: http://www.eGroups.com/list/cf-talk
>To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to