ilay1678
V2EX  ›  PHP

如何实现带 cookie 跳转某个网页呢

  •  
  •   ilay1678 · Apr 18, 2017 · 4786 views
    This topic created in 3498 days ago, the information mentioned may be changed or developed.
    例如有的网页需要 cookie 验证才能访问,当 php 跳转的时候能不能带上 cookie 跳转呢,或者有其他类似实现方式吗
    6 replies  •  2017-04-19 02:17:55 +08:00
    ming2050
    ming2050
    Apr 18, 2017 via iPhone
    1
    同域不用管,跨域拼接到 url 后
    ilay1678
    ilay1678
    OP
    Apr 18, 2017 via Android
    2
    @mringg 跨域,能具体点吗
    kevinzhwl
    kevinzhwl
    Apr 18, 2017
    3
    跨域不能直接用 cookie ,但可以放在 url 上当参数
    Juggernaut
    Juggernaut
    Apr 18, 2017 via iPhone
    4
    跨域 cookie 有啥用
    xiaopc
    xiaopc
    Apr 18, 2017 via Android
    5
    跨域能读写 cookies 的话岂不是随便一个网站就能拿到你所有的 session ?
    102400
    102400
    Apr 19, 2017
    6
    反代
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4731 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 50ms · UTC 06:30 · PVG 14:30 · LAX 22:30 · JFK 01:30
    ♥ Do have faith in what you're doing.