Hmmm I may be crazy, but why not just lock all your sessions from the
application.cfm

Doug


----- Original Message -----
From: "Tyler Silcox" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, November 14, 2001 6:02 PM
Subject: Can I do this...


> I got locks on the brain after all these emails and it has got me
> questioning and requestioning a few things.  Like...can I put a lock
> around an if statement if it contains a cflocation tag?
>
> <!--- i check to see if you are continuing a valid session or not --->
> <cflock scope="SESSION" type="READONLY" timeout="10">
>     <cfif NOT ParameterExists(session.stMyCurrentSessionStructure)>
>         <cflocation url="index.cfm?Fuseaction=#XFA.StartOver#"
> addtoken="No">
>     </cfif>
> </cflock>
>
> ..or does the lock have to be closed?  (therefore, I'd have to set a
> local variable on the read before the if)
>
> Tyler
>
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to