Home > Contents > Index >
ICS.GetVar
Returns the value of a Sites variable.
Syntax
public String GetVar(String name)Parameters
name
- The name of the variable.
Returns
The value of the variable. If the variable does not exist, returns
null
.Example
The following line retrieves the value of the Sites variable
username.
The retrieved value is stored in a variable namedsUserName.
String sUserName = cs.GetVar( "username" );See Also
GetCgi , GetVars , RemoveVar , SetVar
Home > Contents > Index > ![]()
Oracle JAVA Reference
Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.