Solved

get unique system details from request in asp.net

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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now