<% if session("userid")="" then response.Redirect("login.asp?loginmsg=Please enter user and password") end if submit=request("submit") if submit<>"" then %> <% newpwd=Request("newpwd") response.Write(newpwd) sql="Update admin set pwd='" & newpwd & "'" cn.Execute(sql) set rs=nothing cn.Close set cn=nothing Response.Redirect "admin.asp?msg=3" end if %> Admin Area
ADMINISTRATOR LOGIN     WELCOME Product Info    
 
  Dealer
  Product
  Change password
  Change email ID
  Logout
 
     CHANGE PASSWORD
New password 
Re-type New password