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 > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade & see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275177 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

