Hello
I am wondering if anyone can help me?
here is the code I am trying to get to work
<% if session("rn") = request.form("code") then
response.write("match")
else
response.write("no match")
end if %>
Both session("rn") and request.form("code") contain a number, what I am trying to achieve is if the two equal each other then it writes "match" if they dont equal the same then write no match.
My trouble is I never get a match even when I know both session("rn") and request.form("code") contain the same number! I have verified this by writing out them both on screen and can confirm they are the same, what am I doing wrong?
Thanks in advance
Will