if request.QueryString("id")<>"" then dim id id=trim(request.QueryString("id")) if id="" or not isnumeric(id) then response.Redirect("index.asp") End If end if