DB_SessionSession Class
Located in /libraries/DB_Session.php (line 16)
mixed
$cookie_sent
= FALSE (line 26)
mixed
$encryption
= TRUE (line 19)
mixed
$flash_key
= 'flash' (line 28)
mixed
$gc_probability
= 5 (line 25)
mixed
$now
(line 18)
mixed
$object
(line 27)
mixed
$session_table
= FALSE (line 21)
mixed
$sess_cookie
= 'ci_session' (line 23)
mixed
$sess_length
= 7200 (line 22)
mixed
$userdata
= array() (line 24)
mixed
$use_database
= FALSE (line 20)
Constructor DB_Session (line 37)
Session Constructor
The constructor runs the session routines automatically whenever the class is instantiated.
flashdata (line 453)
Returns "flash" data for the given key.
keep_flashdata (line 441)
Keeps existing "flash" data available to next request.
sess_create (line 257)
Create a new session
sess_destroy (line 315)
Destroy the current session
sess_gc (line 339)
Garbage collection
This deletes expired session rows from database if the probability percentage is met
sess_read (line 161)
Fetch the current session data if it exists
sess_run (line 53)
Run the session routines
sess_send_cookie (line 233)
Write the session cookie
sess_update (line 287)
Update an existing session
set_flashdata (line 432)
Sets "flash" data which will be available only in next request (then it will be deleted from session). You can use it to implement "Save succeeded" messages after redirect.
set_userdata (line 380)
Add or change data in the "userdata" array
unset_userdata (line 407)
Delete a session variable from the "userdata" array
userdata (line 363)
Fetch a specific item form the session array
_flashdata_mark (line 462)
PRIVATE: Internal method - marks "flash" session attributes as 'old'
_flashdata_sweep (line 480)
PRIVATE: Internal method - removes "flash" session marked as 'old'
Documentation generated on Mon, 15 Sep 2008 12:57:44 +0100 by phpDocumentor 1.4.2