%@ Language=VBScript %> <%Option Explicit%> <%Response.Expires=0 Response.Buffer = True Dim sError,iError,iUid,i,aRooms,iCount,aIds,aRoom If len(Request("userName"))>0 Then If UserLogin(Request("userName"),Request("password"),Request("roomid"),sError,iError,iUid) Then Response.Redirect "chat.asp" Response.End End If ElseIf len(Request("logoff"))>0 Then call LogOffUser(ChatSessionUidGet(),true) End If%>