Tuesday, September 29, 2015

Cookie Expiration Times in Google Chrome Developer Tools

I was recently using Google Chrome Developer Tools to examine Cookie Expiration Times and noticed that the expiration times were completely unexpected based on how I had configured my cookies!

Well, as it turns out, Google Chrome Developer Tools is displaying the Cookie Expiration Times in GMT (Greenwich Mean Time)!

Unfortunately, there does not appear to be a setting to allow Google Chrome Developer Tools to display the Cookie Expiration Times in local time.

In order to view local expiration times, you can go into Google Chrome's Settings and look at the Cookie Expiration Times individually:

  1. Settings-->Privacy-->Content Settings
  2. All cookies and site data...
  3. Select the site that you want to view
  4. Click on the name of the Cookie to view the Cookie details which includes the Expiration Time

However, if you install an Add-In such as Cookie Inspector, you can get the Cookie Expiration Times to show in local time!  (https://chrome.google.com/webstore/detail/cookie-inspector/jgbbilmfbammlbbhmmgaagdkbkepnijn?hl=en)

If you are using Firebug for Mozilla Firefox, you can also directly get the local Cookie Expiration Times:

No comments:

Post a Comment