<div class="gmail_quote">On Thu, Dec 31, 2009 at 1:10 AM, Carsten Haese <span dir="ltr"><<a href="mailto:carsten.haese@gmail.com">carsten.haese@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">Victor Subervi wrote:<br>
> You know, neither one of those tutorials I followed gave clear, or any,<br>
> instruction about putting a<br>
> print cookie<br>
> statement in the header! How misleading!<br>
<br>
</div></div>Don't blame the tutorials for your failure to read them carefully. The<br>
tutorial you mentioned<br>
(<a href="http://www.doughellmann.com/PyMOTW/Cookie/index.html" target="_blank">http://www.doughellmann.com/PyMOTW/Cookie/index.html</a>) says the<br>
following right at the beginning: "The Cookie module defines classes for<br>
parsing and creating HTTP cookie *headers*." [Emphasis mine.]<br>
<br>
Further down it says: "The output is a valid Set-Cookie *header* ready<br>
to be passed to the client as part of the HTTP response." [Emphasis<br>
mine.] You even copy-and-pasted a snippet containing that very sentence<br>
into an earlier post on this thread, so how you can now claim that the<br>
tutorial didn't mention this is quite beyond me.<br></blockquote><div><br>
</div></div>I see your point. It wasn't, however, clear to me. Probably my own problem.<br>beno<br>