You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since it's nice to have read/write access to the main HTTP session rather than just a channel_session, the session helpers should be extended to add the ability to persist the HTTP session key into the channel_session and have this be exposed as an attribute on the message.
Changes probably needed:
New function to transfer http session key into channel session in a defined way
Either channel_session or http_session decorator changed so it rehydrates the session from the key
Roll calls to this stuff into the standard all-in-one decorators
Make sure it's easily accessible from generic consumers
I would say that we should probably just make it part of the normal channel_session decorator, as it's going to be generally useful, and that way it'll appear wherever someone thinks it should.
Update the http_session decorator to write the http session key
to the channel_session when available. This allows the channel_session
decorator to rehydrate the http_session after the initial websocket
connection.
closesdjango#318
Update the http_session decorator to write the http session key
to the channel_session when available. This allows the channel_session
decorator to rehydrate the http_session after the initial websocket
connection.
closesdjango#318
Since it's nice to have read/write access to the main HTTP session rather than just a
channel_session
, the session helpers should be extended to add the ability to persist the HTTP session key into thechannel_session
and have this be exposed as an attribute on themessage
.Changes probably needed:
channel_session
orhttp_session
decorator changed so it rehydrates the session from the keyI would say that we should probably just make it part of the normal
channel_session
decorator, as it's going to be generally useful, and that way it'll appear wherever someone thinks it should.(Based on #271)
The text was updated successfully, but these errors were encountered: