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
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to