Hey all,<BR>I want to log member&#039;s activites to my site, mostly when they log on, and when the log off. How can I write to the database when they either leave my site, or when they close their browser?? I&#039;m using a frameset in a popup window, so I would put the code in the actual parent frame...<BR>