I created an HTML file on my desktop and added some JavaScript to set and clear cookies.
Now my question is, will the cookie be saved in my browser? Can I read it back?
if Yes,
-
For which domain will it be saved?
-
How can I see it in Google Chrome? (HTML run on Chrome)
Unfortunately some browsers including Google Chrome do not store cookies from local web pages:
Firefox has great developer plugins for cookie management, which report their domains, access paths and expiry:
For local development purposes you can setup a development domain like “localhost” or “myfakedomain.com” and run your files on a local server.
Search: