question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Reading duplicated cookies

See original GitHub issue

my bro sends weird cookies (after deleting and installing cookies again):

user_id=; session_id=; session_id=XXXXXXX; user_id=6

cookie-parser parse them as a ''

but expected reading a second value of each cookie

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
heipackercommented, Dec 24, 2016

the problem resolved???

0reactions
heipackercommented, Jan 3, 2017

ok, i have changed to use express-cookies

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cookie is set twice; how to remove the duplicate?
1. Make sure path and domain is correctly set ... The path and domain should be the same for both clearing the cookie...
Read more >
Duplicate cookies set - PortSwigger
Description: Duplicate cookies set. The response contains two or more Set-Cookie headers that attempt to set the same cookie to different values.
Read more >
Beware of duplicate cookie values - IT Bytes
Puzzled I examined the document.cookie property. For some strange reason the value was duplicated; e.g. Preference1=hello; Preference2=bla; ...
Read more >
Solved: Cookie Encryption - duplicate cookies - DevCentral
2) duplicated cookie headers are very common in web applications, although usually it is deletion where it goes wrong as the session headers...
Read more >
Chrome is incorrectly storing and sending duplicate cookies ...
Note there are 5 cookies and should only be one. I read the cookiemonster code and cannot spot the bug as of yet....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found