using java how to update a database row when user session expires? this situation includes 1.user does not click any logout button 2.if automatically browser closed. 3.system directly power-off condition.using java how to update a database row when us