The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.
I'm trying to add a function so that it will tell me how long a user has spent on the page, but I can't work out how to do it.
The problem is that the hit counter is designed to work on a single page, thus information can't be gathered on other pages of the site. Also, it needs to give me the information even if they leave the site altogether.
After reading through lots of articles and manuals online, I know it has something to do with Session Variables and Cookies (i think!), but I dont know how to use them, or if Freeola servers support this feature!!
Please help me if u can!
I'm trying to add a function so that it will tell me how long a user has spent on the page, but I can't work out how to do it.
The problem is that the hit counter is designed to work on a single page, thus information can't be gathered on other pages of the site. Also, it needs to give me the information even if they leave the site altogether.
After reading through lots of articles and manuals online, I know it has something to do with Session Variables and Cookies (i think!), but I dont know how to use them, or if Freeola servers support this feature!!
Please help me if u can!
http://support.zeus.com/products/v3/webalizer.html
usage statistics per page, per session per anything you please.
IB
Turbonutter, I saw on your site you have used a session ID in one of URLs - is that sort of what I need to do???? Please help...
Does anyone here know CGI and PHP quite well, because I am writing mine in PHP as I know quite a lot, but I have found a CGI script that will tell me what I need to know? Anyone?
But why would you want to do that? How meaningful is that information? If I visit a page and leave it showing while I make a cup of coffee, then is that useful to you? And as far as I know, there's no way of handling the situation where someone just closes the browser on that page - your server side script will never get the chance to look at what's going on.
Maybe I've not understood your aim, but on the face of it, you're looking for info that isnt reliable or meaningful ...
They spent on average 46 seconds on my page. There are 200 words on the page, so they have probably read all of it. If they are not visiting other pages, then I need to improve the text.
I dislike session IDs, they usually make it impossible to bookmark anything. Which is bad.
I was thinking it may be possible to use a combination of PHP and JavaScript (e.g. etc etc).
Does anyone here know CGI well?? If I sent you a CGI Script, could you find the relevant section, and sort of explain how they've done it in CGI, coz then I could put it into PHP. I have a script that does this in CGI, but I don't know CGI at all - some of it is quite complex, so I can't try guessing based on similarities with PHP...