Re: [PHP] Encrypt Password for Session

2001-05-22 Thread Joseph Blythe
Troy Moreland wrote: > If I can't decrypt it, then I can't pass that password for the > user. How do I keep passing the password then w/o having to write it to the > session. Is that the right way to do it?? I don't know if this is the right way but what I would do is have a login page that

Re: [PHP] Encrypt Password for Session

2001-05-17 Thread David VanHorn
At 12:05 PM 5/17/01 -0500, Troy Moreland wrote: >I fully understand what you are saying. The problem is that I'm storing >their password so that they don't have to re-enter it on each new page >visited. If I can't decrypt it, then I can't pass that password for the >user. How do I keep passing

Re: [PHP] Encrypt Password for Session

2001-05-17 Thread Troy Moreland
ase or wherever. If they match, you let them in. > > Ethan Schroeder > > - Original Message - > From: "Troy Moreland" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, May 17, 2001 10:41 AM > Subject: [PHP] Encrypt Password for Ses

Re: [PHP] Encrypt Password for Session

2001-05-17 Thread Ethan Schroeder
file or database or wherever. If they match, you let them in. Ethan Schroeder - Original Message - From: "Troy Moreland" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 17, 2001 10:41 AM Subject: [PHP] Encrypt Password for Session > All, > > I

Re: [PHP] Encrypt Password for Session

2001-05-17 Thread Kurth Bemis
look in the manual for "md5" ~kurth On Thu, 17 May 2001, Troy Moreland wrote: > All, > > I am currently using sessions to store a user's ID, password and current > login status. All works fine. The only issue is that the session file on > the server is storing the password in plain text. Ho

[PHP] Encrypt Password for Session

2001-05-17 Thread Troy Moreland
All, I am currently using sessions to store a user's ID, password and current login status. All works fine. The only issue is that the session file on the server is storing the password in plain text. How do I encrypt that password and how to I decrypt it for comparing? Thanks in advance!! T