Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
Spiralhead #1
cflock and session variables
Do I need to lock code that checks if a session is defined? Which one of these
is the correct approach?
<cflock scope="session" type="exclusive" throwontimeout="no" timeout="30">
<cfif isdefined("session.mayvar")>
<cfset request.myvar = session.myvar>
</cfif>
</cflock>
OR...
<cfif isdefined("session.mayvar")>
<cflock scope="session" type="exclusive" throwontimeout="no" timeout="30">
<cfset request.myvar = session.myvar>
</cflock>
</cfif>
Spiralhead Guest
-
#39447 [NEW]: Want to optionally handle apc_upload_progress variables using session variables
From: krudtaa at yahoo dot com Operating system: All PHP version: 5.2.0 PHP Bug Type: Feature/Change Request Bug... -
Session Variable problem with CFLOCK
Hi Guys here is my error message: Cannot lock Session scope.CFLock cannot be used to lock the application or session shared scopes without... -
application variables, cflock, and best-practise
i have a number of application variables that i store once but access frequently (a few times per page). the simple question is "should i be... -
Session variables and CFLOCK
I'm working with a simple example using CFLOCK to set a variable's scope to session and then access that session variable from another page. But... -
Session Variables and CFlock tags
Recently our web site is throwing a lot of 'Timed out while waiting to obtain exclusive access on session variables'. Does anyone have a clue why... -
Spiralhead #2
cflock and session variables
Do I need to lock code that checks if a session is defined? Which one of these
is the correct approach?
<cflock scope="session" type="exclusive" throwontimeout="no" timeout="30">
<cfif isdefined("session.mayvar")>
<cfset request.myvar = session.myvar>
</cfif>
</cflock>
OR...
<cfif isdefined("session.mayvar")>
<cflock scope="session" type="exclusive" throwontimeout="no" timeout="30">
<cfset request.myvar = session.myvar>
</cflock>
</cfif>
Spiralhead Guest



Reply With Quote

