cflock do not throw timeout for same url called in same browser
- by Pritesh Patel
I am trying lock block on page test.cfm and below is code written on page.
<cfscript>
writeOutput("Before lock at #now()#");
lock name="threadlock" timeout="3" type="exclusive"
{
writeOutput("<br/>started at #now()#");
thread action="sleep" duration="10000";
writeOutput("<br/>ended at #now()#");
}…