Re: [Tutor] do you know how to do this

2006-10-12 Thread Danny Yoo
> a login page that takes a username and password, checks it against a > database, and then sets a cookie of (hash(secret,user, time),user,time). Hi Anil, Ok, separate the concerns about where the inputs are coming from. It will seem weird, but just for the moment, forget completely about the

Re: [Tutor] do you know how to do this

2006-10-12 Thread anil maran
Dear DannyTHanks for your prompt response. THis is not a homework problem, I m trying to learn how to do sessions logins I m trying to do the following 1) have logins/passwords stored in postgresql, currently this is my code, python+psycopg2 talking to postgresql running in backend. if i.email != "

[Tutor] do you know how to do this

2006-10-12 Thread Danny Yoo
>> Date: Thu, 12 Oct 2006 01:46:44 -0700 (PDT) >> From: anil maran <[EMAIL PROTECTED]> >> Subject: do you know how to do this >> To: Alan Gauld <[EMAIL PROTECTED]> >> >> The user, password and group are stored in a session on disk using >> flup.middleware.session. You can change this to fit your n