When attempting to create a cookie and specify an expiration date, I am encountering an issue where it remains as "Session". This problem is occurring in Google Chrome.
I'm looking for insights on what might be causing this behavior.
The code snippet responsible for setting the cookie is as follows: document.cookie = "savedTests=[{'id':12345678}];expires=" + date.toUTCString() + ";path=/" ;