having a problem right now where i set a tracking cookie when a user logs in through www.something.com and then a duplicate cookie is set when a user clicks on a link within an email which sends you to to yo.something.com (which then redirects you to www.something.com)
in the end two cookies with the same name are logged for the domains www.something.com and .something.com
so the question is is if its possible to set the tracking cookie from the server running at www.something.com to .something.com instead.
using node.js with hapijs (8.8.2) for the server.
if this is not possible, any suggestions would be welcome!