I am using a variable to interpolate in ASP, for this i have an vairable:
cid=Request.Form("customerID")
and then,
rs.open "SELECT * FROM customers WHERE customerID='" & cid & "'",conn
the above statement does not work.
while this works:
rs.open "SELECT * FROM customers WHERE customerID=1",conn
can someone please help me???
cidis1, have you verified? That is vulnerable to sql injection. What is its failure mode? - Alex K.cid=Cint(Request.Form("customerID"))- assuming that customerID is a number - John