summaryrefslogtreecommitdiffstats
path: root/system/libraries/Session
AgeCommit message (Collapse)AuthorFilesLines
2015-03-26Improve Session GC for files driverAndrey Andreev1-2/+4
Close #3701
2015-03-21[ci skip] Forbid DB session usage with cache_on enabledAndrey Andreev1-0/+4
2015-03-13[ci skip] Remove NS usage in CI_SessionAndrey Andreev1-1/+1
It was accidental
2015-03-12Throw an exception on invalid session driver configAndrey Andreev1-6/+2
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-15add <!DOCTYPE html>Tjoosten1-1/+2
2015-02-13Fix a typo in CI_SessionAndrey Andreev1-1/+1
2015-02-11Fix undefined variable notice in Session redis, memcached driversAndrey Andreev2-2/+2
2015-02-07Add 'sess_regenerate_destroy' settingAndrey Andreev1-1/+1
2015-02-05Use session cookie name in gc checkTom Atkinson1-2/+8
2015-02-05Merge pull request #3551 from gadelat/voidsAndrey Andreev4-4/+4
Fixed inconsistent return types
2015-02-05[ci skip] Fix a bug where session IDs are not regeneratedAndrey Andreev1-2/+1
Reported via the forums: http://forum.codeigniter.com/thread-996.html
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-02Fix a wrong var name in CI_Session::mark_as_temp()Andrey Andreev1-1/+1
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 filesvlakoff7-21/+0
2015-01-20[ci skip] Change some log messages' levelAndrey Andreev1-1/+1
'Class Loaded' type of messages flood log files when log_threshold is set to 2 (debug). They're now logged as 'info' level. This is manually applying PR #1528, which was created to do the same thing, but became outdated.
2015-01-19A minor header update, CI_Session_driver.Ivan Tcholakov1-1/+1
2015-01-19[ci skip] feature/session (#3073): Add missing method docblocksAndrey Andreev6-0/+267
2015-01-19feature/session (#3073): Add CI_Session:: as reference toAndrey Andreev1-0/+9
For backwards compatibility purposes.
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-14Fix #3473Andrey Andreev1-25/+5
I don't know why I thought of semaphores in the first place ...
2015-01-12[ci skip] Remove PHP version from license notices and bump yearAndrey Andreev6-18/+18
2015-01-12Merge branch 'develop' into feature/sessionAndrey Andreev1-3/+3
2015-01-09Bulk (mostly documentation) updateAndrey Andreev3-10/+10
- Remove PHP version from license notices - Bump year number in copyright notices - Recommend PHP 5.4 or newer to be used - Tell Travis-CI to test on PHP 5.3.0 instead of the latest 5.3 version Related: #3450
2014-12-09#3073 (feature/session): Allow custom drivers without the CI_ or MY_ prefixAndrey Andreev1-1/+12
2014-11-18Force ORDER BY usage with OFFSET-FETCH on SQL ServerAndrey Andreev1-1/+1
Close #3128 Close #3332 Close #3334 Close #3335
2014-11-12#3073 (feature/session): Validate incoming session IDsAndrey Andreev1-21/+8
2014-11-11[ci skip] Update system/libraries/Session/ with the MIT license noticeAndrey Andreev6-103/+169
2014-11-11Fix merge conflictsAndrey Andreev1-14/+25
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-04#3073 (feature/session): Fix a typo from ↵Andrey Andreev1-1/+1
ff37ffe164443e53b24d529f967a1bdf065bff3a
2014-11-04#3073 (feature/session): Don't regenerate IDs on AJAX requestsAndrey Andreev1-1/+5
2014-11-04#3073 (feature/session): Implement automatic ID regenerationAndrey Andreev1-2/+13
2014-11-02Fix write() for session_regenerate_id(TRUE)Shakespeare20001-5/+5
Switching the if statements, because destroy() already removed the lock.