On Sunday 23 September 2007 05:06:41 Tonny Staunsbrink wrote: > This work fine. Changes go to the database and the correct values are > shoved on the response page. But if the user reloads the page or navigates > back to the page through a link. The old values appear on the page. > Actually if changes have been made several time. Refreshing several times > will present several of the states the user object has been in.
How are you populating your pages? And on what browser? If you clear the browser's cache after the change and repeat, does this still happen? > Since cherrypy is multi threaded, could it be that each thread has it own > version of the user object? If that is on purpose, what am I doing wrong. > How should I update the user object? THe problem doesn't seem to be with updating it since you said the correct value goes to the database (does it really if you query the database directly?). It looks like this might be a cache problem -- e.g. due to the use of AJAX to populate data -- on your browser. -- Jorge Godoy <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

