Thanks for your input Justin. However, I already have a bunch of heavy-duty
CFCs running in the application scope. I was thinking that I did not want to
increase that load. I also don't know how much is enough in the application
scope. I should probably just get something like SeeFusion and go do a bunch
of tests. Ah well!

George

On 4/13/07, Justin Scott <[EMAIL PROTECTED]> wrote:
>
> I'm a bit late on this thread, but if you're reading in site settings on
> every page request it would make more sense to put them into the
> application scope instead of the session scope.  If you have multiple
> "sites" running on the same application you could use a structure to
> store the data that is read in on the first request (or on application
> start if using application.cfc) keyed based on the site id.  Once read
> once you won't have to process that data on every request and it will be
> stored in memory once instead of a new copy for each visitor.
>
>
> -Justin Scott | GravityFree
> Client Care Special Forces Unit
>
> 1960 Stickney Point Road, Suite 210
> Sarasota | FL | 34231 | 800.207.4431
> 941.927.7674 x115 | f 941.923.5429
> www.GravityFree.com
>
>
> > -----Original Message-----
> > From: George Abraham [mailto:[EMAIL PROTECTED]
> > Sent: Friday, April 13, 2007 2:18 PM
> > To: CF-Talk
> > Subject: Re: reading params from a file v/s getting them from a file
> >
> > Hmm, maybe I can learn some stuff here about session
> > variables. Well, the
> > parameters (and their values) themselves are sizeable in
> > nature. Sort of
> > like "defaultTextForMessage='some text 150 characters long'"
> > and so on. Is
> > storing them in the session advisable?
> >
> > Thanks,
> > George
> >
> >
> > On 4/12/07, Tom Chiverton <[EMAIL PROTECTED]> wrote:
> > >
> > > On Thursday 12 Apr 2007, George Abraham wrote:
> > > > Yes it is read at every request. For example, the
> > navigational menu for
> > > > every site is different, so the params XML file will have
> > to be read
> > > every
> > > > request to see what the menu items are. The only thing I
> > store in a
> > > session
> > > > variables is an ID identifying the site.
> > >
> > > Right. Why can't you store the parsed parameters in the
> > session too ?
> > >
> > >
> > > --
> > > Tom Chiverton
> > >
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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

Reply via email to