Re: Identifying a user who previously created a profile
| From: | Bret Hughes | Date: | Thu, 24 Feb 2005 14:19:09 +0000 |
| Subject: | Re: Identifying a user who previously created a profile | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-209345@lists.php.net to get a copy of this message | ||
On Thu, 2005-02-24 at 04:02, Jacques wrote:
> How can I ensure that a user is prevented from creating a second profile
> after he has registered a second time with different registration details?
>
> I thought of capturing his IP Address and checking this value against my
> users table in my database where I have captured IP Addresses of users who
> have previously registered.
>
Not a good way for several reasons:
Dynamic IP addresing:
NAT based firewalls.
I suspect your best bet is to place a cookie.
Bret