On a similar note, I've been storing most of my application's data in the 
request scope. Multiple request.struct.struct kind of thing. It's a huge 
amount, and gets recreated with each page load from mostly cached queries. I 
know lots of this data could be stored in the application scope but for some 
reason I've hesitated all these years.  This may seem like a real dumb 
question, but is one more efficient than the other? On first blush it seems it 
would be, since the application scope continues to live after the page is done, 
correct?  (I feel stupid just asking this quewstion... I should know the 
answer.)

Similarly related, a while ago someone sent me a trick for duplicating the 
session scope to request, using the vars that way (even modifying them) and 
then copying it back before the page ends. I've never actually converted my 
code to doing that yet. Probably that would solve some of the errors I've been 
getting with missing session variables that should be there.

Mik


At 03:13 PM 5/25/2007, Michael Dinowitz wrote:
>I say this because I rarely see problems due to oversized application scope 
>variables. With a single application scope per application, you only get 1 
>'chunk' of data where you get a chunk of data per session. On the other hand, 
>if your problems started with the addition of data to the application scope 
>then it's definitely the place to start. Have you dumped it out to see what it 
>actually contains vs. what you think it should contain?
>

--------
Michael Muller
Admin, MontagueMA.net Website
work (413) 863-0030
cell (413) 320-5336
skype: michaelBmuller
http://www.MontagueMA.net

Eschew Obfuscation




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:279300
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to