ClancyH
V2EX  ›  Node.js

js 中 forward 可以带已经获取的 cookie 吗

  •  
  •   ClancyH · Apr 2, 2019 · 4164 views
    This topic created in 2623 days ago, the information mentioned may be changed or developed.
    项目需要接入别的公司开发一套服务直接从我们的页面跳转到对面的页面,通过 httpclient 获取对方的 cookie 之后,由 js 通过这个 cookie 来访问对方页面(目的是为了隐藏对方登录的过程),但是 http 请求会跨域 forward 不会,所以能不能通过重定向来使用这个 cookie 呢?或者说在不解决跨域的基础上有更好的方法。
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2687 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 10:54 · PVG 18:54 · LAX 03:54 · JFK 06:54
    ♥ Do have faith in what you're doing.