Solved

get unique system details from request in asp.net

Posted on 2012-04-11
3
219 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 250 total points
ID: 37832868
0
 
LVL 20

Assisted Solution

by:BuggyCoder
BuggyCoder earned 250 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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

856 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