|
 |
asp_web_howto thread: Time Length Of Visitor To Web Site
Message #1 by "Kamran Yousaf" <user_15@h...> on Tue, 30 Jan 2001 19:20:18 -0000
|
|
Hello my name is Azhar and I have a question that you may
possibily have the answer to. The question is is there an accurate way to
measure the duration of a person's visit to a site apart from calling the
Session_OnEnd method in the global.asa file and storing a timstamp value (
now() ) in Access or SQL Server. I have noticed that in my PWS Manager
icon
screen whenever I close a local web page in my PWS directory, the Active
Connection number (next to the Stats box) goes to 1 less or 0. If this is
possible then it is also possible for me to know the 'almost' exact time
when a person leaves my web site.
If you have any answers, please can you tell me or point me to the
appropriate direction. Thank you
Regards Azhar
email address is ----> user_15@h...
Message #2 by "Elton Machado - Ideias Digitais" <info@i...> on Tue, 30 Jan 2001 20:26:18 -0000
|
|
Hi there.
See the discussion: [asp_web_howto] Re: Session_OnEnd trigger on client
I have posted a question that have to do with that.
Cya
Elton
-----Mensagem original-----
De: Kamran Yousaf [mailto:user_15@h...]
Enviada: quarta-feira, 31 de Janeiro de 2001 3:39
Para: ASP Web HowTo
Assunto: [asp_web_howto] Time Length Of Visitor To Web Site
Hello my name is Azhar and I have a question that you may
possibily have the answer to. The question is is there an accurate way to
measure the duration of a person's visit to a site apart from calling the
Session_OnEnd method in the global.asa file and storing a timstamp value (
now() ) in Access or SQL Server. I have noticed that in my PWS Manager
icon
screen whenever I close a local web page in my PWS directory, the Active
Connection number (next to the Stats box) goes to 1 less or 0. If this is
possible then it is also possible for me to know the 'almost' exact time
when a person leaves my web site.
If you have any answers, please can you tell me or point me to the
appropriate direction. Thank you
Regards Azhar
email address is ----> user_15@h...
Message #3 by "Mike Scott" <jstmehr4u3@h...> on Tue, 30 Jan 2001 13:28:56 -0800
|
|
I am just thinking outside the box here, but couldnt you create a session
variable that is created on Session OnBegin with the value of NOW() and take
the value of NOW() at the Session_OnEnd and subtract to get the total time
of the session? Would that not give you the time of visit?
I am not sure, just a thought.
Mike
----- Original Message -----
From: "Elton Machado - Ideias Digitais" <info@i...>
To: "ASP Web HowTo" <asp_web_howto@p...>
Sent: Tuesday, January 30, 2001 12:26 PM
Subject: [asp_web_howto] RE: Time Length Of Visitor To Web Site
> Hi there.
>
> See the discussion: [asp_web_howto] Re: Session_OnEnd trigger on client
>
> I have posted a question that have to do with that.
>
> Cya
>
> Elton
>
> -----Mensagem original-----
> De: Kamran Yousaf [mailto:user_15@h...]
> Enviada: quarta-feira, 31 de Janeiro de 2001 3:39
> Para: ASP Web HowTo
> Assunto: [asp_web_howto] Time Length Of Visitor To Web Site
>
>
> Hello my name is Azhar and I have a question that you may
> possibily have the answer to. The question is is there an accurate way to
> measure the duration of a person's visit to a site apart from calling the
> Session_OnEnd method in the global.asa file and storing a timstamp value (
> now() ) in Access or SQL Server. I have noticed that in my PWS Manager
> icon
> screen whenever I close a local web page in my PWS directory, the Active
> Connection number (next to the Stats box) goes to 1 less or 0. If this is
> possible then it is also possible for me to know the 'almost' exact time
> when a person leaves my web site.
> If you have any answers, please can you tell me or point me to the
> appropriate direction. Thank you
> Regards Azhar
>
> email address is ----> user_15@h...
>
>
Message #4 by "Erik Coleman" <ecoleman@e...> on Tue, 30 Jan 2001 15:35:59 -0600
|
|
That would work. It does create some server overhead due to multiple copies
of the string containing that start time sitting in memory though. When the
session times out make sure to subtract the time that it took for the
session to expire.
ex. The user hits the site at 1:20PM plays around in the site for a while
and eventually downloads his last page at 1:35 before browsing elseware.
The session won't expire for 20 minutes (the default) so the time when it
expires will be 1:55. Just take 1:55 subtract 20 minutes and take that
value and subtract 1:20 to get the 15minutes that she was on your site.
Hope that helps
----- Original Message -----
From: Mike Scott <jstmehr4u3@h...>
To: ASP Web HowTo <asp_web_howto@p...>
Sent: Tuesday, January 30, 2001 3:28 PM
Subject: [asp_web_howto] RE: Time Length Of Visitor To Web Site
> I am just thinking outside the box here, but couldnt you create a session
> variable that is created on Session OnBegin with the value of NOW() and
take
> the value of NOW() at the Session_OnEnd and subtract to get the total time
> of the session? Would that not give you the time of visit?
> I am not sure, just a thought.
> Mike
> ----- Original Message -----
> From: "Elton Machado - Ideias Digitais" <info@i...>
> To: "ASP Web HowTo" <asp_web_howto@p...>
> Sent: Tuesday, January 30, 2001 12:26 PM
> Subject: [asp_web_howto] RE: Time Length Of Visitor To Web Site
>
>
> > Hi there.
> >
> > See the discussion: [asp_web_howto] Re: Session_OnEnd trigger on client
> >
> > I have posted a question that have to do with that.
> >
> > Cya
> >
> > Elton
> >
> > -----Mensagem original-----
> > De: Kamran Yousaf [mailto:user_15@h...]
> > Enviada: quarta-feira, 31 de Janeiro de 2001 3:39
> > Para: ASP Web HowTo
> > Assunto: [asp_web_howto] Time Length Of Visitor To Web Site
> >
> >
> > Hello my name is Azhar and I have a question that you may
> > possibily have the answer to. The question is is there an accurate way t
o
> > measure the duration of a person's visit to a site apart from calling
the
> > Session_OnEnd method in the global.asa file and storing a timstamp value
(
> > now() ) in Access or SQL Server. I have noticed that in my PWS Manager
> > icon
> > screen whenever I close a local web page in my PWS directory, the Active
> > Connection number (next to the Stats box) goes to 1 less or 0. If this
is
> > possible then it is also possible for me to know the 'almost' exact time
> > when a person leaves my web site.
> > If you have any answers, please can you tell me or point me to the
> > appropriate direction. Thank you
> > Regards Azhar
> >
> > email address is ----> user_15@h...
> >
>
Message #5 by "Ken Schaefer" <ken@a...> on Wed, 31 Jan 2001 13:23:21 +1100
|
|
What if a user downloads a page at 12:00 am
At 12:20 the session expires.
The user, after spending 21 minutes reading the first page then downloads a
second page at 12:21am
After two minutes (at 12:23am) they leave and go to a different web site.
In your logs you will have:
a) Visitor 1 - who stayed for 00:00 minutes:seconds
b) Visitor 2 - who also stayed for 00:00 minutes:seconds
Whereas in fact we know that there was only 1 visitor, and they stayed for
23 minutes...
Cheers
Ken
----- Original Message -----
From: "Erik Coleman" <ecoleman@e...>
To: "ASP Web HowTo" <asp_web_howto@p...>
Sent: Wednesday, January 31, 2001 8:35 AM
Subject: [asp_web_howto] RE: Time Length Of Visitor To Web Site
> That would work. It does create some server overhead due to multiple
copies
> of the string containing that start time sitting in memory though. When
the
> session times out make sure to subtract the time that it took for the
> session to expire.
> ex. The user hits the site at 1:20PM plays around in the site for a
while
> and eventually downloads his last page at 1:35 before browsing elseware.
> The session won't expire for 20 minutes (the default) so the time when it
> expires will be 1:55. Just take 1:55 subtract 20 minutes and take that
> value and subtract 1:20 to get the 15minutes that she was on your site.
> Hope that helps
>
|
|
 |