Skip to content

SET_USER_STR

Jurek Muszyński edited this page Dec 18, 2021 · 5 revisions

int SET_USER_STR(const char *key, const char *value)

Description

Saves user string setting in users_settings table. If the setting already exists, it's overwritten.

Returns

Returns OK or one of the error codes:

  • ERR_INT_SERVER_ERROR

Example

SET_USER_STR("last_page", REQ_URI);

Notes

Requires USERS compilation switch.

Clone this wiki locally