Re: [PHP] OT but need guidance in timing page views

2004-07-20 Thread raditha dissanayake
Stephen Sadowski wrote: It seems like alot of people are focusing on what you can't do. As the client seems not to care, you could take the immediate approach and mimic several other online education sites, combining JavaScript to monitor the browsing habits and submitting a php script

Re: [PHP] OT but need guidance in timing page views

2004-07-19 Thread Miroslav Hudak (php/ml)
I would do it this way: - open the page and create hidden iframe (or frame with 0% width/height) which will be refreshing itself every ... let's say ... 2 minutes... then you'll get up to 2 minutes accurate numbers... the refreshed page would write timestamp to database every refresh... when

RE: [PHP] OT but need guidance in timing page views

2004-07-19 Thread Jay Blanchard
[snip] I know that this is somewhat off topic, but I just need a starting place to do the research and thought someone here might be able to help. I am developing an application in which I need to time how long a visitor remains within a module and how long they view each page. I can create the

Re: [PHP] OT but need guidance in timing page views

2004-07-19 Thread Robb Kerr
On Mon, 19 Jul 2004 08:58:22 -0500, Jay Blanchard wrote: [snip] I know that this is somewhat off topic, but I just need a starting place to do the research and thought someone here might be able to help. I am developing an application in which I need to time how long a visitor remains within

Re: [PHP] OT but need guidance in timing page views

2004-07-19 Thread Robb Kerr
On Mon, 19 Jul 2004 15:54:14 +0200, Miroslav Hudak wrote: I would do it this way: - open the page and create hidden iframe (or frame with 0% width/height) which will be refreshing itself every ... let's say ... 2 minutes... then you'll get up to 2 minutes accurate numbers... the refreshed

Re: [PHP] OT but need guidance in timing page views

2004-07-19 Thread Miroslav Hudak (php/ml)
Hi! This is what you need :) You have hidden frame (FRAME not layer!!!) (it means FRAME src=check.php height=0 [noborders etc])... then in check.php would be something like this: $id = $myid; //myid will be stored in session after user logs in Connect to database, pair ID with a row in table and

Re: [PHP] OT but need guidance in timing page views

2004-07-19 Thread raditha dissanayake
Robb Kerr wrote: On Mon, 19 Jul 2004 08:58:22 -0500, Jay Blanchard wrote: [snip] I know that this is somewhat off topic, but I just need a starting place to do the research and thought someone here might be able to help. I am developing an application in which I need to time how long a visitor

Re: [PHP] OT but need guidance in timing page views

2004-07-19 Thread Stephen Sadowski
I know that this is somewhat off topic, but I just need a starting place to do the research and thought someone here might be able to help. I am developing an application in which I need to time how long a visitor remains within a module and how long they view each page. It seems like alot of

Re: [PHP] OT but need guidance in timing page views

2004-07-19 Thread Jason Wong
On Tuesday 20 July 2004 05:41, Stephen Sadowski wrote: It seems like alot of people are focusing on what you can't do. Doing something which is plainly pointless seems dubious practice. As the client seems not to care The client needs education. -- Jason Wong - Gremlins Associates -