Skip to content

silgy_app_user_logout

Jurek Muszyński edited this page May 27, 2019 · 3 revisions

void silgy_app_user_logout(int ci)

Description

Called when downgrading logged in user session to anonymous.

There's no guarantee that ci indicates the actual connection, as it may be called well after user agent had disconnected (as timeouted session). It's provided only for a convenience, to be able to use usual macros accessing session data, i.e. US, AUS, SET_USER_STR, etc.

Learn about sessions in Silgy.

Returns

None

Example

Notes

Requires USERS compilation switch.

Clone this wiki locally