Look at  application.cfc onSessonEnd()

Andy

-----Original Message-----
From: Marcus Svensson 

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.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204684
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to