I try to save the cookie, so that my users only have to login once per session.

I used code like this
Code:
import Cookie,md5
u = form['username'].value
p = form['password'].value
p = md5.new(p).hexdigest()
cookie = Cookie.SimpleCookie()
cookie['username'] = u
cookie['password'] = p
cookie['username']['expires'] = 10000
cookie['password']['expires'] = 10000
print cookie
It'll print the cookie, but then when I look at my cookies it isn't there.

I erased all my cookies and tryed again, just to ensure I didn't miss it, but it isn't there at all....

Did I miss a step?

I'm using the tutorial here --
http://www.devshed.com/c/a/Python/Python-on-the-Web/2/

thanks guys
poz