request.COOKIE.get('foo',None)

should do the trick

On 10/07/2006, at 6:05 PM, Tom Davis wrote:

>
> Okay, this is a pretty simple question with probably a "duh" answer,
> but I read the docs page on sessions and it doesn't specify, so here
> goes:
>
> Say I have some php (or whatever) page that sets a cookie named
> "stuff", using django, could I just use request.session['stuff'] and
> get the value, or does Django use some kind of special cookie  
> mechanism
> that can't talk to the "global" cookie domain?
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to