[thelist] CF Variable Locking and CFLOCATION

Joshua OIson joshua at alphashop.net
Fri May 18 09:01:31 CDT 2001


If I store a URL in a session or application variable and use it in a
cflocation WITHIN a cflock (exclusive), does the lock get released by the
cflocation?  Or is that a memory leak?

example:

  <cflock timeout="30" throwontimeout="No" type="EXCLUSIVE" scope="SESSION">
    <cfset session.myid = get_max.id>
    <cflocation url="#cgi.script_name#/myid=#session.myid#" addtoken="No">
  </cflock>

[Notice that the cflocation is WITHIN the cflock]

TIA,
-joshua






More information about the thelist mailing list