Link to home
Start Free TrialLog in
Avatar of jagoodie
jagoodie

asked on

Resolve MAC addresses?

Is there some kind of variable (like cgi.remote_host for ip's) for retriving MAC addresses? I am using IIS3 and Cold Fusion 3.
Thanks for your help.
Avatar of faster
faster

The answer is definetly NO.  A browser never send the MAC address to the server.  If you really need it, you can consider to write an ActiveX control, which get the MAX address by itself and then fill it in the form using VB script (or directly talk to the server).
Avatar of jagoodie

ASKER

Pretty cockey to think you are the end all know it all (if I don't know it, it doesn't exist attitude).
Thanks for your comment/opionion.
It is not that I know it all, but I did read the whole http 1.0 and http 1.1 protocol, all the information sent from a browser are based on these two protocols.  So if you have a look at the these two RFCs, you will know that it is not possible that a browser will ever send this kind of information to the server, unless you send it by yourself, that is, writing your own ActiveX or the kind.
my point is that someone has this code that i am looking for and i am hoping that they read this question, and if i accept your answer then i have to learn programming just to get this script.
any idea where i would find this script?
faster is correct in that the client does not send back the MAC address. To do so would require the application protocol to understand the details of the lower level protocols which runs contrary to the entire approach of network communications.

There are functions within the WINSOCK API that will allow you to obtain the MAC address from an IP address but to utilise these you will need to learn how to write programs.

But given I can't see what you will use these four unless you are writing a program I can't see your problem.

Incidently its worth remembering that the IP address (and thus the resultant MAC address) will not always be that of the client but that of a proxy that the client has accessed you site through.

Steve
if this is the answer, faster deserves the points.
i am not collecting outside our LAN, in is for internal use- maintaining a bootp table, so i don't care about any proxys.
Fine then award them. Just because you don't like an answer is not the reason to reject an answer.

Incidently using WEB access to maintain a bootp table is a recipe for disaster.

Steve
ASKER CERTIFIED SOLUTION
Avatar of thoellri
thoellri

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial