I don't care about the lastVisit anymore. It does what it's supposed to do. I just want to know if there is a way to do almost the same as lastVisit does, but only updates the parameter when the user has left the webpage. Since the function I'm looking for is used in CFForum and other forums, there must be a way. :-)
Maybe if it could be done with sessions. When the user leave the page and the session is closed, maybe the database can save the current time. And the next time the user visits the page, the time is read from the database to a parameter. Though I'm not sure if that's possible to do. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204666 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

