By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,332 Members | 1,212 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,332 IT Pros & Developers. It's quick & easy.

Retriving MAC Addy CPU ID or something else for identification

P: 5
I made a poll script every thing is working nice my only problem is that i just got the ip to check if a user allready voted...as i guess everyone knows the ip changes everytime the connection is resetted so if they come back some days later the can vote again and i want to avoid that

i wanna make it available for guest too so they need not be logged in so i got no user to associate with

plus i wanna make it most conftable for my guests that the dont have to enter email and confirm or something like that just chose answer and click...

i thought mac address or cpu id would be best for that but i cant find a working script

here is all i found:

Set Locator = CreateObject("WbemScripting.SWbemLocator"); //shoud just be working under Win XP
Set Service = Locator.ConnectServer(".");
Set properties = service.ExecQuery("SELECT * FROM Win32_NetworkAdapterConfiguration");
I found nearly the same in another Language is that workin on other OS too?
Set Loactor = CreateObject("winmgmts:\\" & strComputer & "\root\cimv2")

You would do me a great favor if you can gimmi any help e.g. links, explaination or something like that.

Thank you for reading this!

greetz Stephan
Feb 22 '07 #1
Share this Question
Share on Google+
2 Replies

Expert 100+
P: 1,892
I made a poll script every thing is working nice my only problem is that i just got the ip to check if a user allready voted...as i guess everyone knows the ip changes everytime the connection is resetted so if they come back some days later the can vote again and i want to avoid that

i wanna make it available for guest too so they need not be logged in so i got no user to associate with

plus i wanna make it most conftable for my guests that the dont have to enter email and confirm or something like that just chose answer and click...

i thought mac address or cpu id would be best for that but i cant find a working script

here is all i found:

Set Locator = CreateObject("WbemScripting.SWbemLocator"); //shoud just be working under Win XP
Set Service = Locator.ConnectServer(".");
Set properties = service.ExecQuery("SELECT * FROM Win32_NetworkAdapterConfiguration");
I found nearly the same in another Language is that workin on other OS too?
Set Loactor = CreateObject("winmgmts:\\" & strComputer & "\root\cimv2")

You would do me a great favor if you can gimmi any help e.g. links, explaination or something like that.

Thank you for reading this!

greetz Stephan
What language are you using? Here is a link to some pre done ASP polls. I didn't check them out. I would stick with checking the ip address or a cookie.
Feb 22 '07 #2

P: 5
I use php but im not good in javascript just the basics...

but im always trying getting new experiences and finding new better ways i thing that script is one ;)
Feb 22 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.