On May 7, 9:10 pm, Simon Wittber <[EMAIL PROTECTED]> wrote:
> I've had something like this problem before.
>
> I blogged the problem and the eventual solution.
>
> http://entitycrisis.blogspot.com/2007/06/something-looks-like-pylons-...
>
> HTH.
>
> -Sw.

Thanks, Simon!  I *think* I'm clearing the session in my code, but I'm
not certain that it's working.  (My presenting symptom is the same as
yours.)  would you be willing to share the source for your
BaseController with me?

-Chris

from trackmgr.model import Session

class BaseController(WSGIController):
    def __call__(self, environ, start_response):
        try:
            response.headers['Pragma'] = "no-cache"
            response.headers['Cache-Control'] = 'no-store;no-
cache;must-revalidate;max-age=0'
            Session.clear()

            return WSGIController.__call__(self,
environ,start_response)
        finally:
            Session.remove()
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to