Re: Set-Cookie is not working in Chrome

2019-12-11 Thread אורי
Hi,


On Thu, Dec 12, 2019 at 8:07 AM Mike Dewhirst  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.


Re: Set-Cookie is not working in Chrome

2019-12-11 Thread Mike Dewhirst

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.




אורי
u...@speedy.net 


‪On Thu, Dec 12, 2019 at 7:45 AM ‫אורי‬‎ > wrote:‬


Django users,

I have a problem with Set-Cookie not working in Chrome (I didn't
check other browsers). It worked in the past but it stopped
working recently. I have two websites with two domain names, and I
need to set the cookie in both websites. I'm calling a URL in each
of the domain names to set the cookie. But it doesn't set the
cookie on the other website (the website I'm not browsing now). Is
there any solution to this problem? I think this is due to recent
changes in Chrome.

אורי
u...@speedy.net 

--
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/CABD5YeFCw_ofBMyEQ89v7hoDTpGqR5R3f9oVeTjwD8-x-sdG2Q%40mail.gmail.com 
.


--
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/cae194e4-c13b-eeb7-4f9d-89c96128926f%40dewhirst.com.au.


Re: Set-Cookie is not working in Chrome

2019-12-11 Thread אורי
Hi,

I asked a question on Stack Overflow:
https://stackoverflow.com/questions/59298548/set-cookie-is-not-working-in-chrome-with-two-websites

אורי
u...@speedy.net


‪On Thu, Dec 12, 2019 at 7:45 AM ‫אורי‬‎  wrote:‬

> Django users,
>
> I have a problem with Set-Cookie not working in Chrome (I didn't check
> other browsers). It worked in the past but it stopped working recently. I
> have two websites with two domain names, and I need to set the cookie in
> both websites. I'm calling a URL in each of the domain names to set the
> cookie. But it doesn't set the cookie on the other website (the website I'm
> not browsing now). Is there any solution to this problem? I think this is
> due to recent changes in Chrome.
>
> אורי
> u...@speedy.net
>

-- 
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/CABD5YeEfobdHEkupL36P_7t_4Za3%2B7xNgV5B7k--y%3Dm%3DPQ_vmQ%40mail.gmail.com.


Re: Set-Cookie is not working in Chrome

2019-12-11 Thread אורי
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.

אורי
u...@speedy.net


‪On Thu, Dec 12, 2019 at 7:45 AM ‫אורי‬‎  wrote:‬

> Django users,
>
> I have a problem with Set-Cookie not working in Chrome (I didn't check
> other browsers). It worked in the past but it stopped working recently. I
> have two websites with two domain names, and I need to set the cookie in
> both websites. I'm calling a URL in each of the domain names to set the
> cookie. But it doesn't set the cookie on the other website (the website I'm
> not browsing now). Is there any solution to this problem? I think this is
> due to recent changes in Chrome.
>
> אורי
> u...@speedy.net
>

-- 
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/CABD5YeFCw_ofBMyEQ89v7hoDTpGqR5R3f9oVeTjwD8-x-sdG2Q%40mail.gmail.com.