sloppycode.net
ASP Reference



Request.QueryString

Like the Request.Form collection, Querystring returns information posted using the GET method in a form, or from referencing a variable directly when calling a page.

For example 'myascript.asp?variable=contentsofvariable' could retrieve the value of 'myvariable' by using Request.QueryString("myvariable").

Like other ASP collections, you can reference QueryString using : Request.QueryString("itemname"), Request.QueryString.Item("itemname") and Request.QueryString([key]).

Also notable is the use of 'Request.QueryString' on its own to grab all the information (non-variable parsed) sent to the script, and also the 'Count' property, which returns the number items in the collection. QueryString is not recommended for obtaining a lot of data, or for sensitive information. For this use Request.Form.
› Home
› C#
› Snippets
› Articles
› Tools
› Taglines
› ASP
› Dictionary Object
› FSO
› Unix cheat sheet
› Gaming
› CSS
› Yak
› Umbraco
› About
› Contact
› Privacy
› Projects
› Search
› Sitemap





Buy on Amazon



Buy on Amazon



Buy on Amazon



Buy on Amazon