summaryrefslogtreecommitdiffstats
path: root/system/libraries/Session/drivers
AgeCommit message (Collapse)AuthorFilesLines
2015-03-21[ci skip] Forbid DB session usage with cache_on enabledAndrey Andreev1-0/+4
2015-03-07Housekeeping.Master Yoda1-1/+1
Corrected typo in user guide for sessions, corrected misepelled key in calendar language file, added two links & updated wording on the repo readme. Signed-off-by:Master Yoda <jim_parry@bcit.ca>
2015-03-04Fix #3627: Keep timed locks for more than 5 secondsAndrey Andreev3-49/+23
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-23[ci skip] Fix #3618Andrey Andreev1-1/+1
2015-02-21Fix #3610Andrey Andreev1-1/+3
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-17Finishing PR #3596 <!DOCTYPE html>Ivan Tcholakov1-1/+2
2015-02-11Fix undefined variable notice in Session redis, memcached driversAndrey Andreev2-2/+2
2015-02-05Use session cookie name in gc checkTom Atkinson1-2/+8
2015-02-04Revert "Fixed return values types in session drivers"Gabriel Potkány3-5/+5
This reverts commit 5fa4b7266d7c61dc2482e529bd6afb9a67edadb7.
2015-02-04Fixed return values types in session driversGabriel Potkány3-5/+5
2015-02-04Fixed inconsistent return typesGabriel Potkány4-4/+4
2015-02-02Err ... rAndrey Andreev1-1/+1
2015-02-02Throw exception if 'files' session path is invalidAndrey Andreev1-4/+10
2015-01-29Fix #3529Andrey Andreev1-1/+1
Seems to be some really obscure PHP bug ...
2015-01-21Remove closing blocks at end of PHP filesvlakoff4-12/+0
2015-01-19[ci skip] feature/session (#3073): Add missing method docblocksAndrey Andreev4-0/+249
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 Andreev4-12/+12
2014-11-11[ci skip] Update system/libraries/Session/ with the MIT license noticeAndrey Andreev4-69/+113
2014-11-10#3073 (feature/session): Enable Memcached::OPT_BINARY_PROTOCOLAndrey Andreev1-0/+1
Otherwise Memcached::touch() doesn't work.
2014-11-10#3073 (feature/session): (Try to) fix memcached driverAndrey Andreev1-1/+1
2014-11-02Fix write() for session_regenerate_id(TRUE)Shakespeare20001-5/+5
Switching the if statements, because destroy() already removed the lock.
2014-10-31Merge branch 'feature/session' of github.com:bcit-ci/CodeIgniter into ↵Andrey Andreev1-1/+1
feature/session
2014-10-31#3073 (feature/session): Fix session_regenerate_id() issuesAndrey Andreev4-27/+85
2014-10-27Revert "#3073 (feature/session): Fix a GC issue with the files driver"Andrey Andreev1-1/+1
This reverts commit c5519ce166943b744bbea75a87831132aced4247.
2014-10-26#3073 (feature/session): Fix a GC issue with the files driverAndrey Andreev1-1/+1
2014-10-06feature/session (#3073): Refactor configuration & fix cookie expiry timesAndrey Andreev4-63/+42
2014-09-17feature/session (#3073): Redis driver save_path param parsing fixesAndrey Andreev1-1/+2
Close #3240
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-09-02feature/session (#3073): Add Memcached session driverAndrey Andreev1-0/+287
2014-08-27feature/session (#3073): Fix an E_WARNING in CI_Session_redis_driverAndrey Andreev1-1/+1
2014-08-27feature/session (#3073): Add Redis session driverAndrey Andreev1-0/+311
Seems like I forgot to 'git add' it in previous commit.
2014-08-27feature/session (#3073): Rework locking mechanism & add Redis driverAndrey Andreev1-69/+35
2014-08-11Added file path for file GCMarcos SF Filho1-1/+1
2014-06-03#3073: Fix an undefined variable errorAndrey Andreev1-9/+12
2014-06-02Fix Session_database_driver lockingAndrey Andreev1-7/+9
Ref: #3073
2014-05-31Initial version of new Session libraryAndrey Andreev4-1051/+593
2014-02-112013 > 2014darwinel2-2/+2
Update copyright notices from 2013 to 2014. And update one calendar example in user_guide from year 2013/2014 to 2014/2015.
2014-02-06Merge changes from developAndrey Andreev1-1/+9
2014-02-06Make CI_Session's HMAC comparison time-attack-safeAndrey Andreev1-1/+9
2014-02-05Integrate CI_Encryption into the frameworkAndrey Andreev1-25/+30
TODO: Add documentation in user_guide_src/source/libraries/encryption.rst
2014-01-08Fix 2 errors caused by recent commitsAndrey Andreev1-1/+1
2014-01-08Make newline standardization configurableAndrey Andreev1-1/+24
Added ['standardize_newlines'] Also altered the Session cookie driver, which experienced issues with this feature due to it's HMAC verification failing after the Input class alters newlines in non-encrypted session cookies. Supersedes PR #2470
2013-12-23Remove _serialize() and _unserialize() methodsJordan Eldredge1-34/+4
Since removing the unneeded manual escaping code, there is no-longer any reason to have the serialization functions abstracted. This also allows us to only suppress errors when unserializing cookie data, and only trim when we are unserializing database data (see commit 6b8312).