On 9/8/06, mthorley <[EMAIL PROTECTED]> wrote: > This may be a really dumb one, but I'm stooped. I read about > request.COOKIES, and request.session.set_test_cookie() and > request.session, but as far as I can see, they are not what I want. > > I want to save a named cookie, with a value, and specific domain and > path. Like PHP's setcookie(). I'm sure I'm just missing the obvious.
Hey Matthew, Other people have pointed out the session framework, but if you just want to set arbitrary cookies you can use request.set_cookie(), documented here: http://www.djangoproject.com/documentation/request_response/#id1 Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---