Hi,

A client of us asked to write a script to View live visitors as they
browse her website and to get the information such as, what page they are
viewing, what browser type they are using, IP address/host name, visitor
time on site and screen resolution.

Is this possible in ASP scripting without a server side or client side
application? How to get the realtime stats of a visitor? Any ideas will help
us much.

Thanks,
Benny

Re: Real time site monitoring ASP script by Agoston

Agoston
Fri Apr 01 01:48:24 CST 2005


"Benny" <agbenny@lycos.com> wrote in message
news:#ZbZOxoNFHA.2964@TK2MSFTNGP10.phx.gbl...
> Hi,
>
> A client of us asked to write a script to View live visitors as they
> browse her website and to get the information such as, what page they are
> viewing, what browser type they are using, IP address/host name, visitor
> time on site and screen resolution.
>
> Is this possible in ASP scripting without a server side or client side
> application? How to get the realtime stats of a visitor? Any ideas will
help
> us much.

What do you mean by "without a server side or client side application"? If
you don't want to use code, how would you implement any kind of dynamic
behavior?
Anyway, if you are willing to use server side code:
Try writing the following Request.Servervariables into a log (file or
database):
ALL_HTTP
HTTP_HOST
HTTP_REFERER (note that this is unreliable)
HTTP_URL
QUERY_STRING
SCRIPT_NAME
HTTP_USER_AGENT (not really detailed)
...

You can find all of these variables under the topic "IIS Server Variables"
in MSDN.
I would also write Session.SessionID in order to be able to identify
separate sessions. (Or better yet, a unique database ID generated in
Session_OnStart for example.)

>
> Thanks,
> Benny
>
>



Re: Real time site monitoring ASP script by Benny

Benny
Fri Apr 01 06:57:42 CST 2005

Sorry, I was not clear earlier.

I wanted to say, no server side VB componenets to be installed or client
side Activex or software installtions. It needed to be ASP Script based.

Thanks Bejo.

Benny
"Agoston Bejo" <gusz1@freemail.hu> wrote in message
news:%23k%23Fk8oNFHA.2392@TK2MSFTNGP10.phx.gbl...
>
> "Benny" <agbenny@lycos.com> wrote in message
> news:#ZbZOxoNFHA.2964@TK2MSFTNGP10.phx.gbl...
>> Hi,
>>
>> A client of us asked to write a script to View live visitors as they
>> browse her website and to get the information such as, what page they are
>> viewing, what browser type they are using, IP address/host name, visitor
>> time on site and screen resolution.
>>
>> Is this possible in ASP scripting without a server side or client side
>> application? How to get the realtime stats of a visitor? Any ideas will
> help
>> us much.
>
> What do you mean by "without a server side or client side application"? If
> you don't want to use code, how would you implement any kind of dynamic
> behavior?
> Anyway, if you are willing to use server side code:
> Try writing the following Request.Servervariables into a log (file or
> database):
> ALL_HTTP
> HTTP_HOST
> HTTP_REFERER (note that this is unreliable)
> HTTP_URL
> QUERY_STRING
> SCRIPT_NAME
> HTTP_USER_AGENT (not really detailed)
> ...
>
> You can find all of these variables under the topic "IIS Server Variables"
> in MSDN.
> I would also write Session.SessionID in order to be able to identify
> separate sessions. (Or better yet, a unique database ID generated in
> Session_OnStart for example.)
>
>>
>> Thanks,
>> Benny
>>
>>
>
>