summaryrefslogtreecommitdiffstats
path: root/system/libraries/Session/drivers/Session_database_driver.php
AgeCommit message (Collapse)AuthorFilesLines
2022-02-22[ci skip] SessionUpdateTimestampHandlerInterfaceAndrey Andreev1-2/+27
2022-01-05PHP 8.1 compatibility for sessions (ref #6078)Andrey Andreev1-2/+3
2020-07-09[ci skip] Merge pull request #5970 from sapics/fix/user-guide-urlAndrey Andreev1-1/+1
Fix user guide url
2019-04-23[ci skip] Fix #5703Andrey Andreev1-43/+42
2019-01-02Merge pull request #5662 from jim-parry/copyright2019Instructor, BCIT1-3/+3
Update copyright date to 2019
2018-08-07fix #5545Michiel Vugteveen1-1/+1
2018-06-12[ci skip] Prepare 3.1.9 releaseAndrey Andreev1-0/+26
2018-01-09[ci skip] Merge pull request #5376 from jim-parry/copyright-updateAndrey Andreev1-2/+2
Annual copyright update Conflicts resolved: system/libraries/Cache/drivers/Cache_apcu.php
2017-01-11[ci skip] Fix an error with DB sessions triggered with regenerate + destroyAndrey Andreev1-5/+5
2017-01-03Update copyright data to 2017Master Yoda1-2/+2
2016-11-29Fix #4923Andrey Andreev1-5/+5
2016-11-22Fix #4916Andrey Andreev1-2/+2
2016-04-01[ci skip] Add some 'debug' log messages to CI_SessionAndrey Andreev1-1/+4
2016-03-10Fix a logical error from last commitAndrey Andreev1-1/+1
2016-03-10Improve ext/session error messagesAndrey Andreev1-11/+10
2016-01-11[ci skip] Update ellislab.com links to https tooAndrey Andreev1-1/+1
2016-01-11[ci skip] Update codeigniter.com links to httpsAndrey Andreev1-2/+2
2016-01-11[ci skip] Bump year to 2016Andrey Andreev1-2/+2
2016-01-11Fix #4374Andrey Andreev1-0/+12
2015-12-15Fix logical errors from af849696d43f5c3b68962af1ae5096151a6d9f1aAndrey Andreev1-1/+1
2015-12-12[ci skip] Proper error handling for Sessions on PHP 5Andrey Andreev1-18/+31
This was actually a PHP bug, see https://wiki.php.net/rfc/session.user.return-value Also related: #4039
2015-10-18Fix #4179Andrey Andreev1-0/+4
2015-03-21[ci skip] Forbid DB session usage with cache_on enabledAndrey Andreev1-0/+4
2015-03-04Fix #3627: Keep timed locks for more than 5 secondsAndrey Andreev1-1/+1
Emulated locks for Redis and Memcached now have a TTL of 300 seconds (the default HTTP request timeout value on many environments) and 30 attemps, each separated by sleep(1), are made by the blocked request to try and obtain a lock if it has been freed. Additionaly, the blocking time for MySQL's locks, which are also timed, is also set to 300 seconds.
2015-02-19Remove 'autoinit' DB settingAndrey Andreev1-1/+1
It doesn't make sense to do a load->database() call but not connect to the database. IIRC there was more stuff in CI_DB_driver::initialize() at some point, so that was probably the reason why the setting existed in the first place. However, now it only results in users making invalid bug reports because they don't understand the feature ... Examples during just the past 2 weeks: #3571 #3601 #3607
2015-02-04Fixed inconsistent return typesGabriel Potkány1-1/+1
2015-01-29Fix #3529Andrey Andreev1-1/+1
Seems to be some really obscure PHP bug ...
2015-01-21Remove closing blocks at end of PHP filesvlakoff1-3/+0
2015-01-19[ci skip] feature/session (#3073): Add missing method docblocksAndrey Andreev1-0/+66
2015-01-19feature/session (#3073): Fix non-existing variable errorAndrey Andreev1-1/+1
2015-01-19feature/session (#3073): Only PostgreSQL data should be base64-encodedAndrey Andreev1-4/+15
2015-01-15feature/session (#3073): Third time is the charmAndrey Andreev1-1/+1
2015-01-15feature/session (#3073): Fix an error from previous patchAndrey Andreev1-5/+4
2015-01-15[ci skip] Add a note about sess_table_nameAndrey Andreev1-0/+1
2015-01-15feature/session (#3073): Improve PostgreSQL storageAndrey Andreev1-10/+18
Use a TEXT field with Base64-encoded data under PostgreSQL. Also, renamed a variable.
2015-01-12[ci skip] Remove PHP version from license notices and bump yearAndrey Andreev1-3/+3
2014-11-11[ci skip] Update system/libraries/Session/ with the MIT license noticeAndrey Andreev1-17/+28
2014-11-02Fix write() for session_regenerate_id(TRUE)Shakespeare20001-5/+5
Switching the if statements, because destroy() already removed the lock.
2014-10-31#3073 (feature/session): Fix session_regenerate_id() issuesAndrey Andreev1-0/+14
2014-10-06feature/session (#3073): Refactor configuration & fix cookie expiry timesAndrey Andreev1-18/+11
2014-09-16feature/session (#3073): Bug fixesAndrey Andreev1-1/+1
- CI_Session_database_driver::read() didn't pass the session ID to _get_lock() - CI_Session::unset_userdata() used a wrong key for unsetting when an array is passed to it
2014-08-27feature/session (#3073): Rework locking mechanism & add Redis driverAndrey Andreev1-69/+35
2014-06-02Fix Session_database_driver lockingAndrey Andreev1-7/+9
Ref: #3073
2014-05-31Initial version of new Session libraryAndrey Andreev1-0/+317