On 7/19/07, Greg <[EMAIL PROTECTED]> wrote:
> So I guess Session's will work if that is the case.  It looks
> like I will have to place a cookie on the visitor's computer using
> set_test_cookie() and test_cookie_worked() method's so that I'm able
> to tell the difference between two users that are adding products to
> the cart at the same time.  Does anybody know of any problems with
> this solution?

No, don't do that.  The session framework already does that for you.

If you use request.session, and the browser accepts cookies, you'll
magically have values in request.session as set on previous requests.

http://www.djangoproject.com/documentation/sessions/

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to