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

Dave Zero davezero at mindspring.com
Mon Feb 25 10:48:01 CST 2002


Looks pretty flawless to me, George. I'm not the most experienced ASP man in
the world but that seems pretty tight to me

Dave Zero


> From: "George Klingenhoffer" <georgek at prispop.com>
> To: thelist at lists.evolt.org
> Date: Mon, 25 Feb 2002 00:04:13 -0800
> Subject: [thelist] if...or...then in asp
> Reply-To: thelist at lists.evolt.org
>
> 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





More information about the thelist mailing list