Problem reading HTTP_COOKIE

Chris Angelico rosuav at gmail.com
Fri Aug 12 18:31:51 EDT 2011


I think the best thing to do would be to look at the raw headers. If
you can't do that in your framework, then try this: set the cookie,
shut down your server, fire up a debugging HTTP server on the same
port, and then refresh the page. If your browser is sending the
cookie, you'll see it in the HTTP request; if not, you have a
configuration issue.

As I said earlier, setting the cookie with a path like that may mean
that the browser won't send it.

Chris Angelico



More information about the Python-list mailing list