ClearNameValues

Description

Clears all name values for the current session.

A name value defines a session-level variable. Once it is set, it is accessible as long as the session is still alive. This method clears all defined values for the current session, including those set by packages and the system, not just those defined by custom schema hooks that were introduced by the administrator.

Use this function with caution; it is safer to clear name values one at a time, by name, than to use ClearNameValues. Certain session variables, such as _CQ_WEB_SESSION and ratl_MultiModifyBatchMode, should never be adjusted by a schema.

For more information on name values, see "Using Session variables".

Syntax

VBScript


session.ClearNameValues 

Perl


$session->ClearNameValues(); 
Identifier
Description
session
The Session object that represents the current database-access session.
Return value
None.