[thelist] .NET Postback

Mike King mike.king at redroom.co.uk
Tue May 28 13:32:01 CDT 2002


At 16:54 28/05/2002, darren wrote...

>how about:
>
>    if not (request.QueryString is nothing orElse
> Request.QueryString.Count = 0) then
>       ' we have something
>    else
>       ' we got nada...
>    end if

Thanks for that! I never thought about count  :)
Now it's relatively easy to check whether there's anything in the QS

If Request.QueryString().Count <> 0 Then
   ' do your stuff
   ' acessing the string of the QS using Request.QueryString(0)

Else
   '  do not a lot
End If

Now onto more fun things like sniffing for XSS :)

Cheers
mk





More information about the thelist mailing list