quindi

if Request.ServerVariables("QUERY_STRING") = "" then
.......

va bene?