Home > Contents > Index >
Expanded TOC   |    Accordion TOC   |    Annotated TOC   |    Index

 

ICS.SetSSVar

Sets the value of a session variable.

The value of a session variable exists for the duration of the session, unless it is explicitly deleted using RemoveSSVar . This method has two variants:


ICS.SetSSVar

Sets the value of a session variable.

Syntax

Parameters

name
The name of the session variable to set.

value
The value to set the session variable to.

Description

The SetSSVar method sets the value of a session variable. The value of a session variable exists for the duration of the session, unless it is explicitly deleted using RemoveSSVar .

Example

The following fragment creates a session variable named FavoriteColor and sets it to red:

See Also

GetSSVar , GetSSVars , RemoveSSVar


ICS.SetSSVar

Sets the value of a session variable.

Syntax

Parameters

name
The name of the session variable to set.

value
The value to set the session variable to.

Description

The SetSSVar method sets the value of a session variable. The value of a session variable exists for the duration of the session, unless it is explicitly deleted using RemoveSSVar .

Example

The following fragment creates a session variable named FavoriteColor and sets it to red:

See Also

GetSSVar , GetSSVars , RemoveSSVar

 

  Home > Contents > Index >

Oracle JAVA Reference
Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.