BBjHttpSession::removeAttribute (Deprecated)
BBjHttpSession::removeAttribute is deprecated for BBj 21.00 and higher, and has been replaced by BBxWebSession::removeAttribute.
Description
In BBj 12.00 and higher, this method removes the object bound with the specified name from this BBjHttpSession.
Syntax
| 
                                                         Return Value  | 
                                                    
                                                         Method  | 
                                                
| 
                                                         void  | 
                                                    
                                                         removeAttribute(string name)  | 
                                                
Parameters
| 
                                                         Parameter  | 
                                                    
                                                         Description  | 
                                                
| 
                                                         name  | 
                                                    
                                                         Specifies the name of the attribute.  | 
                                                
Return Value
None.
Remarks
Removes the object bound with the specified name from this BBjHttpSession. The example below shows removing the attribute called ‘MyAttribute’ from the session within a BBjServlet.
Example
                                                     | 
                                                
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.