Skip to content

Using Cookies with 'websocket' transport #936

Discussion options

You must be logged in to vote

You are trying to do something that cannot be done. Cookies can only be set when there is an HTTP response. Websocket doesn't have that, so it has no way to deliver a cookie to the browser.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@adamlwgriffiths
Comment options

@miguelgrinberg
Comment options

Answer selected by adamlwgriffiths
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants