Sharing django sessions on specific subdomains

后端 未结 6 1081
深忆病人
深忆病人 2020-12-05 00:29

I have example.com and support.example.com . If a user is logged in on the main site, I\'d like to have the session be accessible from the support site.

Setting the

6条回答
  •  再見小時候
    2020-12-05 01:14

    I recently saw a similar question in: How to get distinct Django apps on same subdomain to share session cookie?

    Where it was recommended to have separate sessions but a single-sign-on using django-cas (you only login to one of the sites).

提交回复
热议问题