%option explicit%>
<%
Connection1()
Dim Rs,UserName,Password
if request.QueryString("Mode")="logoff" then
session.Abandon
Response.Redirect "alumni_login.asp"
end if
if request.QueryString("Mode")="Login" then
set rs=server.CreateObject("Adodb.recordset")
UserName=trim(replace(request.form("txtUsername"),"'","''"))
Password=trim(replace(request.form("txtPassword"),"'","''"))
rs.Open "select * from kk_employer where user_name='"&UserName&"' and password='"& Password &"'",Cn,3,2
if not rs.eof then
session("UID")=rs("emp_id")
session("_USR")=UserName
session("Company")=Rs.fields("Company_name")
response.redirect("SearchStudent.asp")
else
session("Msg")="Invalid Username / Password"
response.redirect("placement.asp")
end if
end if
%>
Coimbatore Institute of Management and Technology - Kovai Kalaimagal Educational Trust
The CIMAT has signed MOU with four leading companies in Coimbatore for industry - institution interaction, to provide mutual training and consultancy. Proposals have also been sent to get sponsored projects from government agencies