Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 09-22-2002, 06:58 PM   #1
Goonx
Confirmed User
 
Join Date: May 2002
Posts: 1,048
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...


...
Goonx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-22-2002, 07:07 PM   #2
some_idiot
Confirmed User
 
Join Date: May 2002
Location: Doesn't matter, I'm not buying you another pint!
Posts: 1,511
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.
some_idiot is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-22-2002, 07:15 PM   #3
Goonx
Confirmed User
 
Join Date: May 2002
Posts: 1,048
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...

Last edited by Goonx; 09-22-2002 at 07:16 PM..
Goonx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-22-2002, 07:15 PM   #4
Goonx
Confirmed User
 
Join Date: May 2002
Posts: 1,048
.
Goonx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-22-2002, 07:17 PM   #5
richard
Confirmed User
 
Join Date: Feb 2001
Location: UK
Posts: 543
you could count up in javascript and popup an exit url to count the time.

exit.cgi?time=123
richard is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-22-2002, 07:26 PM   #6
Goonx
Confirmed User
 
Join Date: May 2002
Posts: 1,048
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...
Goonx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-22-2002, 09:03 PM   #7
some_idiot
Confirmed User
 
Join Date: May 2002
Location: Doesn't matter, I'm not buying you another pint!
Posts: 1,511
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.
some_idiot is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-22-2002, 09:10 PM   #8
Goonx
Confirmed User
 
Join Date: May 2002
Posts: 1,048
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...
Goonx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-22-2002, 09:30 PM   #9
Nbritte
Confirmed User
 
Join Date: Sep 2001
Location: Kentucky USA
Posts: 689
http://javascript.internet.com/page-...top-clock.html

Brian

btw I have been at that page for 1 minute and 20 seconds
Nbritte is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-22-2002, 11:19 PM   #10
untitled
Confirmed User
 
Join Date: Sep 2002
Posts: 352
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.
untitled is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-01-2002, 11:01 AM   #11
cgiGeek
Confirmed User
 
Industry Role:
Join Date: Jan 2002
Location: Miami Beach, FL
Posts: 203
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.
__________________
Need help dealing with a hacked website? Contact me via icq 163583431 :D
Premium Bandwidth Managed Servers, 12 Years in business xxxHOSTit.com
I work for xxxhostit.com
cgiGeek is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.