0

When I use inspect element on Chrome I can navigate to Application > Storage > Cookies > url and view the cookies, but document.cookie returns nothing. Why is this?

Andrew
  • 531
  • 1
  • 6
  • 20
  • 1
    Are they `httpOnly` cookies? Those are protected if so – charlietfl Apr 28 '18 at 01:55
  • It could be, so you're saying even though I can see it with my eyes I can't see it using JavaScript? There isn't any way around that? – Andrew Apr 28 '18 at 02:00
  • *"it could be"* ... can tell in browser dev tools what type it is. If it is set at server as httpOnly, no...you can't access it with script for security reasons – charlietfl Apr 28 '18 at 02:07

0 Answers0