I want to set a cookie using javascript, which would be available for all the tabs in browser.
I have used document.cookie = "tracker=ABC"
Even I have tried to set the path also, but result remained same
document.cookie = "tracker=ABC;path=/"
However, this seems applicable only to the tab where it was set. This cookie is not visible to other tabs in the browser..
Also, I am not very clear with the path concept in cookies. Would be great if someone can tell me about it's use as a secondary answer
Regards,
SAP Learner
So my question is: How can I set a cookie which would be applicable for all the tabs in the browser