I'm unclear on what impact CFLOCK had on this, but as a side note, you
can actually trim up that code quite a bit.  I frequently see people
using CFOUTPUT and pound signs where they aren't actually needed, and
this is one of those cases.  It may seem a little petty to point this
out, but it can really clean up your code and make it more readable,
not to mention taking less keystrokes to write code.  Really all
that's needed here is:

<cfset structClear(session)>
<cfset structClear(cookie)>

CFOUTPUT is only required when you are outputting code to the screen,
and the pound signs are only needed in cases you are instructing the
compiler that you are using a variable instead of a literal string.
In this case, since it's in a CFSET tag you don't need the pound
signs.

-Cameron

On 8/29/07, Fennell, Mark P. <[EMAIL PROTECTED]> wrote:
>
> Tee-hee. Nevermind. I'm a moron...
> I forgot to cflock and I had this in the Application.cfm... doh!
>
> <cfoutput><cfset #structClear(session)#></cfoutput>
> <cfoutput><cfset #structClear(cookie)#></cfoutput>
>
> Sorry to have bothered.
> mf

-- 
Cameron Childress
Sumo Consulting Inc
http://www.sumoc.com
---
cell:  678.637.5072
aim:   cameroncf
email: [EMAIL PROTECTED]


-------------------------------------------------------------
Annual Sponsor FigLeaf Software - http://www.figleaf.com

To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------



Reply via email to