Django Sessions getting dropped when redirected from another domain

后端 未结 2 1676
忘掉有多难
忘掉有多难 2021-02-06 06:37

When a user visits my domain, a sessionid is issued by django. When he tries to do Oauth with Facebook, he clicks a button on my site which redirects to Facebook.com. Facebook r

2条回答
  •  臣服心动
    2021-02-06 07:12

    I've also just discovered that if you have two Django applications running on the same domain, to avoid cookie collision you may wish to set SESSION_COOKIE_NAME differently for each.

提交回复
热议问题