I am not able to set cookie when domain filed is added using cross site request. I am trying to achieve that by calling request through jquery ajax.
domain
Is
I think the problem can be with localhost, which is not a valid domain for Set-Cookie header. According to RFC, it must contain at least one "embedded" dot. FireFox may implement this in a less restrictive way. Try your IP-address instead.
localhost
Set-Cookie