Genero Web Client Basics / Session Variables and Cookies |
To create a session variable (when there is no existing function with the same name), a snippet-based rendering engine function is provided.
makeSessionVarIDID(varName, varValue)
<input type="hidden" gwc:attributes="name makeSessionVarIDID('var1','value1')" />
When you use this function, the GAS first builds a page with a session variable, however it is not created in the application context yet. When the form is submitted by the User Agent to the GAS, the engine creates the session variable.