Forum Moderators: coopster

Message Too Old, No Replies

Getting computer id.

         

rokec

2:43 pm on Nov 15, 2006 (gmt 0)

10+ Year Member



Is it possible to get any computer computer unique information (like comp serial nuber) with php or javascript?

eelixduppy

8:02 pm on Nov 15, 2006 (gmt 0)



No. Remember, PHP is server-side, so it cannot access anything on the user's computer. Also, I don't think JavaScript has this ability either, but then again I'm not a JavaScript guru ;)

If you are trying to get something unique to know which visitors have done a certain task, then you can implement a login or just log the ip addresses.

bwstyle

10:01 pm on Nov 15, 2006 (gmt 0)

10+ Year Member



A task I'm always faced with is uniquely identifying visitors to sites. The best method for this is a username/password combo where it's applicable. When it's not, a tracking cookie is the next best thing. You can set and read a long lifetime cookie any number of ways. The only obstacles for accuracy are when someone does not accept cookies or frequently deletes them.

Stuperfied

12:00 am on Nov 16, 2006 (gmt 0)

10+ Year Member



I feel like babbling on for a bit so dont mind me.

As I recall, there was a company who accomplished such a feat but using a computer programing language. It seems that every installation of windows has a unique key entry in the registry which uniquely identifies said installation. Their program reported this key. It is however very difficult to do so without having such a reporting program on the end users computer.

Unless you happen to be extremely inventive and come up with something else, the only tools you have at your disposal as have been mentioned above are as follows.

Session
Cookie
Username
Password
email address
Question and Answer
IP Address
Browser
Operating System
Referer
Browsing Habbits
Request Time
Request Method
Request URI
Port
Connection
Encoding
Language
http Accept

Well, I hope I got that all correct and didnt just make a jackass of myself.

All the above mentioned, involve either reading something off the users computer, putting something on the users computer, recording events or a combination of all three. In order to be absolutely assured that you are uniquely identifying a user, I would suggest using all of the above. However, when is enough enough?

The only things you really need to be concerned with when attempting to track a user is the following.

1. Will the users details change.
2. Will the cookie expire.
3. Will the user delete the cookie.
4. Will the user change browser windows rendering the session mute.

When one fails, the others take up the slack and you can then repair the damage.