%Response.Expires=0
if Session("ClientID") = "" then
Session("Destination") = "clientservices.asp"
Response.Redirect("logscr.asp")
end if
%>
<%
ErrorCode=0
ErrorText=""
Response.Expires=0
if Session("ClientID") = "" then
'response.write("ID="& Session("ClientID")& "
")
Session("Destination") = "cngclientpass.asp"
Response.Redirect("cngclientpass.asp")
end if
if Request.form("txtOldPassword") <> "" then
if ChangePassword() = True then
Response.Redirect("cngpasclient.asp?Pchange=Yes")
else
if ErrorCode= 0 then
Response.Redirect("cngpasclient.asp?Pchange=No")
end if
end if
end if
%>
<%
ConnectString="FILEDSN=sunraj.dsn"
Set Conn=Server.CreateObject("ADODB.Connection")
Set Rs=Server.CreateObject("ADODB.Recordset")
Conn.Open ConnectString'
SQL="select * from Clients where ClientID=" & session("ClientID") & ";"
Rs.Open SQL, Conn
%>