- getAttribute
Returns the object bound with the specified name in this session, ornull if no
object is bound under
- setAttribute
Binds an object to this session, using the name specified. If an object of the
same name is already
- getId
Returns a string containing the unique identifier assigned to this session. The
identifier is assign
- removeAttribute
Removes the object bound with the specified name from this session. If the
session does not have an
- invalidate
Invalidates this session then unbinds any objects bound to it.
- getAttributeNames
Returns an Enumeration of String objects containing the names of all the objects
bound to this sessi
- getServletContext
Returns the ServletContext to which this session belongs.
- getMaxInactiveInterval
Returns the maximum time interval, in seconds, that the servlet container will
keep this session ope
- setMaxInactiveInterval
Specifies the time, in seconds, between client requests before the servlet
container will invalidate
- isNew
Returns true if the client does not yet know about the session or if the client
chooses not to join
- getLastAccessedTime
Returns the last time the client sent a request associated with this session, as
the number of milli
- getCreationTime
Returns the time when this session was created, measured in milliseconds since
midnight January 1, 1