![]() |
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... ... |
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. |
Quote:
only problem is that I need the time to add up with the total time of the users last visit and so on... |
.
|
you could count up in javascript and popup an exit url to count the time.
exit.cgi?time=123 |
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... |
Quote:
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. |
Quote:
|
http://javascript.internet.com/page-...top-clock.html
Brian btw I have been at that page for 1 minute and 20 seconds |
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. |
Quote:
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