[thelist] if...or...then in asp

George Klingenhoffer thelist at lists.evolt.org
Mon Feb 25 02:06:01 2002


Using ASP, what's the proper way to evaluate this and is does this account
for most ways that someone could enter a bogus value for 'curpage' in the
url:

<%
If (Not IsNumeric(Request("curpage"))) Or (Request("curpage") < 1) Then
	CurrentPage = 1
Else
	CurrentPage = Request("curpage")
End If
%>

Thanks!

GeorgeK