WeOnlyDo! wodWebServer ActiveX - QueryVariables Property
      
 

Description

Holds collection of query variables used in URL.


Property type

A WebHeaders object.  


Syntax

object.QueryVariables



The QueryVariables Property syntax has these parts:

Part Description
object An expression evaluating to an object of type WebRequest.

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 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:

WebHeader(0).Name=" userid", WebHeader(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")