I mean that I have a onlineuser table,which contains two columns, sessionid and username. When the user is online,I insert his sessionid(created by php) and username into the sessionid table,and I want to delete the record when the user is offline,That's: How can I judge a sessionid is being used or not? or:How can I judge a user is online or not by his sessionid? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]