> Great article! I do have a question about it though, if anyone has had
> a read through and maybe tried it out...
Thanks. :)
>
> The examples Michael gives use server variables... which in a shared
> hosting environment I assume could cause problems. Could the same
> thing be done using application variables? Maybe I'm missing something
> essential about the way they work...
I used server variables so that you could have the functions in memory at
all times to be used. Server variables are in memory across all applications
on a single machine. Application variables are stored in memory the same way
but are limited to a single application. You could change it to use
application vars, but would still need locking (at least for the setting).
Truth be told, they could be set as standard variables and not have a prefix
at all, but then they have to be set on any page that needs them.
In my next article, I'll be going over advanced custom functions as well as
provide a script to include them into your application easily.
Michael Dinowitz
Publisher: Fusion Authority weekly news alert
(www.fusionauthority.com/alert)
Listmaster: CF-Talk, CF-Jobs, Spectra-Talk, Jrun-Talk, etc.
(www.houseoffusion.com)
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
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.