- public class Sessions
- extends kllist
- implements javax.servlet.http.HttpSessionContext
Provides access to sessions. Implements HttpSessionContext.
There is only one Sessions object in a vqServer installation.
Sessions are common to all servers. Warning: Sessions and session
data may be saved to disk and removed from memory.
Don't try to retrieve sessions
from the list directly. Don't try to manipulate the list.
Use the supplied methods to retrieve sessions.
add(klentry, klentry)
-
getIds()
- Returns an enumeration of all of the session IDs.
getSession(String)
- Returns the session object with the specified session ID or null if
the specified session does not exist.
remove(klentry)
-
save(vqos)
- Saves the list in vqServer .cfg file format.
add
public void add(klentry newEntry,
klentry prevEntry)
- Overrides:
- add in class kllist
remove
public void remove(klentry theEntry)
- Overrides:
- remove in class kllist
save
public void save(vqos os) throws java.io.IOException
Saves the list in vqServer .cfg file format.
Doesn't save the session data.
Intended for vqServer's internal use only.
- Overrides:
- save in class kllist
getSession
public javax.servlet.http.HttpSession getSession(java.lang.String sessionid)
Returns the session object with the specified session ID or null if
the specified session does not exist.
getIds
public java.util.Enumeration getIds()
Returns an enumeration of all of the session IDs.