
BBjHttpSession
Creation Path
|
+-- BBjHttpRequest
|
+-- BBjHttpSession
Description
In BBj 12.0 and higher, BBjHttpSession provides session-specific storage for HTTP sessions.
Creation
A BBjHttpSession object is obtained with the following BBjHttpRequest method:
Return Value |
Method |
BBjHttpSession |
getSession() |
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.