sloppycode.net
ASP Reference
Application
Application_OnEnd
Application_OnStart
Contents
Lock
StaticObjects
Unlock
Error
ASPCode
ASPDescription
Category
Column
Description
File
Line
Number
Source
ObjectContext
OnTransactionCommit
OnTransactionsAbort
SetAbort
SetComplete
Request
BinaryRead
Certificate
Cookies
Form
QueryString
ServerVariables
TotalBytes
Response
AddHeader
AppendToLog
BinaryWrite
Buffer
CacheControl
Charset
Clear
ContentType
Cookies
End
Expires
ExpiresAbsolute
Flush
isClientConnected
PICS
Redirect
Write
Server
CreateObject
Execute
GetLastError
HTMLEncode
MapPath
ScriptTimeout
Transfer
URLEncode
Session
Abandon
CodePage
Contents
Contents.Remove
Contents.RemoveAll
LCID
OnEnd
OnStart
SessionID
StaticObjects
Timeout
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