From http://stackoverflow.com/questions/6235390/page-session-in-php-i-want-to-store-the-time-spent-by-the-user-on-a-particular