I would like to somehow (possibly with the "onload" and "onunload" functions) discover how long individual visitors are spending at a site. Have a mySQL back end, so there is somewhere for the data to be sent...

Any ideas?

cheers, H