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've written multiple Server Functions and I've created a helping function that reads a cookie from the given request / event.
The problem is that the cookie is sometimes there and sometimes it is not. (Dev and Prod mode)
I'm not sure if this is a more likely a Vinxi / H3 or Start bug.
To access the cookies I use getEvent offered by vinxi/http and getCookie also offered by vinxi/http.
I would expect the Application to let me access certain parts of the UI because a valid session is given in the form of a cookie but the server cannot correctly extract that token out of a users request / event object.
Screenshots or Videos
No response
Platform
OS: macOS
Browser: Arc, Brave, Chrome, ...
Versions:
start: 1.97.0
react-router: 1.97.0
vinxi: 0.5.1
Additional context
No response
The text was updated successfully, but these errors were encountered:
Which project does this relate to?
Start
Describe the bug
I've written multiple Server Functions and I've created a helping function that reads a cookie from the given request / event.
The problem is that the cookie is sometimes there and sometimes it is not. (Dev and Prod mode)
I'm not sure if this is a more likely a Vinxi / H3 or Start bug.
To access the cookies I use
getEvent
offered byvinxi/http
andgetCookie
also offered byvinxi/http
.Setting a Cookie works as expected btw.
Your Example Website or App
Steps to Reproduce the Bug or Issue
Logs
cookie: undefined
cookie: undefined
cookie: ABC123ABC123...
cookie: undefined
Expected behavior
I would expect the Application to let me access certain parts of the UI because a valid session is given in the form of a cookie but the server cannot correctly extract that token out of a users request / event object.
Screenshots or Videos
No response
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: