Skip to content

axum-extra - cookie not being updated up on response but I can see it in the headers #1223

Answered by jplatte
yatesco asked this question in Q&A
Discussion options

You must be logged in to vote

How does this post request happen? Is it via navigation, i.e. submitting a form, or is JavaScript involved? Also, is there a small info sign on the right of the set-cookie header in the dev console? The screenshot is cut off on the right.

edit: Conclusion of the discussion below is that the provided app sets multiple values for the same cookie, but with different paths. How the code could be changed to actually be able to update the cookie value is yet unclear, but it's clear that both set-cookie headers are being received and respected by the browser.

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
9 replies
@yatesco
Comment options

@jplatte
Comment options

@jplatte
Comment options

@yatesco
Comment options

@jplatte
Comment options

Answer selected by jplatte
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
2 participants