不设置 host,直接 ip 连,肯定取不到 cookie。 只有访问 a.com 的域,才能访问这个域下的 cookie。 ← Previous Post Next Post → Please enable JavaScript to view the comments powered by Disqus. blog comments powered by Disqus