Oracle Call Interface Programmer's Guide Release 2 (9.2) Part Number A96584-01 |
|
OCI Relational Functions, 14 of 38
Terminates a user session context created by OCISessionBegin()
sword OCISessionEnd ( OCISvcCtx *svchp, OCIError *errhp, OCISession *usrhp, ub4 mode );
The service context handle. There must be a valid server handle and user session handle associated with svchp
.
An error handle you can pass to OCIErrorGet()
for diagnostic information in the event of an error.
De-authenticate this user. If this parameter is passed as null, the user in the service context handle is de-authenticated.
The only valid mode is OCI_DEFAULT.
The user security context associated with the service context is invalidated by this call. Storage for the user session context is not freed. The transaction specified by the service context is implicitly committed. The transaction handle, if explicitly allocated, may be freed if not being used. Resources allocated on the server for this user are freed. The user session handle may be reused in a new call to OCISessionBegin()
.
|
Copyright © 1996, 2002 Oracle Corporation. All Rights Reserved. |
|