On the World Wide Web,Query stringIs part of the uniform resource locator (URL), which contains the data to be passed to the Web application.
When a page is requested through Hypertext Transfer protocol, the server locates the requested file in the file system based on the requested URL. This file may be a common file orProgramIn the second case, the server needs to run the program and then return the running result as a page.Query stringIs part of the URL passed to this program. Through its use, we can allow us to send data from the HTTP client to the application that generates web pages.
Typical includeQuery stringThe URL looks like this:
Http: // server/path/program? QUERY_STRING
Example:
Http: // localhost/sites/mydoclib/Forms/allitems. aspx? Sortfield = last % 5fx0020% 5 fmodified & sortdir = ASC & view = % 7b5a000045% 2d3e06% 2d4a5e % 2d9733% 2d1b872a014410% 7D
Features:
- The variable names and variable values are separated by the = sign.
- Multiple parameters are separated by Ampersand, '&' or semicolon.
- The characters in the parameter use URL encoding.
From:
Query string
Http://en.wikipedia.org/wiki/Query_string