Files
KIN/other/password_Change_ok.asp
2025-09-29 17:55:08 +09:00

18 lines
590 B
Plaintext

<!-- #include virtual = "lib/config.asp" -->
<%
change_pwd = Request.Form("txtPassword_new1")
Query = "update person set p_pass =convert(varbinary(50),pwdencrypt('" & change_pwd & "')), "
query = query & " p_pass_new = '" & change_pwd & "' "
query = query & " where p_no = '" & Session("user_number") & "'"
'Response.Write query & "<br>"
adoconn.execute query
Session.Abandon
response.Cookies("p_no") = ""
response.Cookies("p_ip") = ""
%>
<script>
alert("암호가 변경 되었습니다.\n다시 로그인 해주세요.");
location.href = "/login.asp";
</script>