...
Code Block |
---|
<% const { customerNumber, customerName } = await call("get session data", { sessionId }); %> The current customer number is: <%- customerNumber %>. The customer name is: <%=- customerName %>. |
In this instance, customerNumber
and customerName
are retrieved from server-side data by calling the "get session data"
routine, while sessionId
is an Instruction Variable sourced from the browser. This method effectively marries server-side capabilities with client-side interactions, allowing for a seamless and secure use of your data.