|
|
|
|
|
| | |
|
vbscript active server pages ASP vbscript SQL database informix oracle SQL Server Perl CGI Delphi PHP source code code sample samples program CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
ServerVariables |
From: |
Michael Chiam |
Date: |
2/22/1999 1:21:01 AM |
IP: |
192.169.41.41 |
Ok, looks like this is an advanced message board and so here is my few questions that has stumped me and if someone could point me in the right direction, I would appreciate it.
1. We know that REMOTE_ADDR and REMOTE_HOST may both return the same IP if the REMOTE_HOST is not set to anything, which by default will REMOTE_ADDR. Now, if someone is behind a proxy or a firewall, the IP returned will be proxy or the firewall IP. Now, if we use HTTP_VIA and HTTP_X_FORWARDED_FOR instead, we can get a more accurate picture of which IP the request is coming from. Now, we want to go one step further and log the MACHINE NAME of the user who is coming in. There has got to be a way to do it. I mean, I have seen batch files being runned using ASP and all I need is to know some information from the registry. Anyone know how to do it?
|
|
|
|
|
|
|
|
|
|
|
|
|