websSetVar | GoAhead WebServer API | GoAhead EMF |
Set the value of a Form variable
#include "webs.h" void websSetVar(webs_t wp, char_t *var, char_t *value);
wp | Web server connection handle |
var | The Form variable |
value | The value to set the variable to |
The websSetVar procedure defines the value of a Form variable. If the variable is already defined, the value is updated. The variable is only defined for this web browser connection and its value must be non-NULL. Values are stored in a fast access symbol table using a hash lookup mechanism.
None
websSetVar(wp, "Name", "Peter Smith");