Just checking, Are you submitting back to the server before checking
for the cookie value ?  Cookies are sent only when the request reaches
the server.

-- Raja


On Jun 29, 9:21 am, Stephen Cheng <stephenchengm...@gmail.com> wrote:
> Hi
>
> I am facing a problem in DEV server that I really have no idea how to
> resolve, which is related to cookie variable for subdomains.
>
> I use wildcard subdomains, eg. sub1.abc.com, sub2.abc.com,
> sub3.abc.com and all sub domains point to one running instance of
> django app.
>
> The problem is that I hope the cookievar will be available for all
> subdomains but it seems django doesn't support(correct me if I am
> wrong)
>
> eg, I setup cookieabc="abc" in sub1.abc.com, however cookieabc=None
> when accessing sub1.abc.com in the same view. I tried to enable
> SESSION_COOKIE_DOMAIN, but it doesn't work.
>
> I have no idea how to resolve this. Any idea?
>
> Thanks,
>
> Stephen
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to