On 7/10/06, Tom Davis <[EMAIL PROTECTED]> wrote:
> 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?

In addition to Ian's answer, I'll point out that session doesn't store
its data in the client-side cookie, since that is insecure, but just
stores a session ID in that client cookie, whose value it then uses to
retrieve the server-side value set.

request.COOKIES is the raw cookie set, so you wouldn't see
session-related stuff in there.

--~--~---------~--~----~------------~-------~--~----~
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