Say I have a website called a.com
, and when a specific page of this site is loaded, say page link, I like to set a cookie for another site called b.com
, then redirect the user to b.com
.
I mean, on load of a.com/link
I want to set a cookie for b.com
and redirect user to b.com
.
I tested it, and browser actually received the cookie from a.com/link
, but it didn't send that cookie on the redirection request to b.com
. Is it normal?
Can we set cookies for other domains?
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…