Home > Contents > Index >
Expanded TOC | Accordion TOC | Annotated TOC | Index
ICS.GetSSVar
Gets the value of a session variable.
Syntax
public String GetSSVar(String name)Parameters
name
- The name of the session variable.
Returns
The value of the session variable. If the session variable does not exist, returns
null
.Example
// Create a session variable named ssVarUser String ssvName = "ssVarUser"; ics.SetSSVar( ssvName, "Joe User" ); // Get the value of this session variable String sv = ics.GetSSVar
( ssvName ); // sv should now hold the value "Joe User" // Delete this session variable ics.RemoveSSVar
( ssvName ); // Try to retrieve the value of the deleted session. sv = ics.GetSSVar
( ssvName ); // sv should now be nullSee Also
GetSSVars , RemoveSSVar , SetSSVar
Home > Contents > Index > Oracle JAVA Reference
Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.