I feel like I must be missing something here, but have
you checked out the Memoize module? I thank you'll
find it _just_ the ticket, I use it to cache the
results of DB calls myself. Works like a friggin'
charm.

Interested to hear if it's not what you're looking
for... (although in any case I understand that this
thread is a great exersize!)

jrobinson

--- "Tomasi, Chuck" <[EMAIL PROTECTED]> wrote:
> I'm trying to maintain a cache of hashes to reduce
> database hits.  What I
> want is to determine if I've retrieved the data from
> the DB before, if so,
> just pass back the copy of information used last
> time, otherwise read it
> from the DB and make a note of it.  It would seem
> I'm not copying the
> information in to the $user arg properly.  Something
> like this:
> 

__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

Reply via email to