Yes you can, but you must think in terms of (and there are more to think off)
- Set a time value, on each request reset the time value, if the time value expires the user either is asleep or gone, ergo lastvisit. - Call JavaScript onunload on each window blur, to notify the server of the lastvisit to that page. I would go for option one, just because it makes your lastvisit platform independent. You can easily use it in a Flash app as well. Micha Schopman Project Manager Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 ------------------------------------------------------------------------ ------------------------------------------------------------------------ ----- Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl ------------------------------------------------------------------------ ------------------------------------------------------------------------ ----- -----Original Message----- From: Marcus Svensson [mailto:[EMAIL PROTECTED] Sent: woensdag 27 april 2005 15:27 To: CF-Talk Subject: RE: Client.LastVisit 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:204669 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