[thelist] CF Variable Locking and CFLOCATION

Joshua OIson joshua at alphashop.net
Fri May 18 09:20:22 CDT 2001


I would love to use a readonly lock, but I am setting the session variable,
which would necessitate an exclusive lock.  Am I misunderstanding the
purpose of the types of locks?

-joshua

----- Original Message -----
From: "Raymond Camden" <jedimaster at macromedia.com>
To: <thelist at lists.evolt.org>
Sent: Friday, May 18, 2001 10:16 AM
Subject: RE: [thelist] CF Variable Locking and CFLOCATION


> I will check with an internal engineer, but I _believe_ this is safe. By
the
> way, you should be using a ReadOnly lock, not an exclusive lock.
>
>
> =======================================================================
> Raymond Camden, Principal Spectra Compliance Engineer for Macromedia
> > 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]






More information about the thelist mailing list