On Jul 8, 9:40 am, Jarmo <jarmo.par...@gmail.com> wrote: > > You need to send the 'sessionid'. It's in request.COOKIES. > So I have to send the sessionid in the HttpResponse back to the client > for it to use, right? I tried getting it from the Request object > after I successfully logged in. But it wasn't in the COOKIES > dictionary.
There are a few different suggestions in this [1] stack overflow question. Since request.COOKIE['session'] didn't work, you might try one of the others. [1] http://stackoverflow.com/questions/526179/in-django-how-can-i-find-out-the-request-session-sessionid-and-use-it-as-a-varia --~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---