If CF5: Repeat after me (again): If I _type_ session (or application or
server), I type lock. Using that rule, yes, you need a lock.

<cflock scope="session" type="readOnly" timeout=3>
        your code
</cflock>

In CFMX, I would not use the lock.

=======================================================================
Raymond Camden, ColdFusion Jedi Master for Macromedia

Email    : [EMAIL PROTECTED]
Yahoo IM : morpheus

"My ally is the Force, and a powerful ally it is." - Yoda 

> -----Original Message-----
> From: Critter [mailto:[EMAIL PROTECTED]] 
> Sent: Monday, July 08, 2002 1:57 PM
> To: CF-Talk
> Subject: nuther lockin Q?
> 
> 
> oi CF-Talk,!!
> 
>   I've got this on a few pages:
> 
> <cfif not isDefined("Session.Auth.iUserID") or 
> Session.Auth.iUserID eq "">
>         <cflocation url="../logout.cfm?reason=sessiontimeout" 
> addtoken="no">
> </cfif>
> 
> would  that  still  "qualify"  for a lock? and if so would I 
> just lock the whole
> <cfif> ?
> 
> -- 
> Critz
> Certified Advanced Bald White Barefoot ColdFusion Developer
> 
> Crit[s2k] - <CF_ChannelOP Network="Efnet" Channel="ColdFusion">
> 
> 
______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to