You misunderstand, I'm not "trying to do" anything in particular except 
make things work. I thought I was using the django framework to set the 
cookies, but can't read them. Right now I'm trying to determine if I'm not 
setting them or reading them correctly. According to the following:

https://stackoverflow.com/questions/1622793/django-cookies-how-can-i-set-them

https://www.tutorialspoint.com/django/django_cookies_handling.htm

https://overiq.com/django/1.10/cookies-in-django/

I should be using response.set_cookie() which is what I have:

    template = loader.get_template('index-test.html')
    response = HttpResponse(template.render(None))
    response.set_cookie('name1', 'test-cookie')
    response.set_cookie('name2', 'test-cookie')
    return response

If it matters, I do plan to eventually move from the Django development 
server to Apache or NGINX. Otherwise, if this is not a wsgi problem, please 
let me know so I can focus my attention elsewhere. Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to