> True. I was thinking of using cookies though. > > But now I think I will try to put this in the database for > every user when a new page is loaded: > dtLastAccessed = #CreateODBCDateTime(now())# Then it dosen't > matter if the session still is active, because if the user > dosen't surf to any page, the database won't be updated. > > Now I only need a way to get the dtLastAccessed from the > database when a new session is started, but only read from > the database once during the whole session.
Well, since you're already using Client variables, why not just continue using them? Just create Client.dtLastAccessed when you want, and if you use persistent cookies to associate Client variables with the browser (which is the default behavior), the variable will be available until you purge your Client database (if you do that at all). Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:204753 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

