HttpSession Class

No description available.

Constructors

protected HttpSession( javax.servlet.http.HttpSession session, javaxt.http.servlet.ServletContext context )

Methods

getAttribute( String name ) returns Object
Returns the object bound with the specified name in this session, or null if no object is bound under the name.
getCreationTime( ) returns long
Returns the time when this session was created, measured in milliseconds since midnight January 1, 1970 GMT.
getID( ) returns String
Returns a string containing the unique identifier assigned to this session.
getLastAccessedTime( ) returns long
Returns the time when this session was last accessed, measured in milliseconds since midnight January 1, 1970 GMT.
getServletContext( ) returns javaxt.http.servlet.ServletContext
Returns the ServletContext.
invalidate( ) returns void
Invalidates this session then unbinds any objects bound to it.
isNew( ) returns boolean
Returns true if the client does not yet know about the session or if the server has not accessed the session.
removeAttribute( String name ) returns void
Removes the attribute with the given name from the servlet context.
setAttribute( String name, Object value ) returns void
Binds an object to this session, using the name specified.
toString( ) returns String