Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: how to access client pc's name


Message #1 by "Nilesh Parekh" <nilesh_parekh@d...> on Tue, 12 Feb 2002 11:09:45 +0530

This is a multi-part message in MIME format.



------=_NextPart_000_008B_01C1B3B5.C762ADB0

Content-Type: text/plain;

	charset="iso-8859-1"

Content-Transfer-Encoding: quoted-printable



Hi all,



How to find client PC name who is accessing the web server. Please give 

me the function name or sample code.



Thanks,

Nilesh












Message #2 by "Ken Schaefer" <ken@a...> on Tue, 12 Feb 2002 22:17:50 +1100
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

From: "Nilesh Parekh" <nilesh_parekh@d...>

Subject: [asp_web_howto] how to access client pc's name





How to find client PC name who is accessing the web server.

Please give me the function name or sample code.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



<%

For Each key in Request.ServerVariables



    Response.Write(key & " = " & Request.ServerVariables(key) & "<br>")



Next

%>



displays *all* the data that is sent from the user's browser to the server.

If the data isn't there, you need to get it from the client somehow (eg

signed ActiveX control), and send it to the server yourself.



Cheers

Ken



Message #3 by "Jeffrey Lee" <leech74@s...> on Tue, 12 Feb 2002 21:07:30 +0800
This is a multi-part message in MIME format.



------=_NextPart_000_007D_01C1B409.48203460

Content-Type: text/plain;

	charset="iso-8859-1"

Content-Transfer-Encoding: quoted-printable



try Request.ServerVariables(REMOTE_HOST)

  ----- Original Message -----

  From: Nilesh Parekh

  To: ASP Web HowTo

  Sent: Tuesday, February 12, 2002 1:39 PM

  Subject: [asp_web_howto] how to access client pc's name





  Hi all,

  

  How to find client PC name who is accessing the web server. Please 

give me the function name or sample code.

  

  Thanks,

  Nilesh



  

  




$subst('Email.Unsub').







  Return to Index