Commits

Ben Bangert  committed 7cc62f4

Use the actual session options.

  • Participants
  • Parent commits 8c02609

Comments (0)

Files changed (1)

File pylons/controllers/util.py

         sess_opts = self.registry.session_options
         if not sess_opts:
             raise Exception("Can't use the session without configuring sessions")
-        session = SessionObject(self.environ)
+        session = SessionObject(self.environ, **sess_opts)
         def session_callback(request, response):
             if 'exception' in attrs and exception_abort:
                 return None