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 > ![]()
FatWire JAVA Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.