<% 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 Response.Redirect "./user.asp" Else Call DBExecClose(rs) Response.Write "" Response.Redirect "./user_login.asp" End If Response.End %>