There is another way. If you use SSL on a non-default https port, it will continue to send cookies. For example, if your URL looks like this https://example.com:8443/xxxx , it will send cookies.
I am experiencing the same problem as you. My web application (internal web application) worked with https, but in a non-standard port, and it just works fine. When I configure to use 443, it stops working because cookies are not sent by the XDomainRequest object.
I hope this helps
source share