java.lang.Objectorg.apache.cocoon.environment.http.HttpSession
All Implemented Interfaces:
Session
Cocoon uses this interface to create a session between a client and the "cocoon server". The session persists for a specified time period, across more than one connection or page request from the user. A session usually corresponds to one user, who may visit a site many times. The server can maintain a session in many ways such as using cookies or rewriting URLs.
This interface allows Cocoon to
Session information is scoped only to the current context
(Context), so information stored in one context
will not be directly visible in another.
< - a href="mailto:cziegeler@apache.org">Carsten ZiegelerCVS - $Id: HttpSession.java 433543 2006-08-22 06:22:54Z crossley $| Field Summary | ||
|---|---|---|
| HttpSession | wrappedSession | |
| Constructor: |
|---|
|
| Method from org.apache.cocoon.environment.http.HttpSession Summary: |
|---|
| getAttribute, getAttributeNames, getCreationTime, getId, getLastAccessedTime, getMaxInactiveInterval, invalidate, isNew, removeAttribute, setAttribute, setMaxInactiveInterval |
| Methods from java.lang.Object: |
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method from org.apache.cocoon.environment.http.HttpSession Detail: |
|---|
null if no object is bound under the name. |
Enumeration of String objects
containing the names of all the objects bound to this session. |
|
|
Actions that your application takes, such as getting or setting a value associated with the session, do not affect the access time. |
setMaxInactiveInterval method.
A negative time indicates the session should never timeout. |
|
true if the client does not yet know about the
session or if the client chooses not to join the session. For
example, if the server used only cookie-based sessions, and
the client had disabled the use of cookies, then a session would
be new on each request. |
|
|
|