[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: timing queries..
On Thursday, January 07, 1999 10:03 AM, Nikhil Budhiraja
[SMTP:nikhil.budhiraja@bellsouth.net] wrote:
> i have seen the 'get' and 'set' methods being called so many times during
the
> request response loop
> that i just hate to stick my DB access code (fetch) in there . Instead I
think
> its a better idea to put it in
> a place like appendToResponse which just gets called once during the loop
..
I guess a little clarification is neccesary.. It would definitely help!
Here's what is what I want to happen. I have a list of customers, when the
user picks a customer, it goes to a sub-list of the locations of the
customers. This is the page I am working on, the locations. Each location
has unique contact information, which is gained from one table, and a list
of area codes they serve, which is gained from another table. I want the
'area codes served' component to be included in the repetition of the
locations list. Since it is included, I can't (or I don't know how - please
inform me..) run a 'set' method. All I can do is include it and hope for
the best. So, where is appendToResponse, and how do I use it? And will it
work in this case? thanks.
These opinions are mine, and not necessarily those of my employer.
James 'Ghostman' Schrecengost
Johns Manville, Electronic Commerce Team
schrecen@jm.com
303-978-2677