wavelog/system/libraries/Session
HB9HIL 30f490637d
fix legacy polling for redis and memcached
in 2014, when codeigniter 3 was designed the overall performance wasn't that important so
redis and memcached session drivers used a polling mechanism to wait for the session lock to
be released. This polling happend once per second, which is a huge performance penalty for serialized
 AJAX requests of the same user. Since we live in the modern age now and performance is important,
 this commit replaces the polling with an interval of 100ms. The timeout is still 30s, so if a lock is
 not released within 30s the request will fail, but if the lock is released after 100ms the next request
 will pick it up immediately instead of waiting for a full second. If someone got issues because of 100ms polling to a
 redis or memcached server, I assume they have bigger problems than a few milliseconds of delay.
2026-08-12 15:11:52 +02:00
..
drivers fix legacy polling for redis and memcached 2026-08-12 15:11:52 +02:00
index.html Updated CodeIgniter to latest dev from Github 2021-11-06 20:05:55 +01:00
Session.php updated cookie logic to the syntax of post php 7.3 era and made samesite configurable, while http only is hardcoded to true 2026-03-16 09:45:17 +01:00
Session_driver.php Fixes Bug where cookie_samesite wasn't set 2023-10-26 05:30:25 +00:00
SessionHandlerInterface.php Codeignitor 3.1.6 and corresponding changes 2017-12-01 19:25:26 +00:00