Could not get cookie from another (parent) domain in Django
The cookie was probably set with 'domain' parameter. Set the cookie to be accessible from all the subdomains of the domain the cookie is being set in.
I'm not the python guy, but my knowledge of http protocol shows that this might be the problem.
I need to remove a cookie that was previously set for parent domain while browsing host at subdomain of the parent.
I.e., a cookie "xyz" was set for example.com, and I am trying to remove it on subdomain.example.com, using Django backend.
The request.COOKIES given to the view does not contain any cookies except those from subdomain.example.com, so I can't write just response.delete_cookie(...) in order to delete it.
It is possible to perform such deletion either in Python or Javascript?