[Tutor] i just cant do it
federico ramirez
fedekiller at gmail.com
Sun Sep 17 21:55:20 CEST 2006
well, im very angry :(
I cant get this to work
When i try this it works
#!/usr/bin/python
import Cookie
C = Cookie.SimpleCookie()
C['adminuser'] = 'fedekiller'
C['adminuser']['max-age'] = 60*60*24*7
print C
print "Content-Type: text/html\n\n"
print "Bienvenido",C['adminuser'].value,'!'
but when i try this it doesnt
#!/usr/bin/python
import Cookie
print "Content-Type: text/html\n\n"
print "Bienvenido",C['adminuser'].value,'!'
I dont know why... i know the cookie exists because firefox display it where
all the cookies of that domains are.
So, i need help with this please :(
I know im a noob sorry U-U
--
Best Regards.
fedekiller
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20060917/cc827380/attachment.html
More information about the Tutor
mailing list