Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2016-10-24
2
Medium Priority
?
438 Views
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.

Thanks
0
Comment
Question by:Loganathan Natarajan
2 Comments
 
LVL 60

Accepted Solution

by:
Julian Hansen earned 2000 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.
3
 
LVL 36

Author Closing Comment

by:Loganathan Natarajan
ID: 41869555
Thanks
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

There are a couple ways to attach a JavaScript function to dynamically created elements. You can make a new script for each element as it’s created or you can use delegation. Delegation allows a single script that is added at page creation to mat…
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. 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.: (CODE)
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…
Suggested Courses

971 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