It's late on a friday afternoon, so sorry if this is a stupid question, but I'm having so many problems with this if else statement that I've tried to simplify it more so and it still won't work. Why does the page not forward? What is wrong with the if else statement. The repsonse.Write returns the values of the variables!
I'm hoping i've not overlooked something obvious!
Dave
Code:
<%
srIDC1="p"
srIDC2="p"
Response.Write("<br />Strain1: " &srIDC1&"<br /> Strain2: "&srIDC2)
if srIDC1="p" & srIDC2="p" then
Response.Redirect("new.asp")
end if%>
Dave
Comment