<% Dim userid : userid = Request.Form("userid") '로그인 ID Dim userpw : userpw = Request.Form("userpw") '로그인 PW Dim UNAME dim SQL, rs DBConnect2() SQL = " select USERNAME, USERID from kon.dbo.KON_CAPI_TB where USERNAME = '"& userid &"' and USERPHONE = '" & userpw & "' " Set rs = DBExec(SQL,"kon") If Not rs.EOF Then UNAME = rs(0) USERID = rs(1) Call DBExecClose(rs) session("MYUNID") = USERID session("MYUNNAME") = UNAME ''''''' 관리자의 경우 면접원명 표시, 검색 추가 ''''''' If USERID = "P00001247" Then Response.Redirect "./adminUser.asp" Else Response.Redirect "./user.asp" End If Else Call DBExecClose(rs) Response.Write "" Response.Redirect "./user_login.asp" End If Response.End %>