Wow - your second example makes me think that dotted syntax is what....
copying the variable? and the index sytax (session.var[ ]) is accessing by
reference? That is too "anomalous" for me. I'd really like to get an answer
from MM on that one. Makes me nervous.

Mark

-----Original Message-----
From: Chuck McElwee [mailto:[EMAIL PROTECTED]]
Sent: Sunday, March 17, 2002 4:05 PM
To: CF-Talk
Subject: RE: UDF question - extended


Along with the locking issues, I've found some interesting anomalies.  I use
'Full Checking' (development server only) and find that

<cfif isDefined("session.sessionid")>

(No locks) does not throw an error.  I like this, but is this safe?

Also,
<cfoutput>#Variables.session.sessionid#</cfoutput> does not throw an error
but
<cfoutput>#Variables.session["sessionid"]#</cfoutput> does.  Isn't the
second simply an alternate syntax?

What's up with that?

Chuck McElwee
etech solutions inc
www.etechsolutions.com


-----Original Message-----
From: junkMail [mailto:[EMAIL PROTECTED]]
Sent: Sunday, March 17, 2002 4:55 PM
To: CF-Talk
Subject: Re: UDF question


I brought this option up in an earlier thread on this list and got a bit of
a
spanking. (smile)

I run my main server with Single Threaded Sessions enabled, as well as
Server
and Application scopes set to "Automatic read locking".  I don't lock
Session
variables and I only lock writes for Server and Application variables.

Based on very limited testing, I see no discernable performance hit and my
code is a lot cleaner.  The server, admittedly, does not host any
extremely-high activity sites.

It would be wonderful to have some definitive information from Macromedia
about these options.

Keith Meade
[EMAIL PROTECTED]

----- Original Message -----
From: "Ben Forta" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Sunday, March 17, 2002 3:41 PM
Subject: RE: UDF question


> Pay a price, yes, especially if you are using frames. But I'd not call
> it a steep price.
>
> Has anyone ran stats on this one?



______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
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