summaryrefslogtreecommitdiffstats
path: root/system/libraries/Session/drivers/Session_redis_driver.php
AgeCommit message (Collapse)AuthorFilesLines
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-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 Andreev1-1/+1
2016-01-11[ci skip] Update ellislab.com links to https tooAndrey Andreev1-1/+1
2016-01-11Merge branch '3.0-stable' into developAndrey Andreev1-2/+2
2016-01-11[ci skip] Update codeigniter.com links to httpsAndrey Andreev1-2/+2
2016-01-11Merge branch '3.0-stable' into developAndrey Andreev1-2/+2
2016-01-11[ci skip] Bump year to 2016Andrey Andreev1-2/+2
2016-01-11Merge branch '3.0-stable' into developAndrey Andreev1-2/+5
Resolved conflicts: system/database/drivers/mysql/mysql_driver.php system/database/drivers/mysqli/mysqli_driver.php
2016-01-07Fix #4362Andrey Andreev1-1/+4
2015-12-15Fix logical errors from af849696d43f5c3b68962af1ae5096151a6d9f1aAndrey Andreev1-1/+1
2015-12-14Merge branch '3.0-stable' into developAndrey Andreev1-16/+19
2015-12-12[ci skip] Proper error handling for Sessions on PHP 5Andrey Andreev1-16/+19
This was actually a PHP bug, see https://wiki.php.net/rfc/session.user.return-value Also related: #4039
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-04-30Fix #3823Andrey Andreev1-1/+1
2015-03-04Fix #3627: Keep timed locks for more than 5 secondsAndrey Andreev1-27/+13
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-11Fix undefined variable notice in Session redis, memcached driversAndrey Andreev1-1/+1
2015-02-04Revert "Fixed return values types in session drivers"Gabriel Potkány1-1/+1
This reverts commit 5fa4b7266d7c61dc2482e529bd6afb9a67edadb7.
2015-02-04Fixed return values types in session driversGabriel Potkány1-1/+1
2015-02-04Fixed inconsistent return typesGabriel Potkány1-1/+1
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-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-10-31#3073 (feature/session): Fix session_regenerate_id() issuesAndrey Andreev1-8/+24
2014-10-06feature/session (#3073): Refactor configuration & fix cookie expiry timesAndrey Andreev1-19/+12
2014-09-17feature/session (#3073): Redis driver save_path param parsing fixesAndrey Andreev1-1/+2
Close #3240
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.