File Manager
Back to List
|
Up to Parent Directory
| Current Directory: ~/work/celebsri52
Editing: work/celebsri52/chklogin.asp
Full path: C:\ict\ICT\work\celebsri52\chklogin.asp
Permissions: rwx
Write test: File appears not directly writable
Current process identity: IIS APPPOOL\DefaultAppPool
<!--#INCLUDE FILE="statConnectDB.asp"--> <% name = Request.Form("name") sname = Request.Form("sname") 'response.write username sql = "select count(*) from statregis where name = '" & name & "' and sname = '" & sname & "'" Set rs = Server.CreateObject("ADODB.Recordset") rs.Open sql, Conn, 1, 3 if not rs.eof then result = rs(0) end if rs.Close set rs = nothing if result > 0 then Session("name") = name session("sname")=sname Response.redirect "statshowdetail.asp" else Session.abandon 'response.write username Response.redirect "statregis.htm" end if %>