Session Management

Items that need to be stored for session management

Key

Description

Type

sessionId

necessary to identify a specific user and allow that user access to X-Server services

long, alpha-numeric String

groupNumber

identifies a result set created by submitting a query with the /wiki/spaces/SLIB/pages/2921168923 command. This number is necessary for asynchronous searches, retrieving results and pagination

short, numeric String

numRecordsFound

the number of records found (can be very large)

int

numRecordsFetched

the number of records fetched

int

assetIterator

the AssetIterator (and contained Assets) associated with this search

org.osid.repository.AssetIterator

Issues

  • How do we know when a user's session is done? This is up to the consumer. In our case (using Servlets), we can choose when to invalidate a session: a timeout & when the search dialog is closed.
  • Will the metasearch engine support multiple users logged on at once? Yes.