#multiple cookies per Set-cookie header
1 messages · Page 1 of 1 (latest)
You can send the same header multiple times, the easiest way is to create a Headers instance and then use headers.append, then do redirect(url, { headers })
So it doesn't overwrite the old one @hazy jungle ?
Exactly, if you use a plain JS object you can only have one Set-Cookie key but that’s a limitation of JS not HTTP
Ih wow awesome I did not know that, will try out
@hazy jungle it actually worked! You are beyond awesome, thank you!
how can I get the headers I sent from action to a new route frontend component?
@static minnow You have your request parameter in your loader, it might contain the headers in request.headers.
got it so from loader then I need to pass it to the component right?
i doubt the loader gets the headers from action
perhaps it does, but i dont think so