cookie is not shown in chrome developer tools cookie is not shown in chrome developer tools express express

cookie is not shown in chrome developer tools


Below are 2 potential reasons for not actually setting a valid cookie:

  1. Invalid expiration time - the cookie expires at a time in the past from the browser's perspective
  2. Invalid domain for the cookie. Let's say you serve the page from example.com, but your server tries to set the cookie for domain google.com

There could also be a bug in the chrome dev tools to not show your cookies, but you can check that easily by issuing another request to the server and see what cookies are actually received by the server.


It might be that your cookie is the HTTPOnly authentication cookie. Those are not shown in chrome unless you're browsing the localhost.