Hi,

On Thu, Dec 12, 2019 at 8:07 AM Mike Dewhirst <mi...@dewhirst.com.au> wrote:

> On 12/12/2019 4:48 pm, אורי wrote:
> > Hi,
> >
> > I want to add, the users login or logout or sign up to one website,
> > and I want them to login or logout from the other website too,
> > automatically. Currently if they login or logout to one website, it
> > doesn't affect the other website.
>
> Can you detect the logout on one and invalidate the session in the other
> backend database? Might have to make an API to do that.
>
>
Yes, I think it's possible, but anyway I want to setup the cookie in both
domain names - for login and for logout. I want to setup the cookie on the
second website when the user is viewing a page on the first website (each
of the two websites can be the first in this sense).

Both of the websites run on the same server with the same database. Each
user has a user ID which is the same in both websites.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CABD5YeGfhnUVxbg6PXsS17%2BvuMSmGh9-78AjC%3Dfj06crWX2bGw%40mail.gmail.com.

Reply via email to