Script functions reference > Script functions in alphabetical order > S > SessionGetVariable

SessionGetVariable
Syntax
SessionGetVariable(str_session_name, str_var_name);
str_session_name
str_var_name 
Description
Retrieves the value of a given variable in a given session.
Returns
A string containing the variable value.
Example
$var_string = sessiongetvariable("My_session", "My_var");
If the variable My_var has the value 12345, the variable var_string will be assigned the string value 12345.
OpenText StreamServe 5.6 Updated: 2013-03-01