BBjspWebSession::removeAttribute (Deprecated)
The BBJSP system is deprecated. For new development, use BBxServlet.
Description
In BBj 16.0 and higher, this method removes the object bound with the specified name from this session.
Syntax
Return Value |
Method |
void |
removeAttribute(string name) |
Parameters
Variable |
Description |
name |
name of attribute to remove |
Return Value
None.
Remarks
Removes the object bound with the specified name from this BBjspWebSession. The example below shows removing the attribute called ‘MyAttribute’ from the session within a BBJSP BBJSP Servlet.
Example
This example demonstrates how this works in a BBJSP web-page
<html> |
This example demonstrates how this works in a BBJSP servlet
class public MyServlet |