Sambar Server Documentation

sa_param_set


Purpose

Set a parameter for evaluation later in the script or in another RPC call.

Syntax

sa_param (context, params, name, value, valuelen);

SA_CTX *context;
SA_PARAMS *params;
SA_CHAR *name;
SA_CHAR *value;
SA_INT valuelen;

Parameters

context Server context.

params The parameter list.

name The name of the parameter of interest.

value The string value of the parameter.

valuelen The length of the string value (or SA_NULLTERM if this is a null terminated string).

Returns

SA_SUCCEED if the function is successful; SA_FAIL otherwise.

Comments

The parameter list is constructed from the URL. Both GET and POST arguments are parsed into name/value pairs and saved in the parameter list.

See Also

sa_param

© 1998 Sambar Technologies. All rights reserved. Terms of Use.