alexrjordan
02-07-2008, 01:50 AM
Using this URL:
dummy.aspx?tid=1fid=2
'Declare variables
Dim value1 = Request("tid")
Dim value2 = Request("fid")
This works:
<%
If value1 Is Nothing Then
%>
No value
<%
Else
%>
True
<%
End If
%>
This does not work:
<%
If value1 Is Nothing AND value2 Is Nothing Then
%>
No value
<%
Else
%>
True
<%
End If
%>
dummy.aspx?tid=1fid=2
'Declare variables
Dim value1 = Request("tid")
Dim value2 = Request("fid")
This works:
<%
If value1 Is Nothing Then
%>
No value
<%
Else
%>
True
<%
End If
%>
This does not work:
<%
If value1 Is Nothing AND value2 Is Nothing Then
%>
No value
<%
Else
%>
True
<%
End If
%>