Hi,
You won't be able to get the client's MAC address as that information is not provided over the http protocol. Use IPAddress to identify users.
It only work for Intranet (local server) not for Internet.
To identify user you can use IP address.
To get location refer below article.