?
Solved

get unique system details from request in asp.net

Posted on 2012-04-11
3
Medium Priority
?
228 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
In this video I will demonstrate how to set up Nine, which I now consider the best alternative email app to Touchdown.
To export Lotus Notes to Outlook PST or Exchange and Domino Server files to Exchange Server or PST files with ease, go for Kernel for Lotus Notes to Outlook conversion tool. Through the video, you can watch the conversion process. A common user with…

569 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