Binds the given value to the PortletSession attribute that is specified by the given key within the specified session scope.
portalLib.setPortletSessionAttr(
key STRING in,
value Any in,
scope SessionScopeKind)
myRec EmployeeRecord;
portalLib.setPortletSessionAttr("rec", myRec, SessionScopeKind.portletScope);