Thursday, September 29, 2011

Re: accessing domain of a cookie

you can set cookie domain in the django settings.py file 
SESSION_COOKIE_DOMAIN

https://docs.djangoproject.com/en/1.3/ref/settings/



On Fri, Sep 30, 2011 at 6:31 AM, aiexbecumont <alex.beaumont@gmail.com> wrote:
Is there a way to tell what domain a cookie was set for?
request.COOKIES only gives name/value pairs, but i would like to
inspect the domain that the cookie was set for.

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.




--
At first there is just hope and self-belief. all that will be will start from this moment.

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate