|
 |
asp_web_howto thread: Server Variables
Message #1 by "Ahmed Barradah" <havana200@h...> on Fri, 29 Jun 2001 00:15:45
|
|
Hi,
How can I use the Server Variables in ASP to get the users' OS, IP,
browser type, login and log out time and store the information in an
Access DB.
Thank You,
Message #2 by Pieter Schutte <psc@a...> on Fri, 29 Jun 2001 08:24:00 +0200
|
|
Try the following:
IP =3D Request.ServerVariables("REMOTE_ADDR")
The rest of the information you will have to get through client side
script
I suspect.
-----Original Message-----
From: Ahmed Barradah [mailto:havana200@h...]
Sent: Friday, June 29, 2001 2:16 AM
To: ASP Web HowTo
Subject: [asp_web_howto] Server Variables
Hi,
How can I use the Server Variables in ASP to get the users' OS, IP,
browser type, login and log out time and store the information in an
Access DB.
Thank You,
Message #3 by "Ahmed Barradah" <havana200@h...> on Fri, 29 Jun 2001 19:08:09
|
|
Thank you for your reply..but could you please explain more how I can use
the Client Side Script to get the user's log in and log out time.
Thank you,
>
> Try the following:
>
> IP =3D Request.ServerVariables("REMOTE_ADDR")
>
> The rest of the information you will have to get through client side
> script
> I suspect.
>
> -----Original Message-----
> From: Ahmed Barradah [mailto:havana200@h...]
> Sent: Friday, June 29, 2001 2:16 AM
> To: ASP Web HowTo
> Subject: [asp_web_howto] Server Variables
>
>
>
>
>
> Hi,
> How can I use the Server Variables in ASP to get the users' OS, IP,
> browser type, login and log out time and store the information in an
> Access DB.
>
> Thank You,
>
>
Message #4 by Vladimir Valdivia Galvan <vvaldivia@t...> on Thu, 28 Jun 2001 19:17:46 -0500
|
|
Hi,
First, you need to see if you can find evewrything you need in the
Server
Variables... run this code:
<%
dim sv
for each sv in Request.ServerVariables
Response.Write "<b>" & sv & "</b>: " & _
Request.ServerVariables(sv) & "<br>"
next
%>
If they are ok, just store the data you need. If you need something
more
detailed, you will need to use a product like BrowserHawk or something
else
to retrieve more detailed user's browser information.
http://www.15seconds.com/component/pg000307.htm
Vladimir Valdivia
WebMaster
http://amarillastelefonica.com
-----Mensaje original-----
De: Ahmed Barradah [mailto:havana200@h...]
Enviado el: Thursday, June 28, 2001 7:16 PM
Para: ASP Web HowTo
Asunto: [asp_web_howto] Server Variables
Hi,
How can I use the Server Variables in ASP to get the users' OS, IP,
browser type, login and log out time and store the information in an
Access DB.
Thank You,
|
|
 |