How can I get client IP address, MAC address, logged in user name via javascript or jquery?

Posted on 2016-10-24
Last Modified: 2016-11-01
I am need of library or code which will work accurately to get get client IP address, MAC address, logged in user name via javascript or jquery. I am ok with any commercial library or plugins. Please advise.

Question by:Loganathan Natarajan
LVL 54

Accepted Solution

Julian Hansen earned 500 total points
ID: 41856788
IP Address - you can make an AJAX call to a server script which can then return the IP address.

The MAC Address as far as I know is not available. There are custom solutions that use ActiveX controls but that will only work on IE and only if the ActiveX control is installed - at least that is where I left off the last time I looked at this - maybe someone has some newer info.
LVL 36

Author Closing Comment

by:Loganathan Natarajan
ID: 41869555

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
How to build a simple, quick and effective accordion menu using just 15 lines of jQuery and 2 css classes
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question