ProfileField better then DbLookup for Web?

Greetings!

I have a subform that takes care of ubiquitous information on a NotesDB-based website. The ubiquitous information–certain icons and other misc. info–changes rarely, but could change, which I formerly took care of with computed fields and dblookups. However, I understand having lots of lookups on a page is inefficient, so now I am trying to replace all that with fields (or computed text… which is better?) that retrieve info from a profile document…

The problem is that although it works the first time you set information in the profile document, if I change something in the profile it will either not be reflected in the browser (in the case of fields) or get reflected once (in the case of computed text) only to revert back to the original profile on subsequent browser reloads.

It’s kinda weird and all of this has been hinted or similarly observed in other postings in this forum, but may I bring up the problem again? I believe @GetProfileField is telling the browser “look this up in the profile doc once and NEVER, NEVER, forget it, come hell or high water, even if the profile document gets deleted” … sheesh. Is there some middle ground where the browser is informed that something has changed and to update… or is that defeating the purpose of cache or the energy I am trying to save by not using a bunch of dblookups?

Can I get a witness?

Thank you!!!

Pi

Subject: What seems to work:

According to one thread with authoritative input (http://www-10.lotus.com/ldd/46dom.nsf/7d6a87824e2f09768525655b0050f2f2/cc61817257e4d6348525693700681e4d?OpenDocument), merely closing and opening the database should take care of propagating new field contents in a profile doc. My test with localhost and browser on my pc indicates that I should exit Notes altogether before changes take hold. Despite this minor inconvenience, I’m guessing that a profile document is indeed preferable to a load of dblookups.

Subject: RE: What seems to work:

While a profile field may be preferable to ‘a load of lookups’ what about just one?Create one column in your lookup view that conatins all of the data you might ever need, sepereated by something odd (say #~#~#)

Then you can do ONE lookup to get back all the info, parse the it anyhow you want to extract the bits you’re interested

Put the dblookup in a single field on a subform and you can stick it anywhere you want

You might even want to put a dformula around it to make sure it only does its lookup in edit mode

Chris

Subject: This hints at something fundamental

Thank you very much for the idea! I actually pondered something like this, but I wondered if what appeared to be one lookup was really multiple lookups in disguise. If you could elaborate with an example, I’d be sincerely grateful. Right now, my subform in development has seven distinct GetProfileField tasks.

Thanks again!

Pi