[CDBI] Re: uniqueness of objects in memory??

Phil Mitchell phil at 2people.org
Mon Oct 24 21:31:44 BST 2005


On 10/24/05, Michael Peters <mpeters at plusthree.com> wrote:
> >>
> >>That's very true, but I guess I'm not yet convinced that's exactly what Phil
> >>is doing/experiencing though, seeing as how we haven't actually seen his code
> >>and can't say for certain. What he's describing sure sounds symptomatic of
> >>the classic "I forgot to call update() or dbi_commit()" problem to me.
> >
> >
> > No, I'm definitely calling update(), auto_commit is on, and I've not
> > monkeyed with db_main. I can see the updated values in the DB,
> > Nonetheless the old values appear to be cached via the has_a r'ship
> > (user->prefs).
>
> Probably not the case, but just thought I'd throw it out there anyway:
> any possibility that the browser is caching the page if you are issuing
> a redirect. IE has a pretty aggressive caching policy.

Again, no. I put both values onto the same page:

[% prefs.home_page %]
[% user.prefs.home_page %]

and they're different.



>
> --
> Michael Peters
> Developer
> Plus Three, LP
>
>


--
==========================
2People Blog: http://2-people.blogspot.com/
2People site: http://www.2people.org




More information about the ClassDBI mailing list