Tally List : mailing list management, archiving, and analysis
click for archive home
 
Archive of:
Spectra-Talk
Cold Fusion Spectra - Technical
 
home
24 hour view
quick stats
weekly updates
 
all tallylists
corporate solutions
archive your favorite
help / feedback


Search the Tallylist search by keyword:

About Spectra :
product's home
product's list home
 
  Archived TallyList / Spectra-Talk: 
Subject: RE: application variables in handlers
Peter Farland (13p/+0r)     Posted: Tuesday 16 Jan 2001
This post: 27 views, +0 rating

Having an application scope is indeed a useful feature of ColdFusion, however, there are certain constraints on how they should be used.

Let me first ask this question - Have you stress tested your application using these new application variables?

If you haven't established the appropriate locks around _every_ statement that either gets or sets an application scope variable, you may run into problems with concurrent sessions. Try hitting your current application with a load-testing package... you will probably notice errors with as little as four concurrent requests if you have not locked your application variables.

An alternative is to copy your structure of application variables to the request scope, and throughout your code access them via request.variable name.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm ------------------------------------------------------------------------------ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a message to spectra-talk-request@houseoffusion.com with 'unsubscribe' in the body.


Similar Subject Line Posts (+/- two weeks of this post)
RE: application variables in handlers  17 Jan 2001   (26 v/ +0 r)
RE: application variables in handlers  16 Jan 2001 (this post)   (27 v/ +0 r)
RE: application variables in handlers  16 Jan 2001   (19 v/ +0 r)
Re: application variables in handlers  16 Jan 2001   (25 v/ +0 r)
Re: application variables in handlers  13 Jan 2001   (30 v/ +0 r)
Re: application variables in handlers  13 Jan 2001   (26 v/ +0 r)
RE: application variables in handlers  13 Jan 2001   (20 v/ +0 r)
RE: application variables in handlers  13 Jan 2001   (26 v/ +0 r)
application variables in handlers  10 Jan 2001   (18 v/ +0 r)
 

Send a reply to the Spectra-Talk list!
click to send a reply! NOTE: Many lists will reject your post unless you have already registered with them. Also - don't forget the right account to send from (for those with multiple emails!)

Feedback: If this post was exceptionally helpful, please help by giving this post a positive review.

 

TallyList : copyright Ububik - 2000