This is the way I did it, on my site. Everytime they click a link, on top of that page write a variable to a database (or session variable). At the same time, before you stamp the new time you can compare their last "click" in this case -- to the current time. It worked wonders for me.
Hope that helps.
Onno wrote:
I would like to know if there is a way to log of an authenticated user after a certain amount of time. I thought about something like a META tag and clear some variables so the user has to log in again.
Is this a good thing to do?