Question here as well

I have done locks when ever I set a Session var.
Do I have to use a lock  when ever I use the var?
i.e:

        <CFLOCK type="readonly" scope="session">
                <CFSET session.bgcolor = "blue">
        </CFLOCK>


<body bgcolor=#session.bgcolor#>

Are you saying I need to place a lock around the <body> tag?



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
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

Reply via email to