Click or drag to resize
SecureDatabaseCookieSessionManagerFactory

ISessionManagerFactory working in the following way:

  • stores the session data in a database table

  • uses GUIDs as session identifiers, to prevent session identifier robbery

  • uses a cookie to transfer and maintain the session identifier

Attributes and elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute

Description

cookieExpiration

expiration time for the session, decimal in days, in invariant format. The expiration occurs if more than cookieExpiration days elapses between two page views. Default: 0.25

sessionIdField

name of the column in the table storing page views used to store the session id value. Default : SESSIONID

pagelueTable

name of the table containing page views. Default: PAGELUE

maxUrlLength

the query string is stored in the page view table; this parameter limits the number of characters stored. Default: 1000

sessionTable

name of the table containing sessions. Default: SESSIONS

userIdField

name of the column in the session table containing the user id for the session. Default: INTERNAUTEID

userTable

name of the table containing the users, used only if a user is to be automatically created if no user is found in the session

dateCreationField

name of the column containing the creation date of the session. Default: DATE_CREATION

dateMajField

name of the column containing the update date of the session. Default: DATE_MAJ

persistUser

whether to send the user id in the cookie. Default: false

persistCookie

whether to request the web browser to store the cookie after the web browser stops. Default: true

createUser

whether to create automatically a user in the userTable table if no user is found in the session. Default: false

cookieExpirationDate

if the cookie is persisted, determines its expiration date, in invariant date format (which is the american date format, mm/dd/yyyy). Default: 04/29/2037

cookieName

name of the cookie.

Child elements

None.

Parent elements

Element

Description

configuration

Configuration root