473,756 Members | 2,558 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to unique identify revisit client computer

Goh
Hi,

I would like to know how can we implement a web page that
intelligent enough to unique identify that pc have been visit before without
any cookies and login user require.

I have try implement this by MAC address. When user browser the web
site I sometime can get user pc MAC and sometime no.

Why this type of implementation are so not consistency? Does any
firewall block this type of request?

Have any article or samples source code that help? What is the
problem behind this implementation.

The Web Site is sit on Windows XP pro. Do any IIS configuration
related issue here?

Thanks in advance for any comment and tips.

Best regards,
Goh
Dec 14 '05 #1
4 6096
Your out of luck. The client doesnt' send the MAC address to the server.
If it's working in some cases, then some browsers much be sending it, but it
is't a requirement of the HTTP protocol, and thus cannot be reliably called
upon.

Your only choice is to use the IP address - which isn't a good idea thanks
to proxies, or maybe stoer a cookie on the client - which also isn't a great
idea.

Karl

--

MY ASP.Net tutorials
http://www.openmymind.net/

"Goh" <go*@noemail.no email> wrote in message
news:O$******** ******@TK2MSFTN GP10.phx.gbl...
Hi,

I would like to know how can we implement a web page that
intelligent enough to unique identify that pc have been visit before
without any cookies and login user require.

I have try implement this by MAC address. When user browser the web
site I sometime can get user pc MAC and sometime no.

Why this type of implementation are so not consistency? Does any
firewall block this type of request?

Have any article or samples source code that help? What is the
problem behind this implementation.

The Web Site is sit on Windows XP pro. Do any IIS configuration
related issue here?

Thanks in advance for any comment and tips.

Best regards,
Goh

Dec 14 '05 #2
Hi Goh,

I think Karl's opinion on this is reasonable. MAC address is a clientside
machine's hardware info which is not automatically contained in the HTTP
webrequest and the ASP.NET or IIS server can only get the IP address.
However, as we know that most client will be hidden behind proxys or
gateways... or in a certain subnet, so the IP address dosn't quite address
the problem. So far I think cookie is the most reasonable approach for
storing info to idenfity relation between client and server.......

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| From: "Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME
net>
| References: <O$************ **@TK2MSFTNGP10 .phx.gbl>
| Subject: Re: How to unique identify revisit client computer
| Date: Wed, 14 Dec 2005 08:36:39 -0500
| Lines: 45
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| X-RFC2646: Format=Flowed; Response
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| Message-ID: <#K************ **@tk2msftngp13 .phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host:
cpe00a0d1b5351c-cm0012c90ddc92. cpe.net.cable.r ogers.com 70.29.234.119
| Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!tk 2msftngp13.phx. gbl
| Xref: TK2MSFTNGXA02.p hx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:3647 39
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
|
| Your out of luck. The client doesnt' send the MAC address to the server.
| If it's working in some cases, then some browsers much be sending it, but
it
| is't a requirement of the HTTP protocol, and thus cannot be reliably
called
| upon.
|
| Your only choice is to use the IP address - which isn't a good idea
thanks
| to proxies, or maybe stoer a cookie on the client - which also isn't a
great
| idea.
|
| Karl
|
| --
|
| MY ASP.Net tutorials
| http://www.openmymind.net/
|
|
|
| "Goh" <go*@noemail.no email> wrote in message
| news:O$******** ******@TK2MSFTN GP10.phx.gbl...
| > Hi,
| >
| > I would like to know how can we implement a web page that
| > intelligent enough to unique identify that pc have been visit before
| > without any cookies and login user require.
| >
| > I have try implement this by MAC address. When user browser the
web
| > site I sometime can get user pc MAC and sometime no.
| >
| > Why this type of implementation are so not consistency? Does any
| > firewall block this type of request?
| >
| > Have any article or samples source code that help? What is the
| > problem behind this implementation.
| >
| > The Web Site is sit on Windows XP pro. Do any IIS configuration
| > related issue here?
| >
| > Thanks in advance for any comment and tips.
| >
| > Best regards,
| > Goh
| >
|
|
|

Dec 15 '05 #3
Goh
The method that I use is using process to run windows arp.exe program
with -a arguments. this arp.exe file will list out all the client that
connected to server. I use the IP address that return to from HTTP can match
with the arp output.

ARP program return IP address and MAC address of each client that
connected to the pc. nbtstat.exe is another program that similar with arp.

I think it must be some reason for some pc that I can't get the MAC
address in ASP.Net. As I know router or DHCP are also using MAC in the
mapping table for unique identify each device that is connected.

any comment on this issue.

Goh

"Steven Cheng[MSFT]" <st*****@online .microsoft.com> wrote in message
news:Bt******** ******@TK2MSFTN GXA02.phx.gbl.. .
Hi Goh,

I think Karl's opinion on this is reasonable. MAC address is a clientside
machine's hardware info which is not automatically contained in the HTTP
webrequest and the ASP.NET or IIS server can only get the IP address.
However, as we know that most client will be hidden behind proxys or
gateways... or in a certain subnet, so the IP address dosn't quite address
the problem. So far I think cookie is the most reasonable approach for
storing info to idenfity relation between client and server.......

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| From: "Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME
net>
| References: <O$************ **@TK2MSFTNGP10 .phx.gbl>
| Subject: Re: How to unique identify revisit client computer
| Date: Wed, 14 Dec 2005 08:36:39 -0500
| Lines: 45
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| X-RFC2646: Format=Flowed; Response
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| Message-ID: <#K************ **@tk2msftngp13 .phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host:
cpe00a0d1b5351c-cm0012c90ddc92. cpe.net.cable.r ogers.com 70.29.234.119
| Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!tk 2msftngp13.phx. gbl
| Xref: TK2MSFTNGXA02.p hx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:3647 39
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
|
| Your out of luck. The client doesnt' send the MAC address to the
server.
| If it's working in some cases, then some browsers much be sending it,
but
it
| is't a requirement of the HTTP protocol, and thus cannot be reliably
called
| upon.
|
| Your only choice is to use the IP address - which isn't a good idea
thanks
| to proxies, or maybe stoer a cookie on the client - which also isn't a
great
| idea.
|
| Karl
|
| --
|
| MY ASP.Net tutorials
| http://www.openmymind.net/
|
|
|
| "Goh" <go*@noemail.no email> wrote in message
| news:O$******** ******@TK2MSFTN GP10.phx.gbl...
| > Hi,
| >
| > I would like to know how can we implement a web page that
| > intelligent enough to unique identify that pc have been visit before
| > without any cookies and login user require.
| >
| > I have try implement this by MAC address. When user browser the
web
| > site I sometime can get user pc MAC and sometime no.
| >
| > Why this type of implementation are so not consistency? Does
any
| > firewall block this type of request?
| >
| > Have any article or samples source code that help? What is the
| > problem behind this implementation.
| >
| > The Web Site is sit on Windows XP pro. Do any IIS configuration
| > related issue here?
| >
| > Thanks in advance for any comment and tips.
| >
| > Best regards,
| > Goh
| >
|
|
|

Dec 15 '05 #4
Hi Goh,

If the web application is public to internet users since most clients are
from different network spaces... so the IP address IIS get dosn't reflect
the actual network address of the client. Also, since for internet client ,
when ARP broadcast need to rely on internet routers, if sometimes the
broadcast message is not router correctly, there may exists problem on
this. Anyway, I'd suggest you try posting in some windows platform
newsgroup on using ARP program.....

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
| From: "Goh" <go*@noemail.no email>
| References: <O$************ **@TK2MSFTNGP10 .phx.gbl>
<#K************ **@tk2msftngp13 .phx.gbl>
<Bt************ **@TK2MSFTNGXA0 2.phx.gbl>
| Subject: Re: How to unique identify revisit client computer
| Date: Thu, 15 Dec 2005 19:11:20 +0800
| Lines: 116
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
| X-RFC2646: Format=Flowed; Original
| Message-ID: <ep************ **@TK2MSFTNGP14 .phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: 202-133-101-88.mykris.net 202.133.101.88
| Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP14.phx. gbl
| Xref: TK2MSFTNGXA02.p hx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:3650 60
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
|
| The method that I use is using process to run windows arp.exe program
| with -a arguments. this arp.exe file will list out all the client that
| connected to server. I use the IP address that return to from HTTP can
match
| with the arp output.
|
| ARP program return IP address and MAC address of each client that
| connected to the pc. nbtstat.exe is another program that similar with arp.
|
| I think it must be some reason for some pc that I can't get the MAC
| address in ASP.Net. As I know router or DHCP are also using MAC in the
| mapping table for unique identify each device that is connected.
|
| any comment on this issue.
|
| Goh
|
| "Steven Cheng[MSFT]" <st*****@online .microsoft.com> wrote in message
| news:Bt******** ******@TK2MSFTN GXA02.phx.gbl.. .
| > Hi Goh,
| >
| > I think Karl's opinion on this is reasonable. MAC address is a
clientside
| > machine's hardware info which is not automatically contained in the HTTP
| > webrequest and the ASP.NET or IIS server can only get the IP address.
| > However, as we know that most client will be hidden behind proxys or
| > gateways... or in a certain subnet, so the IP address dosn't quite
address
| > the problem. So far I think cookie is the most reasonable approach for
| > storing info to idenfity relation between client and server.......
| >
| > Regards,
| >
| > Steven Cheng
| > Microsoft Online Support
| >
| > Get Secure! www.microsoft.com/security
| > (This posting is provided "AS IS", with no warranties, and confers no
| > rights.)
| >
| >
| > --------------------
| > | From: "Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO .
ANDME
| > net>
| > | References: <O$************ **@TK2MSFTNGP10 .phx.gbl>
| > | Subject: Re: How to unique identify revisit client computer
| > | Date: Wed, 14 Dec 2005 08:36:39 -0500
| > | Lines: 45
| > | X-Priority: 3
| > | X-MSMail-Priority: Normal
| > | X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| > | X-RFC2646: Format=Flowed; Response
| > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| > | Message-ID: <#K************ **@tk2msftngp13 .phx.gbl>
| > | Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| > | NNTP-Posting-Host:
| > cpe00a0d1b5351c-cm0012c90ddc92. cpe.net.cable.r ogers.com 70.29.234.119
| > | Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!tk 2msftngp13.phx. gbl
| > | Xref: TK2MSFTNGXA02.p hx.gbl
| > microsoft.publi c.dotnet.framew ork.aspnet:3647 39
| > | X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
| > |
| > | Your out of luck. The client doesnt' send the MAC address to the
| > server.
| > | If it's working in some cases, then some browsers much be sending it,
| > but
| > it
| > | is't a requirement of the HTTP protocol, and thus cannot be reliably
| > called
| > | upon.
| > |
| > | Your only choice is to use the IP address - which isn't a good idea
| > thanks
| > | to proxies, or maybe stoer a cookie on the client - which also isn't a
| > great
| > | idea.
| > |
| > | Karl
| > |
| > | --
| > |
| > | MY ASP.Net tutorials
| > | http://www.openmymind.net/
| > |
| > |
| > |
| > | "Goh" <go*@noemail.no email> wrote in message
| > | news:O$******** ******@TK2MSFTN GP10.phx.gbl...
| > | > Hi,
| > | >
| > | > I would like to know how can we implement a web page that
| > | > intelligent enough to unique identify that pc have been visit before
| > | > without any cookies and login user require.
| > | >
| > | > I have try implement this by MAC address. When user browser
the
| > web
| > | > site I sometime can get user pc MAC and sometime no.
| > | >
| > | > Why this type of implementation are so not consistency? Does
| > any
| > | > firewall block this type of request?
| > | >
| > | > Have any article or samples source code that help? What is
the
| > | > problem behind this implementation.
| > | >
| > | > The Web Site is sit on Windows XP pro. Do any IIS
configuration
| > | > related issue here?
| > | >
| > | > Thanks in advance for any comment and tips.
| > | >
| > | > Best regards,
| > | > Goh
| > | >
| > |
| > |
| > |
| >
|
|
|

Dec 16 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
15652
by: Louis Frolio | last post by:
Greetings All, I have read many upon many articles here regarding GUID data types and uniqueness. There have been many opinions regarding the effectiveness of GUID's and when they should/should not be used. However, every article strongly implies, if it does not state it outright, that GUID's are always unique. My question is this, what happens if you have a database that uses GUID's and the NIC is changed out on the box? From what I...
5
4389
by: UJ | last post by:
Is there any number I can get that is truly unique for a computer that can't be changed? I want to have a system whereby I have a computer that accesses a web service based on some unique value that can't be changed. Or at least if it is changed, it's not changed frequently. (IP address won't work because that can change frequently). Here's my thought - the program boots up, finds some unique piece of information, sends that off to the...
4
2086
by: Phil Latio | last post by:
Have a database that records data taken in the field and was using an "auto_incremented" integer. I now want to distribute the database to others so they can record data then centralise all the data on one database so people can share records. However will an "auto_incremented" integer on it's own won't suffice? I suppose it might if that field didn't have to be unique but is that best practice? I was thinking along the lines of creating...
29
3756
by: Lauren Wilson | last post by:
Does anyone know how the following info is extracted from the user's computer by a Front Page form? HTTP User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 I only ask because I believe I could use the same info as part of a scheme to generate a unique (or at least less common) serialized id code for the user's computer as part of a software locking and activation system. If I had a DLL...
12
1857
by: clintonG | last post by:
I can't tell you how frustrated I get when going to a web developer's website and observing he or she is an idiot that has not grasped the most fundamental element of usability: page title naming conventions. 1.) You know you are at an idiot's website when there is no page title. Listen up idiot. Give every page a name using the HTML <title> element. 2.) When naming your page do not put the name of your website or your company 'after'...
28
4102
by: Matuag | last post by:
How can we create a unique and non-editable ID from client's first and last name? eg.: SmitJ1 for John Smith Matuag
6
9043
by: shira | last post by:
Hi, Looking to see if someone might have an explanation for this behavior. Is it a bug? Corruption? I have been able to reproduce the problem with only 2 rows and 1 field. Here is the table: Field1 231.2
6
12796
by: Ryan Liu | last post by:
Hi, If I want to uniquely identify a computer. I can read CPU ID or Mac Address. I heard, but is this true: some BIOS can block CPU ID from being read? (In this case, will I get an exception, null or empty string for method managementObject.Properties?) So maybe Mac address is better way. But when I read Mac address for my laptop, I got:
4
1756
by: =?Utf-8?B?UmljaA==?= | last post by:
I want to build an simple email smtp client app similar to outlook except with some custom features for a personal computer that uses comcast cable. The owner of the computer said she doesn't have a comcast email and uses gmail instead, but the internet service provider is comcast. This computer also does not have MS Office loaded - otherwise I would open Outlook and see what mail server it is using. On my development machine at my...
0
9287
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10046
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9857
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9722
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5155
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5318
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3817
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3369
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2677
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.