ASPEN_InvalidateSession

 

Related Topics

 

 

Purpose

Invalidate a session's privileged access authorization but leave the session open.

 

 

Call Syntax

#include <aspen.h>

AspenRequest(GLOBAL_session, ASPEN_InvalidateSession, NULL, NULL);

 

 

Parameters

Input

None.

 

Output

None.

 

 

Structures

None.

 

 

Remarks

ASPEN_InvalidateSession ends a session's privileged access authorization; the session is left open allowing continued access to non-privileged information only.

 

The ASPEN_InvalidateSession service can only be requested for previously validated sessions.

 

Before requesting this service, the application must make sure that there are no outstanding requests on the session.

 

This service is also performed automatically if the ASPEN_CloseSession service is requested.

 

 

Return Value

ASPEN_OK

The session was invalidated.

 

 

See Also

ASPEN_ValidateSession

AspenRequest()

 

 

Example

int CAspenRequestDlg::DoASPEN_InvalidateSession()

{

   server_list *slp = list;

   int retval;

   retval = AspenRequest(slp->server_session, ASPEN_InvalidateSession, NULL, NULL);

   return retval;

}

 

©2006 Aspen Research Group, Ltd. All rights reserved. Terms of Use.