Re: Cookie Confusion - How to Set a Cookie

2008-05-01 Thread cbhoem
On Apr 29, 3:35 pm, Aaron Watters <[EMAIL PROTECTED]> wrote: > > Thanks for the code, Aaron. I will give it a try. > > > I've been reading some more about cookielib and am not sure whether I > > should use Cookie or cookielib. This is what I want to do: a user is > > going to login. Upon a succ

Re: Cookie Confusion - How to Set a Cookie

2008-04-29 Thread cbhoem
On Apr 28, 1:37 pm, Aaron Watters <[EMAIL PROTECTED]> wrote: > On Apr 28, 9:42 am, [EMAIL PROTECTED] wrote: > > > I see the cookie in my HTTP header > > but do not get anything in the cookie text file. I'm working on > > linux. > > > print "Content-type: text/html" > > cookie = Cookie.SimpleCo

Cookie Confusion - How to Set a Cookie

2008-04-28 Thread cbhoem
Hi - I am trying my hand at python cookies. I'm confused about a few things though. Do the python cookies get written to a cookies text file? I have simple code below -- I see the cookie in my HTTP header but do not get anything in the cookie text file. I'm working on linux. print "Content-ty