473,396 Members | 1,764 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Retriving MAC Addy CPU ID or something else for identification

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
2 3637
AricC
1,892 Expert 1GB
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
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

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

Similar topics

11
by: iffy agbim | last post by:
I have a form that displays information selected from an Access Data base. A select statement is used to do this on my asp page SQLQuery = "SELECT * FROM tblopgaCOm2 WHERE billNo = '" &...
1
by: serge calderara | last post by:
Dear all, I am retriving the atribute of an assembly by using : obj = System.Reflection.Assembly.LoadFrom (sFile).GetCustomAttributes(True) Then fetching attribute object as folllow: ...
5
by: Carl Ribbegaardh | last post by:
Is there any known list of compiler identification macros? I'm using VS 2003, g++ on windows, sun's cc and g++ on solaris. Is it possible to identify the compiler using macros? I'm aware of WIN32...
0
by: dzemo | last post by:
Which is the fastest way to "pump" data into crystal report in vb.net 2003? Is it: 1. content report as set datasource to dataset and filter data on fill dataset 2. set an output file and set...
2
by: suresh | last post by:
Hello to you all In my .Net application, I want to import document images (Tiff images), having same format, in a batch, For e.g. I have a document folder containing mixed images like...
3
by: libsfan01 | last post by:
Hi all! Can anyone show me how to use javascript to populate shipping address form fields with pre-typed payment address details upon checking of a checkbox next to the obligatory text "click...
2
by: balakrishnan.dinesh | last post by:
Hi frnds, Im having a problem with retriving "\" backslash , In my javascript client side page , ill get the response from the server side , the response will contain some url like...
1
by: Kunal Nandi | last post by:
can any one give me the code for uploading and retriving image using Blob, with jsp at front end and oracle8i at the back end ??????? i have tried this using long raw datatype i was able to upload...
2
by: soma.gunasekaran | last post by:
Hi All , I've stored the Image file..... But i want to retriving the Image files from MSACCSS 2003 (JPEG,bmp,Gif and etc....) So Pls help me........ help me............... Thanking you,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.