I am sending an httponly / secure cookie to the client from my default port server. The request from the client does not indicate the port number for this and returns a cookie in response.
When another call is made to the same server with a different port, cookies are not sent to the server. whereas if I make a call without a port number, cookies are sent.
What am I missing here? Should something be needed for the cookie to be sent through the cross domain. According to RFC 6265, cookies are not specific to the port, is this specific browser behavior that prevents this? I tried Firefox and chrome and it did not work on both.
source
share