/session-defs.php| Class | Description |
|---|---|
session
|
THE SESSION CLASS A class to manage user sessions. A session is simply a thing which contains information about a user who has logged on to the system, so in fact the session is just an extension of a user. |
LOGIN_BY_AUTHCODE = 4
(line 103)
Login by using authorisation code (MD5 string usually)
LOGIN_BY_GUEST = 1
(line 97)
Login by using guest account
LOGIN_BY_IP = 2
(line 99)
Login by remote IP address match
LOGIN_BY_PASSWD = 3
(line 101)
Login by standard username/password
LOGIN_UNKNOWN =
(line 95)
No known login has been achieved
SESS_1_DAY = SECS_1_DAY
(line 59)
Session lasts for 24 hours
SESS_1_HOUR = SECS_1_HOUR
(line 67)
Session lasts for 1 hour
SESS_1_MONTH = SECS_1_MONTH
(line 55)
Session lasts for 1 month
SESS_1_WEEK = SECS_1_WEEK
(line 57)
Session lasts for 1 week
SESS_1_YEAR = SECS_1_YEAR
(line 53)
Session lasts for 1 year
SESS_4_HOURS = SECS_4_HOURS
(line 65)
Session lasts for 4 hours
SESS_8_HOURS = SECS_8_HOURS
(line 63)
Session lasts for 8 hours
SESS_12_HOURS = SECS_12_HOURS
(line 61)
Session lasts for 12 hours
SESS_20_MINS = SECS_20_MINS
(line 69)
Session lasts for 20 minutes
SESS_ALLOW =
(line 79)
Login limit exceeded: Allow, assume app. takes action
SESS_ALLOW_CULL = 1
(line 81)
Login limit exceeded: Allow session, cull oldest
SESS_BLOCK_GUEST = 5
(line 89)
Login limit exceeded: Block session, login as guest instead
SESS_BLOCK_MSG = 2
(line 83)
Login limit exceeded: Block session, nice message
SESS_BLOCK_REDIRECT = 4
(line 87)
Login limit exceeded: Block session, redirect to URL
SESS_BLOCK_SILENT = 3
(line 85)
Login limit exceeded: Block session, no message
SESS_BROWSER_LIFETIME = -1
(line 71)
Session lasts as long as user browser is open
SESS_DATABASE_BACKED = true
(line 41)
Session is backed by a database connection
SESS_FOREVER = SECS_10_YEARS
(line 51)
Session lasts forever.. well, 10 years is near enough.
SESS_STANDALONE = false
(line 43)
Session is standalone, no database
SESS_ZERO_LIFETIME =
(line 73)
Session has no lifetime, immediate expiry
Documentation generated by phpDocumentor 1.3.0RC3