destructors
| From: | Remco Chang | Date: | Fri, 11 Aug 2000 20:58:58 +0000 |
| Subject: | destructors | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-11408@lists.php.net to get a copy of this message | ||
hi,
i understand that there are no "destructors" in php, but is there a way to
hack around it?
what i am trying to do is to measure the amount of time that someone
spends on reading a particular webpage (with a timer class that i am
writing)... i can grab a timestamp upon the execution of the page (as part
of the constructor), but i want to be able to grab another timestamp when
the user clicks out of the particular page... destructors would be great
for exactly this purpose, but alas. :P
any ideas, thoughts, and insights on this wil be greatly appreciated. :)
thanx in advance!!
----------------
remco chang
bountyquest.com