Guest_imported
New member
- Jan 1, 1970
- 0
castella (Visitor) Mar 7, 2002
This is my code
<% CUser= request("CUser"
%>
<% Sistemas= request("Sistemas"
%>
<%
Set Conn = Server.CreateObject("ADODB.Connection"
Conn.Open "DSN=Requisicion;uid=sa;pwd="
sSQL="Select * from T_Inf_Personal where Username = '" &CUser&"' "
set RS = Conn.Execute(sSQL)
If not RS.EOF then
If Sistemas = "" then
Response.Redirect("Cuentas1.asp"
Else
If Sistemas = "Windows" then
Response.Redirect("Cuentas2.asp"
End If
End If
End If
Conn.Close
%>
I want to send CUser and Sistemas to the page CuentasX
what can I do?
This is my code
<% CUser= request("CUser"

<% Sistemas= request("Sistemas"

<%
Set Conn = Server.CreateObject("ADODB.Connection"

Conn.Open "DSN=Requisicion;uid=sa;pwd="
sSQL="Select * from T_Inf_Personal where Username = '" &CUser&"' "
set RS = Conn.Execute(sSQL)
If not RS.EOF then
If Sistemas = "" then
Response.Redirect("Cuentas1.asp"

Else
If Sistemas = "Windows" then
Response.Redirect("Cuentas2.asp"

End If
End If
End If
Conn.Close
%>
I want to send CUser and Sistemas to the page CuentasX
what can I do?