Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<CFIF iNeedToRepopulateTheArray = true>
<CFLOCK timeout="10" throwontimeout="No" type="EXCLUSIVE" scope="SESSION">
<CFSET session.repopulatingArray = true>
<CFSET session.myArray[1] = ...
:
<CFSET session.repopulatingArray = false>
</CFLOCK>
</CFIF>
:
<CFSET infiniteCheck = 1>
<CFSET myError = 0>
<CFLOOP condition="session.repopulatedArray">
<CFSET infiniteCheck = infiniteCheck + 1>
<CFIF infiniteCheck GT 999999>
<!--- loop is stranded, assume array repopulating failed --->
<CFSET myError = ...
<CFSET session.repopulatedArray = false>
</CFIF>
</CFLOOP>
<CFIF myError EQ 0>
<!--- set up IFrame here --->
<CFLOCK timeout="10" throwontimeout="No" type="READONLY" scope="SESSION">
#session.array[1]# ...
</CFLOCK>
</CFIF>
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="cache-control" CONTENT="no-cache, no-store, must-revalidate">
<META HTTP-EQUIV="Expires" CONTENT="Mon, 01 Jan 1970 23:59:59 GMT">