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

SessionSetVariable
Syntax
SessionSetVariable(str_session_name, str_var_name, str_var_value);
str_session_name
str_var_name 
str_var_value 
Description
Specifies a value for a given variable in a given session. If the variable does not exist, it will be created.
Returns
1
0
Example
Specifies the value 12345 for the variable My_var in a running session called My_Session:
sessionsetvariable("My_Session", "My_var", "12345");
OpenText StreamServe 5.6 Updated: 2013-03-01