summaryrefslogtreecommitdiffstats
path: root/system/libraries/Session
AgeCommit message (Collapse)AuthorFilesLines
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.
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 Andreev5-27/+95
2014-10-27[ci skip] Switch to MIT license; close #3293Andrey Andreev3-42/+75
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): set_flashdata() crapAndrey Andreev1-1/+1
2014-10-26#3073 (feature/session): Fix a GC issue with the files driverAndrey Andreev1-1/+1
2014-10-06feature/session (#3073): Fix a variable nameAndrey Andreev1-1/+1
2014-10-06feature/session (#3073): Refactor configuration & fix cookie expiry timesAndrey Andreev6-203/+169
2014-09-17feature/session (#3073): Redis driver save_path param parsing fixesAndrey Andreev1-1/+2
Close #3240
2014-09-16feature/session (#3073): Bug fixesAndrey Andreev2-2/+2
- 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 Andreev2-70/+98
2014-08-11Added file path for file GCMarcos SF Filho1-1/+1
2014-06-11[ci skip] A tiny optimizationAndrey Andreev1-5/+5
2014-06-04#3073: Fix temp/flash data gettersAndrey Andreev1-9/+9
2014-06-03#3073: Fix an undefined variable errorAndrey Andreev1-9/+12
2014-06-02#3073: BC workarounds for sess_use_database, sess_expire_on_closeAndrey Andreev2-0/+11
2014-06-02Fix Session_database_driver lockingAndrey Andreev1-7/+9
Ref: #3073
2014-05-31[ci skip] A quick and dirty fix for allowing 'sess_driver' configurationAndrey Andreev1-1/+5
2014-05-31Initial version of new Session libraryAndrey Andreev7-1488/+1255
2014-02-112013 > 2014darwinel3-3/+3
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-24Righting a wrong in the Session libraryAndrey Andreev1-40/+49
- Change userdata(), flashdata(), tempdata() to return all the respective data when no parameter is passed. - Revert the addition of all_flashdata(). - Deprecate all_userdata(). - Fix related changelog entries that were all inconsistent.
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
2014-01-06Make CI_Session's set_userdata(), set_flashdata(), set_tempdata(), ↵Andrey Andreev1-5/+5
unset_userdata() and unset_flashdata()'s first parameter mandatory
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).
2013-12-21Remove unneeded manual escaping of session dataJordan Eldredge1-60/+3
2013-12-13Merge pull request #2764 from refringe/feature/cookie_sessionAndrey Andreev1-1/+1
Issue #2763 - Fixes Session GC Probability Calculation
2013-12-13Issue #2763 - Fixes Session GC Probability CalculationTyler Brownell1-1/+1
This should resolve issue #2763 where the cookie session garbage collection was running every request.
2013-11-12Deprecate CI_Input::is_cli_request() and add common function is_cli() to ↵Andrey Andreev1-4/+4
replace it Calls to this function are often needed before the Input library is available
2013-07-31Optimize CI_Session::__construct() routines and make driver validity check ↵Andrey Andreev1-21/+18
stricter
2013-07-17Cherry-picking some changes from PR #2425:Andrey Andreev2-1/+14
- Session events logging (debug) - Bug fix for OCI8 method stored_procedure()
2013-03-30Some cleanup related to mt_rand()vlakoff1-2/+1
- min and max values are 0 and mt_getrandmax() by default - remove useless mt_srand() seed calls
2013-03-02Fix Session cookie driver storing untrimmed user agent string in the ↵Daniel Robbins1-1/+1
database causing set_userdata() calls to fail when $config['sess_match_useragent'] = TRUE Signed-off-by: Daniel Robbins <github@danieljrobbins.com>
2013-02-19Issue #2086 Session_cookie's _update_db not guaranteed to updateDionysis Arvanitis1-0/+3
2013-02-08[ci skip] Add a missing spaceAndrey Andreev1-1/+1
2013-01-01[ci skip] Happy new yearAndrey Andreev3-3/+3
2012-12-17Fix #2074Andrey Andreev1-1/+1
2012-11-26Manually implement PR #2033Andrey Andreev1-1/+1
Check for an empty encryption_key shouldn't use strict comparison.