Solved

get unique system details from request in asp.net

Posted on 2012-04-11
3
218 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

809 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