cflock read only
we use many static application variables populate pick boxes , compare them form values in process. used validate input text boxes.
lately, have been seeing error saying 2 character code exceeding maxlength of 2 in cfqueryparam tag.
when application variables refreshed, error goes away few days or few months, comes back.
could caused not having cflocks around populating , comparing application variables ?
well could be. it's more of shot in dark you, given don't have code in front of use check.
is there chance 2 consecutive requests hit initialisation / setting code @ same time, , accordingly add variable twice? if so... yeah, need locking.
anything set in application scope should written in onapplicationstart() though, if poss.
--
adam
More discussions in ColdFusion
adobe
Comments
Post a Comment