Home > Contents > Index >
Expanded TOC | Accordion TOC | Annotated TOC | Index
ICS.RemoveSSVar
Removes a session variable.
Syntax
public void RemoveSSVar(String name)Parameters
name
- The name of the session variable to remove.
Description
The
RemoveSSVar
method removes a session variable. After a session variable is removed, it is no longer defined for the session and its value cannot be referenced.Example
The following code creates a session variable and then removes it:
// First create the session variable. String ssvName = "ssVarUser"; ics.SetSSVar( ssvName, "Joe User" ); String sv = cs.GetSSVar
( ssvName ); // sv should now be the string "Joe User" // Then remove it. ics.RemoveSSVar
( ssvName ); sv = ics.GetSSVar
( ssvName );// sv should now be nullSee Also
GetSSVar , GetSSVars , SetSSVar
Home > Contents > Index > ![]()
FatWire JAVA Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.