Re: how to put a cookie which is visible from all domains

2007-09-17 Thread shabda
Found the answer, The session middleware sets a cookie, using this code(http:// code.djangoproject.com/browser/django/trunk/django/contrib/sessions/ middleware.py ) 42 response.set_cookie(settings.SESSION_COOKIE_NAME, request.session.session_key, 43 m

how to put a cookie which is visible from all domains

2007-09-17 Thread shabda
If I have my site setup at example.tld and I have used the built in django authentication system, any page at foo.example.tld (or any subdomain of example.tld) is not able to access the user. So if the view is accesed from a subdomain the login_required or other decorators fail. It looks to me th