Back to product page
- Introduction
- License agreement
- Classes
- Enumerations
- Exceptions
- WeOnlyDo.Server.WebServer
- WeOnlyDo.Server.WebHeader
- WeOnlyDo.Server.WebHeaders
- WeOnlyDo.Server.WebRequest
- WeOnlyDo.Server.WebResponse
- WeOnlyDo.Server.WebSessions
- WeOnlyDo.Server.WebSessionVar
- WeOnlyDo.Server.WebSessionVars
- WeOnlyDo.Server.WebUpload
- WeOnlyDo.Server.WebUploads
- WeOnlyDo.Server.WebUser
- WeOnlyDo.Server.WebUsers
- How to get support?
QueryVariables property
Holds collection of query variables used in URL.
Type
WebHeaders objectSyntax
- C#
- VB.NET
WebHeaders QueryVariables {get; };
ReadOnly Property QueryVariables As WebHeaders
Remarks
QueryVariables holds collection of variables client sent via URL. For example, when client requests URL like this:http://somehow.com/somepath/somefile.htm?userid=joe&password=mypass&counter=1
then wodWebServer.NET will create new collection (WebHeaders collection type is used, simply because, just as headers, these variables also have their names and their values) and populate it so that it contains 3 WebHeader objects, containing following:
WebHeaders(0).Name=" userid", WebHeaders(0).Value="joe"
and so on for other variables in the URL.
To access specific item from this collection, you can use this line:
User.Request.QueryVariables("something")