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

x
?
Solved

get unique system details from request in asp.net

Posted on 2012-04-11
3
Medium Priority
?
224 Views
Last Modified: 2012-04-25
i have used ip address to find the unique details about the request but it fails in some condition as ip is same for many user when they access my site eventhough they are requesting from different machine . i used "HTTP_X_FORWARDED_FOR" , "REMOTE_ADDR" everything but still it tells same ip address . how to find unique details about the machine which is requesting .
0
Comment
Question by:Rajar Ahmed
3 Comments
 
LVL 17

Accepted Solution

by:
Anuroopsundd earned 1000 total points
ID: 37832868
0
 
LVL 20

Assisted Solution

by:BuggyCoder
BuggyCoder earned 1000 total points
ID: 37833680
well if you want to uniquely identify a request or user, IP is not always safe option as people in enterprises use internet from behind the proxy, in that case you will always get the same IP for all the requests from different users.

The safest way that i would use it to save cookies in user's browser, this is the way google and other big names do to ensure that they know the request is coming from same browser again.

here is a sample:-
http://msdn.microsoft.com/en-us/library/aa289495%28v=vs.71%29.aspx


see this discussion:-
http://stackoverflow.com/questions/4609316/how-to-uniquely-identify-the-client-machine-in-an-asp-net-application
0
 
LVL 18

Author Comment

by:Rajar Ahmed
ID: 37835889
if mac is not possible , then cookie should be worth a try if there are no other option and also we havent used cookie in our application will it be safe ?
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…

782 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