Information
The domain name attribute in a cookie specifies which hosts can receive the cookie.
Cookies that have their domain attribute set to a specific domain will only be sent to the hosts in that domain or sub-domain which helps in controlling its propagation.
Solution
Add the appropriate domain name to the ssoDomainNames attribute in the webAppSecurity element in ${server.config.dir}/configDropins/overrides/<any file name>.xml
For example, to add mySubDomain.myCompany.com
<webAppSecurity ssoDomainNames="mySubDomain.myCompany.com"/>