Query strings not detected in ASP

Problem: You are requesting QueryString’s in ASP but nothing happens and the value seems to be empty.

Cause: You cannot use default documents when requesting QueryString’s. For example:


Would pick up that the query string “q” is set to “hello.” However:


Would not pick up anything despite index.asp being loaded as the default document.

Fix: Enter the full url instead of skipping out the file name.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.