CFLOCK is no longer necessary to prevent memory corruption, but it is still
necessary to prevent race conditions in your code.  In other words, if you
need to ensure that only a single request at a time can access a resource
(whether a variable in a shared scope, a file on the filesystem, or
something else) you still need CFLOCK.  You can usually get away without
locking session access, as long as your site doesn't use frames, but you
should still put it in there where appropriate.


---
Barney Boisvert, Senior Development Engineer
AudienceCentral
[EMAIL PROTECTED]
voice : 360.756.8080 x12
fax   : 360.647.5351

www.audiencecentral.com


> -----Original Message-----
> From: Tim Laureska [mailto:[EMAIL PROTECTED]
> Sent: None
> To: CF-Talk
> Subject: session/client variables 101
>
>
> Hello,  I am implementing session & client variables for the
> first time (on a job/resume posting site).  This is in a shared
> hosting environment.  The server uses CFMX
>
>
>
> Based on recent postings I've read, it appears locking of session
> variables is no longer necessary in the CFMX server environment
> .... Is this true?
>
>
>
> TIA
>
>
> Tim Laureska
>
> e-mail: [EMAIL PROTECTED]
>
>
>
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to