Closed thapar closed 11 years ago
With this single file app: https://gist.github.com/4211873 along with the relevant template (from your chat example: https://github.com/fafhrd91/pyramid_sockjs/blob/master/examples/chat.pt ), when line 29 is commented out, and line 30 is uncommented, the custom session I created (EchoSession) is not run. Instead, pyramid_sockjs's session from site-packages is run.
Why does this happen and how can this be corrected?
My error, I left out the session=EchoSession argument within session_manager=EchoSessionManager()
session=EchoSession
session_manager=EchoSessionManager()
With this single file app: https://gist.github.com/4211873 along with the relevant template (from your chat example: https://github.com/fafhrd91/pyramid_sockjs/blob/master/examples/chat.pt ), when line 29 is commented out, and line 30 is uncommented, the custom session I created (EchoSession) is not run. Instead, pyramid_sockjs's session from site-packages is run.
Why does this happen and how can this be corrected?