Scott:
The server scope is similar to the application scope, except server
scope variables are available to every application/template on the
machine.

We sometimes use server scope variables for keeping application metrics
here. Each time any of our applications detect the start or end of a
session, we might increment or decrement a server variable that holds
the count of the total number of sessions on the server...gives us a
quick view of how busy a server is.

Like application and session variables, server variables must be
CFLOCKed.

-Matt

-----Original Message-----
From: Scott Wilhelm [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, February 18, 2003 8:44 AM
To: CF-Talk
Subject: CFLOCK & Error handling


I just want to be sure on the proper usage of CFLOCK, and my question
is, where do I use the server scope?  Is it for anything that wouldn't
fall under application or session?
 
Also, any help (explanations of real life uses) with error handling
(cftry, cfcatch, cferror, etc.) would be appreciated.
 
Thanks,
 
Scott
 
Scott Wilhelm
Computer Technician/Web Developer
St. Lawrence-Lewis BOCES
PO Box 231, Outer State Street
Canton, NY 13617

P.         315-386-4504 x 164
F.         315-386-3395
W.           http://www.sllboces.org
E.            [EMAIL PROTECTED] 

 


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

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to