summaryrefslogtreecommitdiffstats
path: root/system/libraries/Session/drivers
AgeCommit message (Collapse)AuthorFilesLines
2016-03-11Merge branch '3.0-stable' into developAndrey Andreev3-44/+54
Resolved conflicts: system/core/CodeIgniter.php user_guide_src/source/changelog.rst user_guide_src/source/conf.py user_guide_src/source/installation/downloads.rst user_guide_src/source/installation/upgrading.rst
2016-03-11Revert an unintended change from a027a7fd0d770cec0d71e888d8b6f4aa1568ce9fAndrey Andreev1-1/+1
2016-03-10Fix a logical error from last commitAndrey Andreev1-1/+1
2016-03-10Improve ext/session error messagesAndrey Andreev3-32/+31
2016-02-29[ci skip] Apply #4491 to Memcached driverAndrey Andreev1-1/+1
2016-02-29Merge pull request #4491 from roastduck/developAndrey Andreev1-1/+1
[ci skip] Clean current lock key on close() in redis session driver
2016-02-29fix typo__RD1-1/+1
2016-02-29delete lock directly -> call _release_lock()__RD1-2/+1
2016-02-28clean current lock key in redis session driverroastduck1-0/+1
set $this->_lock_key to NULL after close Signed-off-by: roastduck <beantang.tang@gmail.com>
2016-02-13[ci skip] Fix Memcached replace() result code checks in CI_SessionAndrey Andreev1-2/+2
Related #3919
2016-02-10Fix a bug where CI_Session_memcached_driver doesn't write empty sessionsAndrey Andreev1-4/+7
Related: #3919
2016-02-10[ci skip] Fix Memcached session lock handling and error checking around ↵Andrey Andreev1-9/+17
replace() usage
2016-02-05Merge pull request #4424 from jonty-comp/developAndrey Andreev1-3/+16
[ci skip] Fix PHP session_write_close() warning when writing a new session to Redis
2016-02-05Fix regression on PHP7 when regenerating the session (#4362)Jonty Sewell1-1/+3
2016-02-05Setting the flag to FALSE is unnecessary since it defaults to FALSE, ↵Jonty Sewell1-10/+1
therefore this block of code can be reduced to a single statement Signed-off-by: Jonty Sewell <jontysewell@gmail.com>
2016-02-05Set the _key_exists flag to TRUE when the key does in fact exist. Set it to ↵Jonty Sewell1-2/+7
FALSE if the ID is being regenerated, and set it to TRUE once it's been written. Signed-off-by: Jonty Sewell <jontysewell@gmail.com>
2016-02-05Add a flag to determine whether the redis key currently exists, and if not, ↵Jonty Sewell1-2/+17
force creation of it at write-time Signed-off-by: Jonty Sewell <jontysewell@gmail.com>
2016-02-05Revert previous changes - fixing the source of the problem rather than ↵Jonty Sewell1-9/+3
working around it Signed-off-by: Jonty Sewell <jontysewell@gmail.com>
2016-02-03If attempting to write an empty session to Redis, a key will not actually be ↵Jonty Sewell1-3/+9
created, so when the driver tries to set the expiration timeout on the key, 0 is returned, triggering a warning from session_write_close Signed-off-by: Jonty Sewell <jontysewell@gmail.com>
2016-01-11[ci skip] Merge branch '3.0-stable' into developAndrey Andreev4-4/+4
2016-01-11[ci skip] Update ellislab.com links to https tooAndrey Andreev4-4/+4
2016-01-11Merge branch '3.0-stable' into developAndrey Andreev4-8/+8
2016-01-11[ci skip] Update codeigniter.com links to httpsAndrey Andreev4-8/+8
2016-01-11Merge branch '3.0-stable' into developAndrey Andreev4-8/+8
2016-01-11[ci skip] Bump year to 2016Andrey Andreev4-8/+8
2016-01-11Merge branch '3.0-stable' into developAndrey Andreev4-7/+25
Resolved conflicts: system/database/drivers/mysql/mysql_driver.php system/database/drivers/mysqli/mysqli_driver.php
2016-01-11Fix #4374Andrey Andreev1-0/+12
2016-01-07Fix #4362Andrey Andreev2-2/+8
2015-12-15Fix logical errors from af849696d43f5c3b68962af1ae5096151a6d9f1aAndrey Andreev3-4/+4
2015-12-15Really fix #4039Andrey Andreev1-1/+1
A typo from 8df6efd402180a6361b4dd619f5535d6c2bed334
2015-12-14Merge branch '3.0-stable' into developAndrey Andreev4-77/+115
2015-12-12[ci skip] Proper error handling for Sessions on PHP 5Andrey Andreev4-78/+110
This was actually a PHP bug, see https://wiki.php.net/rfc/session.user.return-value Also related: #4039
2015-12-11Fix #4039Andrey Andreev1-0/+6
2015-11-16[ci skip] Polish changes from PR #4240Andrey Andreev1-38/+33
2015-11-16do not try to auth/select db on redis connect failurekemeng1-11/+17
2015-11-16 Spaces around ! . Changelog entry in 3.1.0.kemeng1-2/+2
2015-11-16fixed a typo in unix socket parameter; change coding style to match CI; fix ↵kemeng1-6/+10
an elseif
2015-11-14add unix socket support to redis session driversskaje1-1/+19
2015-10-18Fix #4179Andrey Andreev1-0/+4
2015-04-30Fix #3823Andrey Andreev2-2/+2
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-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