how to insert cookie for 2 domains
in HTTP::response event HTTP::cookie insert name "test" value "00" path "/" domain "x.com"
besides this,I also want this cookie "test" be set in domain "xy.com"
is the second cookie test is based on session,there is no session for it(new domain),what will happen?
per my understanding,session based cookie is for the exact session which get this cookie
if there is a cookie for a new domain,how to understand this session based cookie?
1:for example domain is .xy.com
I got this cookie from 1.xy.com,what will happend if I visit 2.xy.com?
or
2:I got this cookie test xy.com domain,but the session for I got it is (my laptop -------- 1.x.com)
3:even I use
HTTP::cookie insert name "test" value "1" path "/" domain "x.com"
HTTP::cookie insert name "test1" value "1" path "/" domain "xy.com"
it seems when trying to visit 1.xy.com,cookie is not included in http request header
thx in advance