Re: Newbie Locking Question

2004-03-08 Thread Cutter (CF-Talk)
Bob, A good example of what Taco has below can be found in the application structure found at benorama.com. Cutter Taco Fleur wrote: > PS. your better off setting those settings in a structure on its own, > so its > easier to re-initialize some of the application variables, example; > > > >

RE: Newbie Locking Question

2004-03-07 Thread Taco Fleur
Yes, but if I'm going to delete and re-initialize the Application scope variables (at least other than very rarely) then I really should use read only locks around the queries and expressions that include those application variables, right? I say no, I never lock any reads for Constants like th

Re: Newbie Locking Question

2004-03-07 Thread Bob Haroche
First off, thanks again for all the follow up. The level and quality of feedback, and tolerance for beginners, on this list is great. Taco Fleur wrote: > Now if you need to reinitialize these settings you simple do > > > and they are all gone. Yes, but if I'm going to delete and re-initialize t

RE: Newbie Locking Question

2004-03-07 Thread Taco Fleur
remember Teach me and I will learn -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, 8 March 2004 10:53 AM To: CF-Talk Subject: RE: Newbie Locking Question    Set once for the application. Peter Tilbrook Transitional Services - Enterprise eSolutions

RE: Newbie Locking Question

2004-03-07 Thread Jim Davis
The short answer is "yes, you need to lock" - at least with a read only lock. The long answer is "your mileage will vary" as many people claim to have never had locking problems from this. One thing to keep in mind however is that the application scope is a structure - so modifications to the

RE: Newbie Locking Question

2004-03-07 Thread Taco Fleur
PS. your better off setting those settings in a structure on its own, so its easier to re-initialize some of the application variables, example; Now if you need to reinitialize these settings you simple do and they are all gone. Same for session variables and they are all

RE: Newbie Locking Question

2004-03-07 Thread peter . tilbrook
[EMAIL PROTECTED]>     net.au>  cc:            Subject:  RE: N

RE: Newbie Locking Question

2004-03-07 Thread Taco Fleur
://www.tacofleur.com/index/methodology/ Tell me and I will forget Show me and I will remember Teach me and I will learn -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, 8 March 2004 10:40 AM To: CF-Talk Subject: Re: Newbie Locking Question Use the "request&q

Re: Newbie Locking Question

2004-03-07 Thread peter . tilbrook
Use the "request" scope instead in your Application.cfm file, eg: No locking required and available to all templates up to an including OnRequestEnd.cfm. Peter Tilbrook Transitional Services - Enterprise eSolutions Centrelink (http://www.centrelink.gov.au) 2 Faulding Street Symonston ACT 2609

RE: Newbie Locking Question

2004-03-07 Thread Andy Ousterhout
No.   -Original Message-   From: Bob Haroche [mailto:[EMAIL PROTECTED]   Sent: Sunday, March 07, 2004 6:24 PM   To: CF-Talk   Subject: Newbie Locking Question   Using CF 5...   If I set an Application variable once in Application.cfm that is   (theoretically) never going to change, eg: