Welcome to 16892 Developer Community-Open, Learning,Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I am using React and Graphql - URQL in frontend.

When a user logs in, the server sends a set-cookie header, the cookie is getting saved in the browser with correct attributes and correct expiry time, but whenever the page is refreshed, the cookies are getting removed no matter what the expiry attribute is. There is no code to clear cookies in my app, I am confused why is this happening I can't find any solution for this problem on the web, how can I solve this?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
546 views
Welcome To Ask or Share your Answers For Others

1 Answer

等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to 16892 Developer Community-Open, Learning and Share
...