cookie problem

honza_v at my-deja.com honza_v at my-deja.com
Fri Aug 18 07:36:56 EDT 2000


I have following script to test use of cookies, but all I get is "Set-Cookie:
name=Test; some text" output in the browser. What I'm doing wrong?

Thank in advance.
Jan

<pre>
#!/usr/bin/env python

print """Content-type: text/html

Set-Cookie: name=Test;

<HTML><BODY>some text</BODY></HTML>"""
</pre>


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list