i am developing a portal and want to store logout information to the database if the user exits both via the logout button and when the browser is exited, if anyone can help me with this id really appreciate it thanx ivan