Geesh. You'd think Allaire would give at least a LITTLE thought to
backward compatibility. I've discovered that setting session,
application variables, etc. MUST be set with a lock if CF 4.5
administration is set to make that mandatory. OK, I can live with
that, but you MUST set the SCOPE in the cflock tag. But then if you
try to use that template in 4.0x, scope is not understood and gives
an error. What a crock. So now, everything I've developed I have to
make 2 copies of, one with scope= and one without. And to develop
with my CF 4.01 here at home, I have to develop everything without
scope=, then add it in to all the cflock tags and upload the
templates, then remove them all to do any future changes to the site,
then add them back in to upload. What a mess!
Don't you think with all the braniacs developing over there, that
they could have come up with a way for CF to look inside that lock
and see if there is a session variable, or an application variable,
or a client variable, etc. being set so you wouldn't have to specify
the scope and break your templates on all previous versions of CF?
Am I ranting for nothing? Does anyone know of a way to get around
this? Is there a cgi variable to read the version of CF? If so, I
guess I could wrap every cflock inside cfif to read the version and
set the scope accordingly.
--
Bud Schneehagen - Tropical Web Creations
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
ColdFusion Solutions / eCommerce Development
[EMAIL PROTECTED]
http://www.twcreations.com/
954.721.3452
------------------------------------------------------------------------------
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.