Cookies

Victor Subervi victorsubervi at gmail.com
Wed Dec 30 11:58:20 EST 2009


On Wed, Dec 30, 2009 at 12:43 PM, Carsten Haese <carsten.haese at gmail.com>wrote:

> Anyway, the likely answer is that you guessed incorrectly. As I said
> before, you need to make sure that the cookie is printed as part of the
> page headers. I'll give you one last hint: The page header is where
> you're printing the "Content-type" line.
>

Ok. Thank you.

  print 'Content-Type: text/html'
  print cookie
  print
  print '''<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
'''

That worked. Threw a new error LOL.
Thanks,
beno
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20091230/255aac43/attachment-0001.html>


More information about the Python-list mailing list