Skip to content

Hi, i am trying to integrate sessions with tower sessions but session resetting after each request #193

Answered by maxcountryman
emirbaycan asked this question in Q&A
Discussion options

You must be logged in to vote

You need to tell fetch to include the cookies. For example:

fetch(url, {
credentials: "same-origin"
})

Replies: 5 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

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

Answer selected by maxcountryman
@emirbaycan
Comment options

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