Re: [PHP] Time in php problem....

2001-02-12 Thread Web master
I think you can do all of these using the session. In your log on script, after validating his uid and pwd, insert a row with current timestamp and his id. Either during log off or session close insert another row with uid and current time stamp. (This part I never done) Rest is to manipulate th

RE: [PHP] Time in php problem....

2001-02-12 Thread PHPBeginner.com
All I can tell is that there's a pain of calculating when the user leaves the site. Let's say his connection drops. What's then? How do you know he didn't spend on that page 7 hours? I think you should have a file included in every page he visits which, using sessions, adds the TimeStamp to the

RE: [PHP] Time in php problem....

2001-02-12 Thread Dave VanAuken
almost didn't respond to this given the wide dissemination and the broad nature of the question can't be done with any accuracy. you could, create a session or uservariable... have that transmitted with a screen refresh, or anytime your consultant moves within the site resetting an internal tim