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
I am wondering if there is any recommendation, or possibly something already built in, that would allow to handle cookies, similar to what a web browser does.
Use case:
browser calls fastboot server
fastboot server makes a request to backend server - response contains cookie
fastboot server issues another request to the backend server - cookie now should be included in the request
rendered page is served to browser & fastboot server forgets about all the cookies
I am currently working around that by manually storing the cookie data in the ember adapter after extracting it from the response. Then in the headers() function of my application adapter, I return the cookie header when in fastboot mode, so that subsequent requests will contain that cookie information. However, I was wondering if there is be a better way to accomplish this.
The text was updated successfully, but these errors were encountered:
I am wondering if there is any recommendation, or possibly something already built in, that would allow to handle cookies, similar to what a web browser does.
Use case:
I am currently working around that by manually storing the cookie data in the ember adapter after extracting it from the response. Then in the
headers()
function of my application adapter, I return the cookie header when in fastboot mode, so that subsequent requests will contain that cookie information. However, I was wondering if there is be a better way to accomplish this.The text was updated successfully, but these errors were encountered: