The j2eeLib.setSessionAttr() system function uses a specified key to place a specified argument in session scope storage.
You can retrieve the value later by using the j2eeLib.getSessionAttr() system function. The value placed in the servlet's session scope storage is available for the duration of the client connection, or until you explicitly remove it with j2eeLib.clearSessionAttr() or j2eeLib.clearEGLSessionAttrs().
j2eeLib.setSessionAttr( key STRING in, argument ANY in)
In the generated Java™ output, values are passed as primitive Java objects (String, Integer, Decimal, and so on). Record variables are passed as record beans. Arrays are passed as an array list of the associated type.