vqServer API Class vq.server.Sessions

java.lang.Object
    |
    +----vq.utils.kllist
            |
            +----vq.server.Sessions
Contents
Package index
Package
API index

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.


Method Index

 o add(klentry, klentry)
 
 o getIds()
Returns an enumeration of all of the session IDs.
 o getSession(String)
Returns the session object with the specified session ID or null if the specified session does not exist.
 o remove(klentry)
 
 o save(vqos)
Saves the list in vqServer .cfg file format.

Method Detail

 o add
public void add(klentry newEntry,
                klentry prevEntry)
Overrides:
add in class kllist
 o remove
public void remove(klentry theEntry)
Overrides:
remove in class kllist
 o 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
 o 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.
 o getIds
public java.util.Enumeration getIds()
          Returns an enumeration of all of the session IDs.


vqServer API version 1.9. vqServer and the vqServer API are copyright © Steve Shering and vqSoft 1997-2000. Last updated 15 May 2000.

Contents
Package index
Package
API index