Hey all, Just a thought off the top of my head,
Premise: Local Vars do not need to be cflocked Why not 1) copy the session structure to a temporary local structure in Application.cfm: <cflock ...> <cfset session_temp = structcopy(session)> </cflock> 2) Reference the temp structure in all templates: <cfif isdefined("session_temp.blah")>... </cfif> 3) Set the session struct equal to the temp struct in OnRequestEnd.cfm <cflock ...> <cfset session = structcopy(session_temp)> </cflock> I know this probably wouldn't work in the application scope due to the execution time for each template: data might be overwritten by multiple users; but in the session scope, it seems to make sense. Anyone agree? - j ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists