Genero Web Client Basics / Session Variables and Cookies |
To create a session variable, a CSF function is provided.
gwc.dialog.setVariable(varName, varValue)
<input type="button" onclick=" gwc.dialog.setVariable('var1','value1')" />
When you use this function, the CSF submits the variable to the GAS. The session variable is immediately created in the application context.