note 25490 rejected from function.setcookie by betz
| From: | betz@php.net | Date: | Wed, 25 Sep 2002 20:59:37 +0000 |
| Subject: | note 25490 rejected from function.setcookie by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-37247@lists.php.net to get a copy of this message | ||
What is the best and secure way to use cookie?
Becuase I have used it to save the username, then I check the cookie, if the username has value
"webmaster" (for example) then I give it full controll!!
This is not secure at all!! because any body can add to the URL "?username=webmaster" and
loging as webmaster?
What Can I Do? I need help please.