Firstly the javascript captures information that can only be accessed
client-side (screen res etc), and then passes it to an ASP page via the
querystring. The ASP page can be hosted in a different location and can also
capture the server variables etc. You call it like this: <img
src=tracker.asp?[javascript here]>, then, in tracker.asp you have:

<%
On Error Resume Next
javascript = Request.QueryString
.....
all your code here
.....
Response.Redirect "some_gif.gif"
%>

...this captures all the info you want and displays a gif to the user.

HTH

Sam Thompson

----- Original Message -----
From: "Charles" <[EMAIL PROTECTED]>
To: "ActiveServerPages" <[EMAIL PROTECTED]>
Sent: Saturday, October 12, 2002 10:16 AM
Subject: HTML Equivalents for Server.RequestVariables


> I want to replicate the functionality of HitBox.com, where a piece of code
> is inserted into a pure HTML page, and allows capturing of all the usual
> information found in the Request.ServerVariables collection. I've found
> some of this information using the Java navigator object, but nothing like
> the complete set I need. How do HitBox.com capture this information in
> pure HTML sites (it's easy in ASP sites), and how do they record
> individual page visits and times, even though the HitBox is only on the
> home page ???
> PLEASE, PLEASE help me out here, I've tried really hard to find this info
> out..
> [EMAIL PROTECTED]
>
> ---
> You are currently subscribed to activeserverpages as:
[EMAIL PROTECTED]
> To unsubscribe send a blank email to
%%email.unsub%%
>


---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to