At first, it was strange that all my fancyflash() messages stopped working...
then I traced it back to the session_id cookie, that is set (or cleared) but not kept on Firefox between requests. So, this controller: > @expose() > def session_id(self): > import cherrypy > return cherrypy.session.id was returning a different hash, for each request, only on firefox (release 1.5.x or 2.x.y).. and only on some projects. The simpler ones, were working as advertised. All the functional tests were ok, and so were IE, Opera, Konqueror. Also... the tg-visit cookie, on firefox, works like a charm. It's been a while since I had to delve into cookie behaviour, but this comment in cherrypy/filters/sessionfilter.py was too inviting... # We'd like to use the "max-age" param as # http://www.faqs.org/rfcs/rfc2109.html indicates but IE doesn't # save it to disk and the session is lost if people close # the browser # So we have to use the old "expires" ... sigh ... #cookie[cookie_name]['max-age'] = sess.session_timeout * 60 Uncommenting the line with max-age fixed the problem for me. I don't know what made the difference between the broken and unbroken projects. Funny. "Hi, this is Firefox. We are misbehaving because of IE...." --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

