BBjHttpSession (Deprecated)
BBjHttpSession is deprecated for BBj 21.00 and higher, and has been replaced by BBxWebSession.
Description
In BBj 12.00 and higher, BBjHttpSession provides session-specific storage for HTTP sessions.
Creation
BBjServletEvent > BBjHttpRequest > BBjHttpSession
A BBjHttpSession object is obtained with the following BBjHttpRequest method:
Return Value |
Method |
BBjHttpSession |
Methods of BBjHttpSession
Return Value |
Method |
string |
getAttribute(string name) |
long |
|
string |
getId() |
long |
|
int |
|
void |
|
boolean |
isNew() |
void |
removeAttribute(string name) |
void |
setAttribute(string name, string value) |
void |
setMaxInactiveInterval(int time) |
Remarks
None.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.