Cool...where would you place this code? In all application.cfm files?

On Thu, 3 Apr 2003 15:40:35 +0100, Mike Townend wrote:

> <CFLOCK TIMEOUT="5" THROWONTIMEOUT="No" TYPE="READONLY" SCOPE="SESSION">
>       <CFSCRIPT>
>               Temp = StructNew();
>               Temp.CFID = Session.CFID;
>               Temp.CFTOKEN = Session.CFTOKEN;
>               Temp.SESSIONID = Session.SESSIONID;
>               Temp.URLTOKEN = Session.URLTOKEN;
>       </CFSCRIPT>
> </CFLOCK>
> 
> <CFLOCK TIMEOUT="5" THROWONTIMEOUT="No" TYPE="EXCLUSIVE" SCOPE="SESSION">
>       <CFSCRIPT>
>               StructClear(Session);
>               // Restore the important values.
>               Session.CFID = Temp.CFID;
>               Session.CFTOKEN = Temp.CFTOKEN;
>               Session.SESSIONID = Temp.SESSIONID;
>               Session.URLTOKEN = Temp.URLTOKEN;
>       </CFSCRIPT>
> </CFLOCK>



---------------------------------------------------
Colonel Nathan R. Jessop
Commanding Officer
Marine Ground Forces
Guatanamo Bay, Cuba
---------------------------------------------------



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to