Programmer's Guide > Interfaces > CMSSession interface > setAttribute method
  
setAttribute method
Sets the value of a session attribute. The attribute names supported by this method will vary with each adapter.
setAttribute(attribute, value)
Parameters
Stringattribute
Specifies the attribute name.
Stringvalue
Specifies the attribute value.
Returns
void
Throws
CMSException
Raised for any error.