PHP read a cookie that is on another domain

前端 未结 6 844
孤街浪徒
孤街浪徒 2020-12-20 20:22

I have two domains. One domain contains the login script. It creates a cookie when logged in. Another domain have a URL shortener.

So, on the 2nd domain that have th

6条回答
  •  猫巷女王i
    2020-12-20 20:54

    Have you considered using a SSO implementation?

    http://www.jasig.org/cas

    http://en.wikipedia.org/wiki/Single_sign-on

    We use it at work, it's awesome! It means we don't have to worry about these types of problems.

提交回复
热议问题