Cookie Encrypt/Decrypt ?
| From: | umobiva at ostrichneck dot org | Date: | Mon, 14 Aug 2000 14:20:42 +0000 |
| Subject: | Cookie Encrypt/Decrypt ? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-2041@lists.php.net to get a copy of this message | ||
Hello from a web design newbie,
When a user logs in, I'm using a cookie to save the value of the user
name so that I can reference that to pull user information throughout
the site. I noticed that when I look at the cookie that is stored on the
client system, the info in the cookie is displayed as plain text. How do
I encrypt that info? I don't need strong encryption I just don't want
the info to be painfully obvious to anyone just "exploring" the client
system.
How do you do this in php3?
How about php4?
TIA