1. Mike Orr
  2. patch-pylons


Ben Bangert  committed 7cc62f4

Use the actual session options.

  • Participants
  • Parent commits 8c02609
  • Branches trunk

Comments (0)

Files changed (1)

File pylons/controllers/util.py

View file
         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