Using Chrome's developer tools (tab Resources) or in Firefox's Tools (tab Storage) values like session tokens e.g. PHPSESSID
can be seen.
Question: How can that value be retrieved programatically?
My question is not related with PHP (exclusively) but with, hopefully, Javascript. I mean, a standard way to get the values, all those shown on the mentioned tabs, at the browser side.
Addendum: If I make a request from the browser (I used an AJAX snippet) then checking in the server I can see the PHPSESSID
So, there must be a way to get that value available directly from the browser.