using response.write on the variables with rr as the input gets this output
rr rr
response.write on the select statement gets this output
SELECT user, pass FROM loginMinuteman WHERE user = 'rr' AND pass = 'rr'
Using the trim function got the same results and the response.write produced this-
Select user, pass from loginMinuteman where Trim(user) = 'name' and Trim(pass) = 'pass'
In this statement I'm getting back all recordsets instead of the ones called for. I've tried different quote options but still won't work
strUserName = request.form("user")
strPass = request.form("pass")
strQ = "Select user, pass from loginMinuteman where user = 'strUserName' and pass =...
With this code....
dim iCount
dim strCookie()
For iCount = 1 To Request.Form("menu").count
Response.Cookies("menu")(iCount) = Request.Form("menu")(iCount)
Next
redim strCookie(0)
'Loop through each Cookie
for each x in request.Cookies("menu")
response.Write(x & " = " &...
I'm trying to retreive from a cookies collection and pass each value into a variable, an array called strCookie().
I'm get this error....
Error Type:
Sun ONE ASP VBScript runtime (0x800A000D)
Type mismatch
the code is....
<%
dim iCount
dim objRS
dim objConn
dim strConnectionString
dim...
redim strCookie(0)
For Each x in Request.Cookies
now I'm getting the same type mismatch error on this line-------- strCookie(x) = Request.cookies(x)
response.write strCookie(x)
Next
I'm trying to retreive from a cookies collection and pass each value into a variable, an array called strCookie().
when I redim the array inside a for next loop, I get this error....
Error Type:
Sun ONE ASP VBScript runtime (0x800A000D)
Type mismatch
the code is....
<%
dim iCount
dim objRS...
I've got a form with many checkboxes. The name for the form checkboxes is "menu"
In my ASP page I'm trying to set cookies and then test for their presence.
<%
dim iCount
I'm confused on the syntax of setting a cookie. specificaly the name for the cookie, response.cookie("this here"). I've...
Now I get this error.
Error Type:
ADODB.Recordset.1 (0x80004005)
SQLState: 42000 Native Error Code: 1064 [TCX][MyODBC]You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '1 * from Reservations' at line 1
I have a database query to insert records but am getting this error message.
Error Type:
ADODB.Recordset.1 (0x800A0E79)
Invalid operation on open object
The code reads as follows.
bug = 0
strFname = request.form("fname")
strLname = request.form("lname")
strStreet = request.form("street")...
I don't know why this code brings up a blank screen.....
<%
dim iCount
dim strCookie
for iCount=1 to request.form("menu").count
response.cookies("strCookie") = request.form("menu")(iCount)
next
for each x in request.cookies("strCookie")
if request.cookies("strcookie").HasKeys then...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.