GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Need a script that... (https://gfy.com/showthread.php?t=78593)

Goonx 09-22-2002 06:58 PM

Need a script that...
 
will show the user how long (timewise) he spend on a certain web page. The time will stop as soon as the user closes that page and will start again (from the same point) when the user visits that same page again, and so on...

Anyone knows where I can find something like that? or if someone thinks he can custom program it for me in either php or cgi (gotta work on NT), let me know how much you think it will cost to do it...


...

some_idiot 09-22-2002 07:07 PM

You want it on your side right?

Assuming so, it's a that can be done 2 easy ways.

1: 0 size frame with a 1 second refresh and count
them up from the access file.

2: A "ping" every second with a cookie. Alot more
accurate when it comes to AOLers. (most likely java)

Cost, ... you're going to need a 24 of programmer's
fav brand and a hooker. This going to be boring one
to do.

Goonx 09-22-2002 07:15 PM

Quote:

Originally posted by some_idiot
You want it on your side right?

Assuming so, it's a that can be done 2 easy ways.

1: 0 size frame with a 1 second refresh and count
them up from the access file.

2: A "ping" every second with a cookie. Alot more
accurate when it comes to AOLers. (most likely java)

Cost, ... you're going to need a 24 of programmer's
fav brand and a hooker. This going to be boring one
to do.

what?? i think thats bullshit, i've seen simple javascript that measure the time you have been on a web page, i think all that frames, and refresh and pings stuff is bullshit, i'm sure there is a very easy way of doing this...

only problem is that I need the time to add up with the total time of the users last visit and so on...

Goonx 09-22-2002 07:15 PM

.

richard 09-22-2002 07:17 PM

you could count up in javascript and popup an exit url to count the time.

exit.cgi?time=123

Goonx 09-22-2002 07:26 PM

ok, will this be easier to do?

The same thing as I said before, only insted of counting the time, it will simply count the clicks...

some_idiot 09-22-2002 09:03 PM

Quote:

Originally posted by Goonx


what?? i think thats bullshit, i've seen simple javascript that measure the time you have been on a web page, i think all that frames, and refresh and pings stuff is bullshit, i'm sure there is a very easy way of doing this...

only problem is that I need the time to add up with the total time of the users last visit and so on...

You want to track trends or have a clock on the
surfer page? ... If you've seen it, why ask in 2 threads?

If the browser ain't sending a keepalive, you don't
know shit about if he's on the page or not. Cookies
make sure you're not tracking a proxy.

Sit down, think about what you want and write it up.
Drinking and requesting work done is a bad thing.

Browsers don't tell the server when they're closing
a page and PHP is server side. You're looking at Java
or picking apart the httpd access logs on the site
if I'm understand that you want to know time trends.

Goonx 09-22-2002 09:10 PM

Quote:

Originally posted by some_idiot


You want to track trends or have a clock on the
surfer page? ... If you've seen it, why ask in 2 threads?

If the browser ain't sending a keepalive, you don't
know shit about if he's on the page or not. Cookies
make sure you're not tracking a proxy.

Sit down, think about what you want and write it up.
Drinking and requesting work done is a bad thing.

Browsers don't tell the server when they're closing
a page and PHP is server side. You're looking at Java
or picking apart the httpd access logs on the site
if I'm understand that you want to know time trends.

yes, I need a clock on the surfers page... the problem with java and cookies is that is the surfers views the page from a different computer the timer will just start from 0. so i'm looking for something on the servers side...

Nbritte 09-22-2002 09:30 PM

http://javascript.internet.com/page-...top-clock.html

Brian

btw I have been at that page for 1 minute and 20 seconds

untitled 09-22-2002 11:19 PM

I could do this with php sessions, when the user visits your page it'll put the entry time in the session and when they exit it'll calculate up the time. this way you could store the time in a database if needed.

email me at [email protected] if your interested.

cgiGeek 10-01-2002 11:01 AM

Quote:

Originally posted by richard
you could count up in javascript and popup an exit url to count the time.

exit.cgi?time=123


the boy is right.

I dont knwo if it s just me, but I can never make any sense out of some_idiot tech specs.

ALso if u check logs for ip, u can tell how long did a user stay in on a page, by substracting the later page timestamp from the referer page timestamp, and for the exit page, just tabulate avarage vistit lenght.


All times are GMT -7. The time now is 10:11 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123