wwRequest::SetKey

Sets a form variable to the specified value from the existing POST data block.

This method is useful for operations where the program needs to make changes to existing POST variable provided by the client application. An example might be stripping out a password the user passed before redisplaying a DHTML form that contains this data. After the display operation is complete the original value can be reset.

o.setkey(lcKey, lcValue)

Parameters

lcKey
The form variable to set.

lcValue
The value to set the variable to

Remarks

This functionality may not be provided for non-Web Connection messaging types such as ASP messaging, since there's no way to change the POST buffer data in those tools.


See also:

Class wwrequest | wwRequest::Form | wwRequest::FormXML | wwRequest::cFormVars

© West Wind Technologies, 1996-2024 • Updated: 10/04/15
Comment or report problem with topic