Dynamicweb 8 Documentation
Request(String,Boolean) Method

The name of the collection member to get.
if true the input is sql escaped (Database.SQLEscapeInjection).
Gets the specified string from the QueryString, Form, Cookies, or ServerVariables collections.
Syntax
'Declaration
 
Public Overloads Shared Function Request( _ 
   ByVal key As String, _ 
   ByVal sqlEscape As Boolean _ 
) As String
public static string Request( 
   string key,
   bool sqlEscape 
)

Parameters

key
The name of the collection member to get.
sqlEscape
if true the input is sql escaped (Database.SQLEscapeInjection).

Return Value

The QueryString, Form, Cookies, or ServerVariables collection member specified in the key parameter. If the specified key is not found, then a null reference (Nothing in Visual Basic) is returned.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Input Class
Input Members
Overload List

Send Feedback