Re: Processor ID with php
From: rob (rob_at_cdli.co.uk)
Date: 03/24/04
- Next message: Brian \: "PHP5 XML/XSL - Rendering strings?"
- Previous message: Michel: "I'm looking for help to set up my first PHP/MySQL in Belgium, Mechelen"
- In reply to: .:Ninja: "Re: Processor ID with php"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 24 Mar 2004 10:23:51 -0800
> You can still create such an ID using a more static parameter - such as the
> user's IP address. I've done this before, created a unique identifying
> string for each visiting user by crypt()-ing the IP address using the
> person's browser identifier as seed. Then chuck that into a database and as
> soon as the user returns from the same IP using the same browser, you'll
> know they've been there before because the same encrypted string will be
> generated again and you can check for its existence in the database. Or
> easier - use sessions =)
>
> Albe
This still has possible problems, what if you are going through a
caching server, or you are sharing an IP with someone with the same
browser version.
Doing it the way with a pid is a guarenteed method, relying on an IP
or browser agent can have flaws. So really just want to know if it is
possible to get the pid, anyone know?
- Next message: Brian \: "PHP5 XML/XSL - Rendering strings?"
- Previous message: Michel: "I'm looking for help to set up my first PHP/MySQL in Belgium, Mechelen"
- In reply to: .:Ninja: "Re: Processor ID with php"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|