Yves,
> Hey everybody! > > I just wanted to ask this quick, is there any standard for how long to set > my timeout when locking a var. > > How about something like this, > <cflock scope="SESSION" timeout="??" type="READONLY"> > <cfset User = "#SESSION.User#"> > <cfset SecurityLevel = "#SESSION.Security#"> > </cflock> > > How long should I lock this for? > An action like this should take only milliseconds, if that, even on a server under a heavy load, so for something like this, a couple of seconds will be sufficient. Regards Stephen ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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 Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

