Ask a Question related to Coldfusion Server Administration, Design and Development.
-
ColdFusionSmurf #1
Unwanted multi-threading with CFLOCK
Does this make any sense? My code looks like this:
<cflock scope="session" type="exclusive" timeout="5">
<cfset session.Job.JobID = url.JobID>
</cflock>
<cfset url.JobID = "temp">
Now, before it gets to this code, JobID is set to some number, let's say 10012.
After this code runs, the session variable should be holding 10012 and the url
variable should be holding "temp". But that's not the case. It seems as
though the second cfset statement is running before the code inside the cflock,
because the value of the session variable is "temp".
Is there some setting in CFAdmin that I can turn on or off to stop it from
multithreading within a single page?
Any help you can offer is most appreciated.
ColdFusionSmurf Guest
-
<cflock> help
AFAIK, cflock is used for protecting data in persistant scopes (i.e. session, application, client, server, etc...). Updates, deletes, inserts to... -
CFLOCK ?? Where and Why I must use it?
The user inserts info to the database through 5 steps. By each step he gets info from the database and changes it and insert in back to the... -
CFlock
Hi guys I have been reading up on the CFlock tag and I was just wondering is it really important that i include it in my CF application for the... -
Implications for a multi lingual, multi curreny e commerce site ??
Hi I'm about to start wotk on a large e commerce site which is to be multi lingual and support multi currencies. The site needs full content... -
Form validation for multi-rows and multi-columns
Hello All, I have a classical ASP form with multi-rows and multi-columns that allows users to enter multiple records at once. How do you check...



Reply With Quote

