> 1. Use the session scope [downside = locking; upside = persisent
> in memory]
Ryan,
Locking the session scope is no big deal... all you need is to do a locked
Duplicate() into the Request scope in app_globals and (optionally) copy it
back into Session after app_layout.
The tricky part is the bug (or bugs) in Duplicate() under 4.5x. If you plan
to store a query somewhere inside that Session/Request structure, you may
find yourself experiencing all kinds of undefined errors.
The only way around them (that I've found) is to use WDDX to copy the struct
from one scope to the other in place of Duplicate(). And if you're going to
have to do that anyway, many folks would conclude that you're better off
just using Client variables in the first place.
--
Roger
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists