I have set a cookie in my jsp page say(A). and set its path to “/”(which implies that this cookie is accessible from any where within the domain). I am hosting my server in jboss in localhost. Once the cookie is set if I open a new tab and try to access the cookie from the same page from which I was doing originally, I am not able to access that cookie.
What may be the possible reason for it?
I have set a cookie in my jsp page say(A). and set its path
Share
Cookies are session bound by default (if an expiry date is not set), so should be accessible from any tab.