> 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?

You could safely chop out lines 28-34.

 26 class BaseController(WSGIController):
 27     def __call__(self, environ, start_response):
 28         self.routes_dict = environ['pylons.routes_dict']
 29         if not environ['PATH_INFO'].endswith('/'):
 30             environ['PATH_INFO'] += '/'
 31             url = construct_url(environ)
 32             response.headers['Location'] = url
 33             response.status_code = 301
 34             return response
 35         try:
 36             return WSGIController.__call__(self, environ,
start_response)
 37         finally:
 38             model.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