I have an web application which creates username, sessionid cookies while opening the module.
With document.cookie, I am getting the values as "username=xyz, sessionid=123"
On Exiting the application, I am deleting the cookie as below
document.cookie = 'username=; expires=Thu, 01-Jan-70 00:00:01 GMT; path=/<%=appName%>';
document.cookie = 'sessionid=; expires=Thu, 01-Jan-70 00:00:01 GMT; path=/<%=appName%>';
On re-opening the module, cookie values are again set and getting the values as "username=xyz, sessionid=123"
It is working like this in windows 7 => no issues.
Same steps I followed on Windows 10, First time => for document.cookie, I am getting the values as "username=xyz, sessionid=123" After closing and re-opening the module => for document.cookie, I am getting the values as "username=xyz, sessionid=123, username=, sessionid="
On windows 10, cookies are duplicated, one with value and other is blank. Any idea, why this is happening on windows 10?
I am using IE11 in both machines.