ec_httpsrv_ctx_set — Sets a per-request closure blobject on a session
void **ec_httpsrv_ctx_set** ( | sess, | |
| | blobject
); | |
ec_httpsrv_session * <var class="pdparam">sess</var>;
ec_blobject * <var class="pdparam">blobject</var>;
This reference page was automatically generated from functions found in the header files in the development branch. The function described here may not exist in generally available versions of Momentum, and may change in behavior when it is generally available. Consult your vendor for definitive advice on the use of this function.
Sets a per-request closure blobject on a session.
This mechanism allows the request handler to store state with the session.
the session to modify
the closure to store
If blobject is NULL, any previously associated state will be released.
Otherwise, the blobject will have a reference added; the system will maintain that reference until the request is completed.