PreviousNext

Releasing and Purging a Context

When a process is finished using a login context, it may call sec_login_release_context( ) to free storage occupied by the context handle. When a process releases a login context, the context is still available to other processes that use it. If an application needs to destroy a login context, it may call sec_login_purge_context( ), which also frees storage occupied by the handle. Since a destroyed context is unavailable to all processes that use it, application developers should be careful when using sec_login_purge_context( ).